Random Card
random_cardGet a random Magic: The Gathering (MTG) card, optionally filtered by a Scryfall query (e.g. "is:commander", "c:blue").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional Scryfall filter query. |
random_cardGet a random Magic: The Gathering (MTG) card, optionally filtered by a Scryfall query (e.g. "is:commander", "c:blue").
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Optional Scryfall filter query. |
Changes observed during successful MCP inspections.
Input schema / examplesAdded value: +[
+ {
+ "query": "is:commander"
+ }
+]Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, covering safety and idempotency. The description adds value by explaining the filtering capability and Scryfall query syntax, but does not disclose additional behavioral traits beyond annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence with no wasted words. Essential information is front-loaded: what the tool does and how to filter. Perfectly structured for quick parsing.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given only one optional parameter and no output schema, the description sufficiently covers the tool's purpose and filtering. It could optionally describe the return format but is still complete for a simple random retrieval tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter 'query' is described in the schema with 100% coverage. The description goes beyond by providing concrete examples ('is:commander', 'c:blue'), which clarifies the query format and adds meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool retrieves a random MTG card with optional Scryfall query filtering. The verb 'get' and resource 'random card' are specific, and it distinguishes from sibling tools like get_card (specific card) and search_cards (list).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives example filter queries but does not explicitly state when to use this tool versus alternatives like search_cards. Usage is implied through context but lacks explicit guidance or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.