Skip to main content
Glama

List sets / expansions

list_sets
Read-onlyIdempotent

Use this to find the set id for a game or sport (e.g. "Evolving Skies", "2019 Panini Prizm") before calling get_set_cards, or when the user asks which sets exist. Newest first. Do not use to price a single card.

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": {
      "game": "<game>"
    },
    "name": "list_sets"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYesGame or sport whose sets to list, e.g. "pokemon", "magicthegathering" or "baseball".
limitNoHow many sets to return, newest first (1 to 100, default 30). Narrow with query when the set you want is older.
queryNoOptional substring to filter set names, e.g. "evolving" or "2019 prizm".

Output Schema

NameRequiredDescriptionDefault
gameYes
setsYes
countYes
linksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / game / description
      Added value: +"Game or sport whose sets to list, e.g. \"pokemon\", \"magicthegathering\" or \"baseball\"."
    • addedInput schema / properties / limit / description
      Added value: +"How many sets to return, newest first (1 to 100, default 30). Narrow with query when the set you want is older."
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The only extra behavioral fact is ordering ("Newest first"), which is also repeated in the limit parameter's schema text, so the description adds little beyond structured fields and says nothing about result volume or defaults.

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?

Two tight sentences, front-loaded with the primary use case, followed by the ordering fact and then the negative constraint. Nothing is redundant or padded.

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?

Output schema exists and the schema documents all three parameters, so the description need not explain returns. It covers routing and exclusion well; it omits any hint about the default page size of 30 or that older sets require query narrowing, both of which live only in the schema.

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 description coverage is 100%, including enum values, min/max on limit, and query maxLength, so the baseline is 3. The description echoes 'newest first' and supplies set-name examples that loosely illustrate the query substring, but adds no syntax or semantics beyond the schema.

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 (list sets / find the set id) plus concrete domain examples ("Evolving Skies", "2019 Panini Prizm"). It also distinguishes itself from siblings by naming get_set_cards as the downstream consumer and get_card_prices-adjacent work ("Do not use to price a single card").

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?

Gives explicit when-to-use triggers (finding a set id before get_set_cards, or answering 'which sets exist') and an explicit exclusion (single-card pricing). The routing decision is fully specified without opening any schema.

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.