Skip to main content
Glama
@alltcgapi/mcp

@alltcgapi/mcp

Official

Get current prices

atcg_get_prices
Read-onlyIdempotent

Fetches current Cardmarket (EUR) and TCGplayer (USD) quotes for a card or sealed product by search ID, with source, variant, and as-of date; no currency conversion.

Instructions

Every current quote for one card or one sealed product, by the id a search returned: source, variant, language of the copy, condition, printing, region, amount with its currency, and the as_of date. The result opens with one line per currency saying how many quotes and how recent. Cardmarket quotes are in EUR and TCGplayer quotes in USD. Nothing is converted: never add, average or compare a EUR figure with a USD figure as if they were one number. Report each market separately, with its currency. Every quote carries as_of, the day (UTC) the source last quoted it. Quotes are current, not live: the API serves each source about a day behind, some quotes are older, and the result says how old the newest one is. Never quote a price without its source and its as_of date. variant says what the number measures: LOWEST_NEAR_MINT is the lowest asking price for a near mint copy, LOWEST the lowest asking price in any condition (sealed products), TREND the trend price published by the source, AVG_7D and AVG_30D the average sale price over 7 or 30 days, MARKET the TCGplayer market price based on recent sales. An asking price is an offer, not a sale: say which one you quote. One item usually has several quotes: per source, per variant, per language of the copy, and on TCGplayer per printing (NORMAL, HOLOFOIL, …). Read language, condition and printing on the row you quote rather than taking the first number, and say which row it is. An empty list means no source quotes the item today, not that it does not exist. Only the latest quote of each series: this tool has no price history, and the API has no graded prices. 2 credits per call. 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": {
      "type": "<type>",
      "id": "<id>"
    },
    "name": "atcg_get_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe UUID from atcg_search_cards, atcg_list_set_cards or atcg_search_sealed.
typeYesWhat the id is: a card or a sealed product.
sourceNoKeep one source.
currencyNoKeep only quotes already in this currency. Nothing is ever converted.
languageNoKeep quotes for copies in this language code, e.g. "en", "ja".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses cost (2 credits per call), data freshness (sources run about a day behind and every quote carries as_of), a hard non-conversion guarantee between EUR and USD, empty-list semantics ('no source quotes the item today, not that it does not exist'), and three named error codes with retry instructions. That is exactly the behavioral context annotations cannot carry.

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?

The core purpose is front-loaded in the first sentence and every subsequent sentence carries substantive information rather than filler. It is dense and unbroken, mixing return-field documentation with agent output rules (never quote without source and as_of), which makes it longer than ideal, but nothing is truly redundant.

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?

With no output schema, the description carries the full burden of describing the return shape and does so thoroughly: per-currency summary lines, per-row source/variant/language/condition/printing/amount/as_of, and the guidance to quote a specific row rather than the first number. Nothing an agent needs to call this correctly or report results faithfully is missing.

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 the baseline is 3, but the description adds real meaning: it explains that currency filtering never converts ('Nothing is converted'), and it spells out the variant vocabulary (LOWEST_NEAR_MINT, LOWEST, TREND, AVG_7D, AVG_30D, MARKET) plus per-printing granularity on TCGplayer, which shapes how the source/language filters should be interpreted.

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 opening sentence names a specific verb and resource — 'Every current quote for one card or one sealed product, by the id a search returned' — and immediately enumerates the returned fields (source, variant, language, condition, printing, region, amount, currency, as_of). It also ties itself to the search tools that produce the required id, so an agent can distinguish it from atcg_get_card 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?

It gives clear context (call it with an id from atcg_search_cards, atcg_list_set_cards or atcg_search_sealed) and explicit scope exclusions: 'this tool has no price history, and the API has no graded prices.' It also prescribes behavior on refusal (TRIAL_EXPIRED/QUOTA_EXCEEDED do not retry, RATE_LIMITED wait N seconds), though it never names a sibling alternative for the cases it excludes.

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