Skip to main content
Glama
andrewboe

ygo-format

by andrewboe

search_cards

Read-only

Search the Yu-Gi-Oh card pool for format-legal cards by text, name, archetype, type, attribute, stats, or Genesys points.

Instructions

Search the card pool. Only cards legal in format are returned unless include_illegal.

text: words that must all appear in the card text (or FTS5 syntax: "special summon" AND deck NOT banish) pattern: Python regex over card text, e.g. "Level 4 or lower .*Warrior" name: substring of the name; archetype: name contains it (case-sensitive game rule, e.g. "Destiny HERO") mentions: cards whose text names this in quotes, e.g. "HERO" or "Destiny HERO - Malicious" kind: monster, extra, main, tuner, fusion, synchro, xyz, link, ritual, pendulum, effect, normal, flip, spell, trap, quick-play, continuous spell, field, equip, ritual spell, normal trap, continuous trap, counter attribute: DARK, LIGHT, ...; race: Warrior, Spellcaster, ...; level_min/max: Level, Rank or Link rating max_points: Genesys points per copy at most this Card text is cut to 400 characters unless full_text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo
nameNo
raceNo
textNo
limitNo
formatYes
atk_maxNo
def_maxNo
patternNo
mentionsNo
archetypeNo
attributeNo
full_textNo
level_maxNo
level_minNo
max_pointsNo
include_illegalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely useful behavior beyond that, notably the default legality filter and the disclosure that card text is truncated to 400 characters unless full_text is set. It does not cover result ordering or the effect of limit, but the truncation and filtering notes are exactly the kind of context annotations cannot carry.

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?

Opens with the core purpose in one sentence, then a compact parameter glossary with a worked example per non-obvious field. Every line earns its place and nothing is padded.

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 17-parameter tool with no output schema and no schema descriptions, the semantic coverage is strong and the search-syntax nuances are explicit. The main gap is silent handling of limit (default 20) and count/ordering behavior, which the agent must infer.

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 0% schema description coverage across 17 parameters, the description carries the full burden and largely succeeds: it explains text as FTS5 syntax, pattern as Python regex, name as substring, archetype as case-sensitive name containment, mentions as quoted-name references, kind/attribute/race vocabularies, and level/rank/link semantics for level_min/max. Only limit, atk_max, and def_max are left undocumented, and the depth it provides on the ambiguous filters far exceeds what a schema could convey.

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 ('Search the card pool') and immediately scopes the default result set to cards legal in the given format. This distinguishes it from siblings like card_lookup (single card retrieval) and archetype without needing to inspect schemas.

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

Usage Guidelines3/5

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

The description conveys an important default behavior (illegal cards excluded unless include_illegal) but never states when an agent should choose this tool over card_lookup, find_lines, or archetype, nor does it describe any prerequisites. Usage is implied rather than guided.

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