Skip to main content
Glama

search_cards

Read-only

Find cards by NAME or by structured filters (colors, color identity, types, mana value, format legality, sets). Use when the query can be expressed as filters: "red instants under 3 mana", "legendary artifacts in Standard", "cards named Bolt". Use semantic_card_search instead when the user describes an EFFECT rather than a filter ("cards that make a treasure when I attack"). Use find_synergies instead when they name cards they already have and want things that pair with them. Searches every Magic card; use search_my_collection to search only what the user owns. limit defaults to 25 and caps at 100 per call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
setsNo
limitNo
typesNo
colorsNo
formatNo
supertypesNo
manaValueMaxNo
manaValueMinNo
colorIdentityNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cardsYes

TDQS

A4.6/5.0
Behavior4/5

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

The annotations already provide readOnlyHint=true, so the read-only nature is known. The description adds valuable behavioral context by stating that it searches every Magic card and that limit defaults to 25 and caps at 100. This goes beyond the annotations without contradicting them.

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 four sentences long, front-loaded with the core purpose, and every sentence contributes meaningful information. There is no fluff or repetition of schema details.

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?

An output schema exists, so return value details are handled elsewhere. The description covers the tool's scope, filter types, limit behavior, and provides clear alternatives. It is sufficiently complete for an agent to use the tool effectively, with only minor omissions like supertypes.

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

Parameters4/5

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

With 0% schema description coverage, the description compensates by naming the primary filter categories: colors, color identity, types, mana value, format legality, and sets. It also explains limit behavior. However, supertypes is not explicitly mentioned, and the types/supertypes distinction is left implicit, which is a minor gap.

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 finds cards by name or structured filters, enumerating filter categories such as colors, types, mana value, and format legality. It distinguishes itself from sibling tools like semantic_card_search and find_synergies, so the agent knows exactly what this tool does.

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

Usage Guidelines5/5

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

The description gives explicit usage guidance, stating to use this tool when queries can be expressed as filters, and directs to semantic_card_search for effect-based queries, find_synergies for pairing with existing cards, and search_my_collection to limit to owned cards. This is exemplary decision support.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: card lookup variants, search types, deck analysis, rule lookups, and collection queries are all separated by input type and operation. Overlapping names like get_card vs get_card_printings are still unambiguous because the descriptions specify the exact differences.

Naming Consistency4/5

All tool names use consistent lowercase snake_case formatting, but there is a mix of verb-led names (get_card, search_cards, rate_deck) and noun-led names (deck_stats, commander_staples, my_collection). The pattern is readable and predictable, but not a uniform verb_noun convention.

Tool Count4/5

With 19 tools, the server is on the heavier side but still well-scoped for the breadth of MTG: card lookup, search, rules, deck analysis, rating, upgrade suggestions, and collection management each have dedicated tools. It feels comprehensive rather than bloated, though a few could potentially be merged.

Completeness4/5

The tool set covers a wide range of MTG workflows: card details, text search, rules, deck legality, stats, combos, synergies, upgrades, and collection exploration. Minor gaps exist (e.g., no direct deck editing or saving), but the core needs of an assistant are well covered.

Resources