Skip to main content
Glama

Busca Pokédex (com UI)

pokedex_search

Find Pokémon by name, type, or generation and view results as a clickable sprite grid that opens detailed cards.

Instructions

Busca Pokémon por substring do nome e/ou filtra por tipo e/ou geração, e mostra os resultados numa grade visual clicável (sprite, nome, tipos). Clicar num resultado abre o card de detalhe via pokedex_view. Equivalente visual de search_pokemon — prefira esta quando o usuário quiser ver, não só ler, os resultados.

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": "pokedex_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoFiltra por tipo (ex: 'fire', 'dragon').
limitNoMáximo de resultados (padrão 24). Cada resultado custa uma consulta extra à PokéAPI pra pegar sprite/tipos, por isso o teto é menor que o de search_pokemon.
queryNoSubstring do nome do Pokémon (case-insensitive).
generationNoFiltra por geração (ex: 'generation-i', ou id numérico como string '1').

Output Schema

NameRequiredDescriptionDefault
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the burden, and it does disclose the key non-obvious behavior: results are rendered in an interactive visual grid rather than returned as plain data, and clicks trigger pokedex_view. It does not state safety profile (read-only nature) or rate-limit behavior beyond what the schema's limit note implies, leaving a small gap for a zero-annotation 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 sentences, front-loaded with the operation and immediately followed by the UI behavior and routing. Slight redundancy between 'Equivalente visual de search_pokemon' and the following preference clause, but nothing is wasted.

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 present, the description needn't explain return values, and the four optional parameters are fully covered by the schema. For a zero-annotation tool it covers the salient behavior (visual rendering, click-through), though it omits any statement about permissions or whether the operation is purely read-only.

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 description coverage is 100%, so all four parameters are already documented with examples. The description restates the same filters (name substring, type, generation) without adding syntax or format nuance beyond the schema, so the baseline 3 applies.

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?

The description states a concrete verb and resource (search Pokémon by name substring, filter by type/generation) and explicitly frames the output as a clickable visual grid with sprite, name and types. It also distinguishes itself from search_pokemon (visual equivalent) and pokedex_view (detail navigation), so an agent can identify it without opening the schema.

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

Usage Guidelines5/5

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

'Prefira esta quando o usuário quiser ver, não só ler, os resultados' gives an explicit selection rule against the named sibling search_pokemon, and 'Clicar num resultado abre o card de detalhe via pokedex_view' routes the follow-up action. Both the when-to-use and the hand-off are stated rather than inferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.