Skip to main content
Glama

Buscar cartas

ptcgp_search_cards
Read-onlyIdempotent

Search Pokémon TCG Pocket cards by name, text, expansion, rarity, type, and owned quantity to filter your collection. Use it for deck building and finding missing cards.

Instructions

Busca cartas en el catálogo completo de Pokémon TCG Pocket, con cantidad poseída incluida en cada resultado.

Filtros (todos opcionales, combinables):

  • query: texto parcial del nombre (case-insensitive)

  • text_search: busca en efectos de ataques, habilidades y cartas trainer (ej. "heal", "discard", "draw")

  • expansion: id de expansión (a1, a1a, a2, a2a, a2b, a3, a3a, a3b, a4, a4a, a4b, b1, b1a, b2, b2a, b2b, b3, pa, pb)

  • pack: nombre del sobre (Mewtwo, Charizard, Pikachu, etc.)

  • rarity: símbolo o alias (d1=◊, d2=◊◊, d3=◊◊◊, d4=◊◊◊◊, s1=☆, s2=☆☆, s3=☆☆☆, crown=♕, promo)

  • type: Grass|Fire|Water|Lightning|Psychic|Fighting|Darkness|Metal|Dragon|Colorless|Trainer

  • category: Pokemon|Trainer

  • stage: Basic|Stage1|Stage2

  • min_damage: daño mínimo del mejor ataque (para construcción de mazos)

  • has_ability: true para solo cartas con habilidad

  • owned_filter: 'all' (defecto) | 'owned' (quantity>0) | 'missing' (quantity=0) | 'duplicates' (quantity>1)

  • ex: true para solo cartas ex

  • limit/offset para paginación

Cada resultado incluye max_damage y has_ability. Para ataques/habilidades/efectos completos usa ptcgp_get_card. Los datos de combate provienen de TCGdex; sets muy recientes pueden no tenerlos aún (ejecutar ptcgp_enrich_catalog periódicamente).

Ejemplos: "atacantes de fuego para mi mazo que ya tenga" -> type="Fire", min_damage=100, owned_filter="owned". "cartas que curen" -> text_search="heal".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exNoSolo cartas ex
packNoNombre del sobre
typeNoTipo de carta
limitNo
queryNoTexto parcial del nombre
stageNo
offsetNo
rarityNoRareza: d1-d4, s1-s3, crown, promo o símbolo
categoryNo
expansionNoId de expansión, ej. a1
min_damageNoDaño mínimo del mejor ataque
has_abilityNoSolo cartas con habilidad
text_searchNoBuscar en efectos de ataques/habilidades/trainers
owned_filterNoall
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses that results include owned quantity, max_damage, and has_ability. It also warns that combat data comes from TCGdex and may be missing for recent sets, pointing to enrichment. This is substantive behavioral context that helps an agent anticipate incomplete results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but every line earns its place: summary, structured filter list, cross-references, data caveat, and usage examples. It is well-organized and front-loaded with the core purpose.

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?

Given the tool has 14 optional parameters and no output schema, the description is unusually complete. It explains what filters do, what results contain, how to get more detail, and when data may be incomplete. An agent can select and invoke this tool correctly with confidence.

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

Parameters5/5

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

With schema coverage at 64%, the description compensates thoroughly: it explains query case-insensitivity, text_search semantics with examples, expansion ID lists, rarity aliases, owned_filter values with quantities, and min_damage's deck-building purpose. This adds significant meaning beyond the raw schema.

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 opens with a specific verb and resource: 'Busca cartas en el catálogo completo de Pokémon TCG Pocket', and explicitly states the output includes owned quantity. It also differentiates itself from siblings by directing users to ptcgp_get_card for full attack/ability details and ptcgp_enrich_catalog for stale combat data.

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 strong usage context: all filters are optional and combinable, and it provides natural-language examples such as 'type=Fire, min_damage=100, owned_filter=owned'. It explicitly names alternatives for full card details and catalog enrichment, though it does not fully contrast with every potentially relevant sibling like ptcgp_collection_stats or ptcgp_missing_cards.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TCG-Pocket-MCP/ptcgp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server