Skip to main content
Glama

List sets

list_sets
Read-onlyIdempotent

Browse the Magic set catalog (cached from Scryfall, newest release first) with the user's per-set progress: card_count (total printings in the set), owned_printings (printings held as REAL cards) and proxy_only_printings (printings held only as proxies — physically present but not tournament-legal or tradeable, never counted as owned). Filter by set_type (core, expansion, masters, commander, draft_innovation, funny, starter, promo, token, …), name substring, or include_digital (default false). Use the returned set codes with set_completion. Owning another set's printing of a card does not count toward that set here.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_sets"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoSubstring of the set name, e.g. "ravnica"
limitNoDefault 100, max 1000 — the catalog has ~1000 sets; prefer filters
offsetNo
set_typeNoExact Scryfall set_type, e.g. "expansion", "core", "commander", "masters"
include_digitalNoInclude digital-only sets (default false)

Output Schema

NameRequiredDescriptionDefault
setsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the description's job is to add domain context — and it does: cache provenance, newest-release-first ordering, and precise ownership semantics (owned_printings as REAL cards vs proxy_only_printings that are physically present but never counted as owned). It doesn't describe pagination behavior directly, keeping it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Front-loads the resource and the returned metrics before the filters and cross-tool pointer. The parenthetical asides are dense but each carries real meaning (proxy vs owned, default false). Slightly long, but no sentence is filler.

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

Completeness5/5

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

For a read-only list tool with an output schema and full annotation coverage, the description supplies everything an agent needs: what the progress fields mean, how proxies are treated, what include_digital defaults to, and how the result is consumed downstream. The subtle cross-set ownership rule is the kind of thing only a description can convey.

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 coverage is 80%, so the schema already documents name, limit, offset, set_type and include_digital. The description lists set_type values and restates the include_digital default, largely echoing the schema rather than adding syntax or format detail. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Browse the Magic set catalog') plus its scope (cached from Scryfall, newest first) and names the sibling it feeds into ('Use the returned set codes with set_completion'). An agent can distinguish it from set_completion without opening either schema.

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?

Gives clear usage context: filter by set_type, name substring, include_digital, and explicitly routes to set_completion as the follow-up. It also warns that 'Owning another set's printing of a card does not count toward that set here,' which prevents a common misuse. No explicit when-not-to-use guidance, so not a 5.

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.

Resources