Evaluate the agent on a golden set
evaluateRun a golden set of reference SQL questions against a database to measure answer accuracy, diagnose each failure, and report the agent path and model cost.
Instructions
Run a golden set of questions with hand-written reference SQL against this database and report accuracy, every failure with its reason, the tool path taken and the cost. Pass the path to a YAML file of cases; omit it to use the one bundled with the sample database. Each case runs the full agent loop, so this calls the model once per step of every case and is not free — use only to run a single case first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "evaluate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | ||
| golden_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||