Skip to main content
Glama

Cards in a set with prices

get_set_cards
Read-onlyIdempotent

Use this when the user wants the most valuable cards in a specific set or a priced checklist of a set. Requires a set id from list_sets. Returns raw and PSA 10 USD prices per card. Do not use for a single named card; use search_cards instead.

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>",
      "set_id": "<set_id>"
    },
    "name": "get_set_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYesGame or sport the set belongs to, e.g. "pokemon" or "basketball". Use the same value you passed to list_sets.
sortNo"value" = most valuable first; "number" = checklist order.value
limitNoHow many cards to return in the chosen order (1 to 100, default 25). total_cards in the result gives the full set size.
set_idYesExpansion id from list_sets.

Output Schema

NameRequiredDescriptionDefault
gameYes
cardsYes
countYes
set_idYes
set_nameYes
total_cardsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / game / description
      Added value: +"Game or sport the set belongs to, e.g. \"pokemon\" or \"basketball\". Use the same value you passed to list_sets."
    • addedInput schema / properties / limit / description
      Added value: +"How many cards to return in the chosen order (1 to 100, default 25). total_cards in the result gives the full set size."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so safety is covered; the description adds the prerequisite dependency on list_sets and discloses what comes back (raw and PSA 10 USD prices per card). It stops short of any note on price freshness or currency handling, so it is strong but not complete.

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?

Three short sentences, front-loaded with the selection criterion, then prerequisite, then exclusion. No filler and nothing repeated.

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?

An output schema exists, so return values need not be spelled out, yet the description still names the price fields an agent will reason about. Combined with annotations and full schema coverage, nothing needed to invoke this correctly is missing.

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 100% and both enum parameters plus the limit bounds are already documented in the schema. The only added hint, that set_id comes from list_sets, largely restates the schema text, so baseline 3 applies.

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 resource and two concrete use cases ('most valuable cards in a specific set' or 'a priced checklist'), and explicitly distinguishes itself from search_cards. An agent can route between this and the single-card search 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 Guidelines5/5

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

Gives an explicit trigger ('Use this when...'), an explicit exclusion ('Do not use for a single named card; use search_cards instead'), and a prerequisite ('Requires a set id from list_sets'). When, when-not, and the alternative are all named.

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.