Skip to main content
Glama

VGC Teambuilder

Find answers to one threat

find_counters
Read-onlyIdempotent

Check whether a team has an answer to one threat. For each team member it calculates the threat's hardest hit into it, its hardest hit into the threat, and who moves first, then gives a verdict. Counter: takes under 50% from the threat's hardest hit, so it survives two, and KOs the threat in 2 hits or fewer. Check: KOs the threat before it can KO back, needing fewer hits than the threat, or as many while moving first. Trade: each needs the same number of hits, so Speed decides (or a Speed tie leaves it open). Loses: anything else. A KO in N hits counts only when the damage rolls make it at least 50% likely, ignoring accuracy; when recovery or chip damage is in play (Leftovers, weather, status), the calculator's own KO chance must reach that. Verdicts are given for normal Speed order and for Trick Room. If no team member is a Counter or Check, or no team is given, it suggests Counters and Checks from the 40 most used Pokémon in the regulation. Missing set details come from usage statistics. These are single hits with no partner, screens or stat changes; Intimidate, Fake Out and move priority are not counted. This is not a battle simulation.

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": {
      "threat": "<threat>"
    },
    "name": "find_counters"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamNo
limitNoMaximum entries to return (1–10). Defaults to 5
formatNoRegulation id from list_formats. Defaults to "champions-regma" (Pokémon Champions — Regulation M-A).
threatYesThreat name plus any known set fields
suggestNoSearch usage when the team has no answer; default true
trickRoomNoUse Trick Room verdicts for ranking and suggestions; default false

Output Schema

NameRequiredDescriptionDefault
teamYes
formatYesRegulation id the result applies to
threatYes
trickRoomYes
bestAnswerYes
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.
suggestionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 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"
      +]
  2. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial context beyond them: the 50%-probability KO threshold, that accuracy is ignored, that recovery and chip damage (Leftovers, weather, status) raise the required KO chance, that verdicts are produced for both normal and Trick Room order, and that missing set details are filled from usage statistics. It also discloses concrete blind spots — no partner, screens, or stat changes, and no Intimidate, Fake Out, or move priority — which is exactly the kind of limitation an agent needs before trusting the output.

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?

The purpose is front-loaded in the first sentence, and the remaining text is dense but rule-bearing rather than filler. The Counter/Check/Trade/Loses enumeration is long, but each clause encodes a decision rule the agent cannot get elsewhere. Some compression is possible, particularly around the KO-probability sentence, which is the heaviest single clause.

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

Completeness5/5

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

For a nested-object tool with defaulting behavior, verdict taxonomies, and an output schema that already documents returns, the description covers everything an agent needs: what is computed, what is ignored, how defaults resolve, and how suggestions trigger. Nothing material about invoking it correctly is left unstated, and return formatting is correctly delegated to the output schema.

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

Parameters4/5

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

Schema coverage is 83%, so the baseline is 3, and the description earns an upgrade by giving real meaning to two optional parameters: 'suggest' is tied to the condition under which usage-based Counters and Checks from the top 40 are returned, and 'trickRoom' is tied to which verdict ordering is used for ranking and suggestions. It also states the general defaulting rule that missing set details come from usage statistics, complementing the per-field defaults 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?

The description opens with a specific verb and scope: 'Check whether a team has an answer to one threat,' which is clearly distinct from bulk-threat analysis. It defines the output vocabulary (Counter, Check, Trade, Loses) precisely. It stops short of naming a sibling such as get_checks_and_counters or check_team_threats, so the single-threat-vs-many-threats routing is left for the agent to infer from the title and scope wording.

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 context is implied well: use it to answer 'does this team beat this one Pokémon', and the suggestion fallback explains what happens when no answer exists or no team is supplied. There is no explicit statement about when to prefer an alternative tool for evaluating several threats or whole-team matchups, and the 'not a battle simulation' caveat reads as a behavioral limit rather than a usage exclusion.

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.