Next pair to compare
aimrank_get_matchupGet the next pair of entities to evaluate.
Strategies: adaptive (default), swiss, balanced, random, uncertainty, explore, information_gain, escalation, audit -- the same selection the web app uses. Left/right order is randomised, and the pair comes with no rating or predicted winner (match_quality is closeness only), so show it to the voter as-is.
escalation is the human review queue: only pairs an AI judge could
not be trusted on (it tied, contradicted itself when A and B were
swapped, disagreed with another judge, or was unsure), until enough
people have voted on each. adaptive already mixes them in.
escalated: true marks such a pair and never says which side the
judge leaned to. A vote submitted with an API key resolves an
escalation only when the ranking's owner turned on
escalation_count_api_votes (aimrank_set_quality_config).
audit is the audit slice: a hash-chosen random sample of the pairs
an AI judge labelled, so that people's choices on it measure the
judge fairly (escalated pairs alone would show it at its worst).
adaptive mixes these in too. The pair is not marked and never says
which side the judge chose.
api_key is optional on the public endpoint; on /mcp/mcp a missing key is refused.
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": {
"ranking_id": "<ranking_id>"
},
"name": "aimrank_get_matchup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| strategy | No | adaptive | |
| ranking_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |