Skip to main content
Glama

VGC Teambuilder

Compare Speed and turn order

compare_speed
Read-onlyIdempotent

Work out the Speed of several Pokémon in Pokémon Champions and the order they move in, including the effect of items such as Choice Scarf, Tailwind, paralysis, stat stages, weather abilities and Trick Room. Use it to answer who outspeeds whom. Any part of a set that is left out is filled in from the regulation's usage statistics and listed under assumptions. Speed decides order only among moves of the same priority.

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": {
      "pokemon": "<pokemon>"
    },
    "name": "compare_speed"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoRegulation id from list_formats. Defaults to "champions-regma" (Pokémon Champions — Regulation M-A).
pokemonYesThe Pokémon to compare. The same Pokémon may appear with two sets.
terrainNo
weatherNo
trickRoomNoTrick Room is up: slower moves first

Output Schema

NameRequiredDescriptionDefault
tiesYesGroups with equal Speed
orderYesFirst to move first
formatYesRegulation id the result applies to
trickRoomYes
conditionsYes
formatNameYesDisplay name of the regulation
assumptionsYesEverything the calculation assumed, including any part of a set that was filled in because it was not given. Tell the user about these.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / format / description
      Previous value: -"Regulation id from list_formats. Defaults to \"champions-regmc\" (Pokémon Champions — Regulation M-C)."New value: +"Regulation id from list_formats. Defaults to \"champions-regma\" (Pokémon Champions — Regulation M-A)."
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "champions-regma",
      -  "champions-regmb",
      -  "champions-regmc"
      -]New value: +[
      +  "champions-regma",
      +  "champions-regmb",
      +  "champions-regmc",
      +  "champions-regmd"
      +]
    • addedOutput schema / properties / order / items / properties / slot
      Added value: +{
      +  "description": "Position of this entry in the request's `pokemon` list, from 0",
      +  "type": "number"
      +}
    • changedOutput schema / properties / order / items / required
      Previous value: -[
      -  "pokemon",
      -  "speed",
      -  "speedStat",
      -  "nature",
      -  "speedStatPoints",
      -  "ability",
      -  "item",
      -  "conditions"
      -]New value: +[
      +  "slot",
      +  "pokemon",
      +  "speed",
      +  "speedStat",
      +  "nature",
      +  "speedStatPoints",
      +  "ability",
      +  "item",
      +  "conditions"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses that missing set details are filled from regulation usage statistics and surfaced under `assumptions`, and that Speed only orders same-priority moves. These are meaningful behavioral caveats an agent would otherwise not know.

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?

Three sentences, front-loaded with the primary action and use case, followed by behavioral caveats. No filler; each sentence adds value, though it could be marginally tighter.

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 an output schema handling return values and annotations covering the safety profile, the description supplies the key operational context: default fill-in behavior via `assumptions` and the same-priority ordering limitation. For a 5-param tool with nested Pokémon objects it is nearly complete, missing only per-parameter detail like terrain.

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?

The description names the effect sources (Choice Scarf, Tailwind, paralysis, stat stages, weather abilities, Trick Room) that map to several parameters, adding conceptual meaning. However, with only 60% schema coverage, some parameters such as terrain are not addressed, so the description only partly compensates for the gap.

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

Purpose5/5

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

States a specific verb ('Work out the Speed') and resource ('several Pokémon in Pokémon Champions') plus turn order, and names the exact question it answers ('who outspeeds whom'). It is distinct from siblings like calculate_damage or plan_matchup without opening either schema.

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

Usage Guidelines4/5

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

The description gives a clear when-to-use framing ('Use it to answer who outspeeds whom'), which tells the agent the appropriate scenario. It does not explicitly name a sibling alternative or exclusion, so it stops short of full routing guidance.

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.