Skip to main content
Glama

Match tradelist

match_tradelist
Read-onlyIdempotent

What the CURRENT user could GET from another player: the cards in that player's tradelist that the user's decks or personal wantlist still miss. Takes their tradelist link (URL or bare token) or their handle ("@name": every tradelist they published). Each match says you_need, they_offer, wanted_by (the user's deck names, or "Personal wantlist") and copies[] with printing, finish, condition, language and unit_price in currency (default USD). A want that pins a printing matches that printing only. A proxy is never offered: the answer holds real cards only, and its proxy fields are always zero. copies[].breaks_decks names the other player's decks that claim or share the copy: say "trading this breaks their deck ". A row's lang is the language the user's list asks for; copies[].other_language marks a copy in another language: say "not the language asked for".

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": {
      "link": "<link>"
    },
    "name": "match_tradelist"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkYesFull share URL, bare token, or a handle written with its @
currencyNoDisplay currency. USD/EUR come from Scryfall; CHF is always EUR × the stored ECB rate. A response that carries `rate_missing` could not price in CHF at all: tell the user that, not that the cards have no price.

Output Schema

NameRequiredDescriptionDefault
totalYes
matchesYesWhat the user could get from the other player's tradelist

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / matches / items / properties / image_uri
      Added value: +{
      +  "description": "The wanted card's picture on Scryfall, to show as it is: the printing the list pins, else one printing of the card; null when a deck share withholds its printings or the catalogue has none. Each copy has its own",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / matches / items / required
      Previous value: -[
      -  "name",
      -  "scryfall_url",
      -  "printing",
      -  "lang",
      -  "quantity",
      -  "other_language_quantity",
      -  "breaks_decks",
      -  "includes_proxies",
      -  "proxy_quantity",
      -  "value",
      -  "unpriced_quantity",
      -  "you_need",
      -  "they_offer",
      -  "wanted_by",
      -  "copies"
      -]New value: +[
      +  "name",
      +  "scryfall_url",
      +  "image_uri",
      +  "printing",
      +  "lang",
      +  "quantity",
      +  "other_language_quantity",
      +  "breaks_decks",
      +  "includes_proxies",
      +  "proxy_quantity",
      +  "value",
      +  "unpriced_quantity",
      +  "you_need",
      +  "they_offer",
      +  "wanted_by",
      +  "copies"
      +]
  2. 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, openWorld and non-destructive, so the bar is lower, yet the description still adds real behavioral context: proxies are never offered and their fields are always zero, want-pinning restricts matches to one printing, and rate_missing must be reported as a pricing failure rather than as missing prices. It stops short of describing pagination or result-size limits.

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-loaded with the core purpose in the first clause, and every sentence supplies either matching semantics or agent-facing phrasing guidance. It is dense and runs long in a single block, with some return-field description that partially overlaps the output schema, but nothing is idle 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 two-parameter read tool with a full output schema and safety annotations, this covers everything an agent needs: how to pass the target, what a match row means, edge cases (printing-pinned wants, proxies, language mismatches, broken decks), and how to report a failed currency conversion.

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; the description still adds meaning beyond the schema by explaining that a bare '@name' handle matches every tradelist that player published, and it reinforces the currency caveat. The link format and currency derivation themselves are largely restated from 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 with explicit directionality: 'What the CURRENT user could GET from another player' and 'the cards in that player's tradelist that the user's decks or personal wantlist still miss'. This makes the read-direction distinction from a counterpart like match_wantlist inferable from the text itself, not from sibling names.

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

Usage Guidelines3/5

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

Usage is implied by the framing (find cards you can acquire from another player's tradelist) and the input forms (link/URL/token/@handle) are clear, but there is no explicit 'use this when' or 'use X instead when' statement, and no prerequisites or exclusions are 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.

Resources