Skip to main content
Glama

VGC Teambuilder

Validate a team for a regulation

validate_team
Read-onlyIdempotent

Check a team against a Pokémon Champions regulation: each Pokémon is on the regulation's allowed list, Species Clause, Item Clause, at most four moves each, moves are learnable and abilities belong to the Pokémon. A Mega Evolution named directly (e.g. "Charizard-Mega-Y") is checked as its base Pokémon holding its Mega Stone. It does not check stat spreads or held-item availability. Move data comes from Pokémon Showdown across all generations, plus moves Pokémon Champions' balance updates added, not Champions' own move lists, so a move from an older game can pass and another Champions-only move can fail.

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": {
      "team": "<team>"
    },
    "name": "validate_team"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamYesTeam members. Only `pokemon` is required for each
formatNoRegulation id from list_formats. Defaults to "champions-regma" (Pokémon Champions — Regulation M-A).

Output Schema

NameRequiredDescriptionDefault
rulesYes
validYesTrue when there are no errors
errorsYes
formatYesRegulation id the result applies to
membersYes
warningsYesCautions that do not make the team invalid
formatNameYesDisplay name of the regulation

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. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare a read-only, idempotent, non-destructive, closed-world operation, and the description adds substantial behavior beyond that: Mega Evolutions named directly are resolved to base form plus Mega Stone, and the move data source (Showdown across all generations plus balance-update additions, not Champions' own lists) is disclosed as a source of both false passes and false failures. That provenance caveat is exactly the kind of non-obvious behavior an agent needs to interpret results.

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 core action and rule list are front-loaded in the first sentence, and the limitations follow in priority order. The final sentence is long and clause-heavy, but every clause carries distinct information, so there is little waste.

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?

An output schema exists, so return-value explanation is unnecessary, and the description covers the remaining gaps for a validation tool: what is checked, what is not checked, how edge-case names resolve, and where move data comes from. Nothing an agent needs to invoke or trust the result is missing.

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 100%, so the schema already documents both parameters and the regulation enum, making 3 the baseline. The description adds real meaning on top: the accepted Pokémon naming convention via the "Charizard-Mega-Y" example and how such names are internally resolved, plus the notion of a regulation's allowed list that the format id selects.

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 and resource ("Check a team against a Pokémon Champions regulation") and then enumerates the exact rules applied: allowed list, Species Clause, Item Clause, four-move cap, learnability, ability ownership. This is enough for an agent to distinguish it from validate_moveset or analyze_team_types without opening any 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?

Explicitly scopes the tool with a negative boundary — it does not check stat spreads or held-item availability — which tells the agent when this check is insufficient. It stops short of naming the sibling tool to use for those uncovered concerns, so the agent must infer the alternative.

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.