Skip to main content
Glama

Elo win probability

elo_win_probability
Read-onlyIdempotent

Expected score (win probability counting draws as half) for two players from their Elo ratings.

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": {
      "rating_a": "<rating_a>",
      "rating_b": "<rating_b>"
    },
    "name": "elo_win_probability"
  }
}

Input Schema

NameRequiredDescriptionDefault
rating_aYesRating of player A.
rating_bYesRating of player B.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds the draw-as-half convention, which is real behavioral context beyond the annotations, but it leaves ambiguous whether the result is player A's score alone or a pair for both players, and gives no output range (0-1).

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?

A single front-loaded sentence that defines the result and qualifies it inline; the parenthetical earns its place by resolving the draw convention. No wasted wording, though the phrasing 'for two players' is slightly vague about whether one value or two are returned.

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

Completeness3/5

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

For a trivial two-parameter math tool with no output schema, the description covers the core computation and draw treatment. It is still incomplete on the return value — direction of the probability and its range — which matters precisely because there is no output schema to explain it.

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 100% and both parameters are simply documented as the ratings of player A and B. The description adds no further semantics (valid range, integer vs float, scale) beyond what the schema already provides, so the baseline 3 applies.

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?

States a specific computation — expected score / win probability from two Elo ratings — with the useful clarification that draws count as half. An agent can distinguish it from elo_rating_change by the output (probability vs. rating delta), though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the description makes clear it is a pure two-player calculation, so an agent can infer 'use before/independent of a match to get win odds'. There is no explicit guidance on when to prefer it over elo_rating_change or any prerequisite mentioned.

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.