Skip to main content
Glama

PokéAPI — Pokemon Type Matchup

pokeapi.type.matchup
Read-onlyIdempotent

Get the full damage relation chart for any of the 18 Pokemon types. Returns offensive relations (double/half/no damage TO other types) and defensive relations (double/half/no damage FROM other types). Also returns the total count of Pokemon and moves of that type. Valid types: normal, fighting, flying, poison, ground, rock, bug, ghost, steel, fire, water, grass, electric, psychic, ice, dragon, dark, fairy. Useful for team building, battle strategy, and type-effectiveness calculators. No auth required; fair-use free API. Source: PokéAPI (pokeapi.co).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
name_or_idYesPokemon type name (e.g. "fire", "water", "grass", "electric", "dragon", "ghost") or numeric type ID (e.g. 10 for fire, 11 for water). Valid types: normal, fighting, flying, poison, ground, rock, bug, ghost, steel, fire, water, grass, electric, psychic, ice, dragon, dark, fairy.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context beyond annotations: 'No auth required; fair-use free API' and source attribution. It does not contradict annotations.

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 main action is front-loaded and the description is appropriately sized. The valid types list is somewhat redundant with the schema, and 'Useful for team building...' is context rather than essential, but no sentence is wasted or misleading.

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?

For a single-parameter tool with both annotations and an output schema, the description is complete: it conveys purpose, return contents, valid inputs, auth requirements, and source. It doesn't explain return values in detail, but the output schema carries that burden.

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 coverage is 100%, so the baseline of 3 applies. The description's valid-types list and '18 Pokemon types' phrasing largely duplicate what the parameter schema already states, adding little semantic value beyond the structured definition.

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 states a specific verb and resource ('Get the full damage relation chart for any of the 18 Pokemon types') and clearly distinguishes itself from its pokeapi.* siblings through domain-specific content (type matchups vs. move/pokemon/species lookups). It stops short of explicitly naming siblings, so it earns 4 rather than 5.

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 clear usage context ('Useful for team building, battle strategy, and type-effectiveness calculators'), which tells an agent when this tool is relevant. It doesn't name alternatives or exclusions, but for a single-purpose lookup among obviously different siblings, this is sufficient context.

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.