Skip to main content
Glama
JoeMoCode

Scryfall MCP Server

by JoeMoCode

search_cards

Search for Magic: The Gathering cards using Scryfall syntax to filter by name, color, type, text, mana cost, price, and more. Returns matching cards with their details.

Instructions

Search for Magic: The Gathering cards by name, type, or other criteria

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query using Scryfall syntax. Supported prefixes: c:/color: (card color), id:/identity: (color identity), t:/type: (card/sub/supertype), o:/oracle: (card text), fo:/fulloracle: (full oracle text), keyword:/kw: (keyword abilities), m:/mana: (mana symbols), mv:/manavalue: (converted mana cost), power:, toughness:, loyalty:, devotion:, is: (card characteristics), f:/format: (format legality), e:/s:/set: (set code), r:/rarity:, a:/artist:, year:, game: (paper/arena/mtgo), usd: (USD price), eur: (EUR price), tix: (MTGO ticket price). Operators: >, <, =, >=, <=, !=. Use OR for alternatives, - for negation, parentheses for grouping, quotes for exact phrases, ! for exact names.
limitNoMaximum number of results (default: 10)
Behavior2/5

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

No annotations exist, so the description must carry the burden of behavioral transparency. It only states the basic function and mentions Scryfall syntax, but does not disclose whether the operation is read-only, any rate limits, pagination, or side effects. This is minimal disclosure for a search tool.

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 a single sentence that is concise and front-loads the purpose. Every word is necessary; no fluff. Excellent structure for a summary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has only two parameters with full schema descriptions and no output schema, the description covers the basic purpose. However, it lacks information about return format or pagination. It is minimally complete but leaves some context gaps.

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%, and the parameter descriptions in the schema are very detailed (e.g., query lists many Scryfall prefixes and operators). The tool description adds only a brief summary ('by name, type, or other criteria') which does not significantly enhance understanding beyond the schema. 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 clearly states the tool's purpose: 'Search for Magic: The Gathering cards by name, type, or other criteria'. The verb 'Search' and resource 'Magic: The Gathering cards' are specific. It distinguishes from siblings (get_card_details, get_random_card, get_set_info) by implying general search capability.

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 indicates the tool is for searching by various criteria, but does not explicitly state when to use this tool versus siblings (e.g., use get_card_details for a specific card, get_random_card for random). No exclusions or prerequisites are mentioned.

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/JoeMoCode/Scryfall-MCP'

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