Record outcome
record_outcomeFree. After you call the pick, report success, latency_ms, and cost_usd. Only a recommendation_id issued to this API key is accepted. The next rank uses this key's history, not a public leaderboard.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"recommendation_id": "<recommendation_id>",
"candidate_id": "<candidate_id>",
"success": "<success>",
"latency_ms": "<latency_ms>",
"cost_usd": "<cost_usd>"
},
"name": "record_outcome"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | True when the call finished the task. | |
| cost_usd | Yes | USD you paid that MCP. | |
| latency_ms | Yes | Call latency in milliseconds. | |
| candidate_id | Yes | Candidate id you actually called. | |
| recommendation_id | Yes | recommendation_id from rank_tools_for_task. |