Skip to main content
Glama
@alltcgapi/mcp

@alltcgapi/mcp

Official

List the cards of a set

atcg_list_set_cards
Read-onlyIdempotent

List all cards in a trading card game set in collector-number order using a set id or code. Filter by card name prefix or exact collector number to find specific cards quickly.

Instructions

The cards of one set in collector-number order, by set id or code from atcg_list_sets. A set code can exist in more than one game: pass the set id to be exact, and check the game on the first line of the result. name (start of the card name) and number narrow the list. 1 credit per call (up to 50 rows). If a call is refused with TRIAL_EXPIRED or QUOTA_EXCEEDED, tell the user as written and do not retry; RATE_LIMITED says how many seconds to wait.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "set": "<set>"
    },
    "name": "atcg_list_set_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
setYesSet id (UUID) or set code, e.g. "OP11".
nameNoThe start of the card name.
limitNoRows, capped at 50. Default 20.
cursorNoOpaque cursor from a previous call with the same filters. Never construct one.
numberNoCollector number exactly as the catalogue writes it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the read-only and idempotent annotations, the description discloses credit cost per call, a 50-row cap, ordering, a disambiguation check on the first line of results, and explicit handling for TRIAL_EXPIRED, QUOTA_EXCEEDED, and RATE_LIMITED errors. This adds substantial operational context the annotations do not provide.

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 dense but well structured: it front-loads what the tool returns and the ordering, then covers disambiguation, filtering, cost, and error behavior. Every sentence carries operational value with no filler.

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 list tool with no output schema, it covers the key behavior an agent needs: source of set identifiers, ordering, filtering, row cap, cost, and error responses. It does not describe the returned card fields or pagination mechanics in detail, but those are secondary for selection.

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?

Schema coverage is 100%, so parameter descriptions are already complete. The description still adds useful meaning: the set code may exist in multiple games, passing the set id is exact, and name/number act as narrowing filters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('The cards of one set'), adds ordering ('collector-number order') and names the prerequisite source ('by set id or code from atcg_list_sets'). It implicitly distinguishes itself from cross-set search by scoping to one set, but it does not explicitly name a sibling alternative.

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

Usage Guidelines4/5

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

It gives clear context for use: set id or code comes from atcg_list_sets, name and number narrow the list, and a set code may be ambiguous across games. It does not explicitly say when to use another tool, such as atcg_search_cards for cross-set searches.

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