Example scenarios Tool calls
Example scenario — illustrative numbers
Tool-calling assistant for an internal app
Turn staff requests into the right call against your internal tools — correct function, correct arguments, and a question back when something is missing.
The problem
An operations team built a chat assistant over its internal tools: position lookups, settlement status, report generation. Every message goes to a general-purpose AI API that picks a tool and fills in arguments.
It mostly works, but it is slow to respond, costs more each month as usage grows, and occasionally invents argument values. The team only uses a dozen tools, so a specialist model is a good fit.
Input and target output
Tools: get_positions(book, as_of), settlement_status(trade_id), run_report(name, date_from, date_to, format)
User: can you pull the failed-settlements report for last week as a csv? today is Thu 19 Nov 2026
{
"tool_calls": [
{
"name": "run_report",
"arguments": {
"name": "failed_settlements",
"date_from": "2026-11-09",
"date_to": "2026-11-13",
"format": "csv"
}
}
],
"ask_user": null
}
The scorer rubric
Each attempt is graded from 0 to 1. The points below add up to 1.00.
- 0.35Chooses the right tool (or no tool)
- 0.30Arguments are valid and correct, dates resolved properly
- 0.20Asks a clarifying question instead of inventing a missing value
- 0.15Never calls a tool that is not in the list
Before and after
Example scenario — illustrative numbers
| Metric | General-purpose AI API | OraCommand model |
|---|---|---|
| Rubric score (held-out set) | 0.87 | 0.92 |
| Median latency per request | 1.9 s | 0.3 s |
| Monthly running cost | $3,300 | $500 |
| Where requests go | Third-party API | Your own servers |
| Who owns the model | Rented | You do |