Skip to main content
Glama
j4th
by j4th

scryfall_search_cards

Read-onlyIdempotent

Search Magic: The Gathering cards using Scryfall syntax. Filter by format, color identity, type, and more to find specific cards for deck building or rules reference.

Instructions

Search for Magic cards using Scryfall syntax.

Examples: "f:commander id:sultai t:creature", "o:destroy t:instant cmc<=3" See https://scryfall.com/docs/syntax for full syntax reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesScryfall search query (e.g. 'f:commander id:sultai t:creature cmc<=3'). See scryfall.com/docs/syntax
pageNoPage number for paginated results, 1-indexed
limitNoMax cards to return (default 30, 0 for all)
response_formatNoOutput verbosity: 'detailed' (default) or 'concise'detailed
Behavior2/5

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

Annotations already convey readOnly, idempotent, openWorld hints. The description adds no additional behavioral traits beyond the examples and reference. 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.

Conciseness5/5

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

Extremely concise: two sentences and examples. Front-loaded with purpose. Every element is useful and earns its place.

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?

Given good schema and annotations, the description is mostly complete. It includes examples and a reference for query syntax. Slightly lacking in describing output or return structure, but adequate for a search tool with pagination parameters.

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 has 100% description coverage, so the description adds little beyond what's already in the schema. The examples illustrate query syntax but do not explain page, limit, or response_format parameters.

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?

Clearly states it searches for Magic cards using Scryfall syntax, with examples and a link to the full syntax reference. Distinguishes from sibling tools like scryfall_card_details by focusing on search.

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?

No explicit guidance on when to use this tool versus alternatives like scryfall_card_details or other search tools. The description implies usage for complex queries but lacks when-not or context-specific recommendations.

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/j4th/mtg-mcp-server'

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