Skip to main content
Glama

Elo rating change

elo_rating_change
Read-onlyIdempotent

Calculate the Elo rating change for one or more games: expected score, points gained or lost, and the new rating. Uses the standard Elo formula with a K-factor (FIDE uses 40 for new/junior players, 20 for most players, 10 for players who have reached 2400).

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": "<rating>",
      "games": "<games>"
    },
    "name": "elo_rating_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
gamesYesGames played. Each has the opponent rating and your result.
ratingYesYour current rating, e.g. 1500.
k_factorNoK-factor. Default 20.
fide_400_point_ruleNoCount rating gaps above 400 as 400 (FIDE rule). Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine behavioral context beyond that: it names the computation model (standard Elo formula) and explains K-factor conventions with FIDE-specific values, which tells the agent how results are derived. It does not say whether results are returned per game or aggregated, which is a residual gap.

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

Conciseness5/5

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

Two sentences, front-loaded with the core action and its outputs, followed by the formula/K-factor context. No filler or restatement of the tool name, and the parenthetical FIDE values are compact and informative.

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?

With no output schema, the description usefully enumerates the returned quantities, which is what the agent needs. The remaining ambiguity is whether a multi-game input yields per-game changes or a single combined delta, which matters for a tool whose schema allows up to 50 games.

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%, so the baseline is 3, and each parameter is already documented in the schema. The description's K-factor guidance (40 for new/junior, 20 for most, 10 above 2400) does add meaning beyond the schema's terse 'K-factor. Default 20.', but it says nothing about fide_400_point_rule, which is only documented in the schema.

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 verb and resource ('Calculate the Elo rating change') and enumerates the outputs it produces (expected score, points gained or lost, new rating), including the batch scope ('one or more games'). It never names the nearby sibling elo_win_probability, so differentiation is inferable from the output framing rather than explicit.

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?

The description implies when this tool applies (you have a current rating and one or more opponent/result pairs), but it gives no explicit when-to-use or when-not-to-use guidance and does not point to elo_win_probability or performance_rating as alternatives. Usage is left to inference from the purpose statement.

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.