Skip to main content
Glama

Calculate Pokémon Stats

calculate_stats
Read-onlyIdempotent

Calculate exact Pokémon stats for a given level (1–100), nature, IVs (0–31), and EVs (0–252, total ≤ 510), plus Lv.50 and Lv.100 min/max ranges. Accepts either a Pokémon name/slug/ID or explicit base stats.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
evsNoEffort Values per stat (0–252, total ≤ 510, defaults to 0 for omitted stats).
ivsNoIndividual Values per stat (0–31, defaults to 31 for omitted stats).
levelNoPokémon level (1–100, default: 50).
natureNoPokémon nature (e.g. 'adamant', 'timid', 'jolly', default: 'hardy').
pokemonNoPokémon name, slug, or Pokédex ID to auto-load base stats (optional if baseStats is provided).
baseStatsNoExplicit base stats (optional if pokemon is provided).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive behavior, so the description's job is lighter; it adds useful context that results include Lv.50 and Lv.100 min/max ranges alongside the exact stat line. However, with zero required parameters it never says what happens if neither 'pokemon' nor 'baseStats' is supplied, nor how invalid totals (EVs > 510) or unknown species are handled — a real behavioral gap for a 0-required-param tool.

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?

Two dense sentences that front-load the calculation scope and then the input acceptance rule; every clause carries constraint or output information. Slightly overpacked with numeric ranges that the schema already enforces, but no filler.

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 6 parameters, nested IV/EV objects, and no output schema, the description compensates well by naming the return content (exact stats plus Lv.50/Lv.100 min/max ranges). The remaining gap is the undefined case where no species or base stats are provided, which matters given required parameters are empty.

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 every parameter including defaults (level 50, hardy, IVs 31, EVs 0). The description reinforces the key constraints (1–100 level, 0–31 IVs, 0–252 EVs, total ≤ 510) and the mutual exclusivity of pokemon vs baseStats, which adds slight clarity beyond the schema's per-field text.

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 (calculate) and resource (Pokémon stats) with the full input scope: level 1–100, nature, IVs, EVs, and Lv.50/Lv.100 min/max ranges. It also distinguishes itself from data-retrieval siblings like get_pokemon by framing the output as computed stats and by accepting either a Pokémon reference or explicit base stats.

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?

Gives clear usage context: the tool is for exact stat computation at a given level with nature/IV/EV modifiers, and it explains the either/or input path ('Accepts either a Pokémon name/slug/ID or explicit base stats'). It stops short of naming an alternative tool to use when the agent only wants raw species data, so no explicit when-not 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.

Resources