Skip to main content
Glama

Predict a matchup winner

aimrank_predict_matchup_winner
Read-onlyIdempotent

Predict a matchup's winner from the current ratings -- for analysis.

Uses Glicko-2 win probability under the same formula matchmaking uses internally. Use it to analyse a ranking, or AFTER a vote to compare the cast vote with what the ratings expected. Never show a prediction to a voter before they vote: a voter who sees who "should" win anchors on it, and the preference data stops being independent. Does not record a vote — read-only.

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>",
      "entity_a_id": "<entity_a_id>",
      "entity_b_id": "<entity_b_id>"
    },
    "name": "aimrank_predict_matchup_winner"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNo
ranking_idYes
entity_a_idYes
entity_b_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnly/idempotent annotations, it discloses the scoring formula, that no vote is recorded, and a concrete auth behavior — api_key optional on the public endpoint but refused on /mcp/mcp. The anchoring-risk caveat is a real behavioral constraint an agent would otherwise violate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then usage guidance, then the auth note, and the line breaks keep each concern separate. The anchoring explanation runs slightly long, but it earns its place by justifying the prohibition rather than just stating it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be described, and the definition covers purpose, timing, side-effect freedom, and auth. What's missing is entity/ranking parameter guidance, which matters for a three-required-param tool with no schema descriptions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it only really explains api_key (optional vs. required by endpoint). ranking_id, entity_a_id and entity_b_id are left to their names, so the definition does not fully compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence gives a specific verb and resource ("Predict a matchup's winner from the current ratings") plus the underlying method (Glicko-2 win probability). It also rules out a competing reading by stating it does not record a vote, though it never distinguishes itself from the sibling aimrank_predict, which an agent could reasonably confuse with it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit positive contexts (analyse a ranking, AFTER a vote to compare the cast vote with expectation) and an explicit prohibition (never show a prediction to a voter before they vote), with the reason why. This is as clear a when/when-not signal as a definition can carry.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources