Skip to main content
Glama

Add holdings

add_holdings

Add physical cards to the collection (bulk). Each item is a card reference (scryfall_id, or name [+ set_code, collector_number]) plus holding attributes. quantity ≥ 1 identical copies form one stack. Defaults: finish nonfoil, condition NM, lang en, origin "single", location "Unsorted" (created if missing; any unknown location name is auto-created). purchase_price is PER CARD in purchase_currency (USD/EUR/CHF). Unresolvable names are returned under "unresolved", the rest are added. A set_code (and collector_number) names one printing: an item whose card is not there comes back under "unresolved", naming the nearest printing. The list is added in one write: an item the collection refuses (an origin printed_proxy or bought_proxy with is_proxy false, a blank location) refuses the whole call and nothing is added. A name that is no card's exact name was added as Scryfall's closest match, and a name in another language as its English card: each is listed under "inexact" with the card it became (matched_by fuzzy or other_language). Tell the user which card was added for each fuzzy one. From a photo of cards, every name, set and finish is your own reading: list them and get the user's yes before adding.

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": {
      "items": "<items>"
    },
    "name": "add_holdings"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesMax 75 items per call (Scryfall batch limit). Send the whole list in one call: it is resolved in one batch.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: defaults, auto-created locations, per-card purchase price semantics, all-or-nothing write behavior, unresolved and inexact match handling, and a photo-reading confirmation workflow. This gives an agent substantial context about consequences and edge cases.

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 description is front-loaded and every major sentence contributes useful behavior or constraints. It is dense and somewhat run-on across many semicolon-separated clauses, so readability could be improved with structure, but it is not padded.

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 complex bulk-write tool with no output schema, the description covers the important behaviors an agent needs: defaults, atomicity, unresolved and inexact outcomes, proxy rules, and user confirmation for photo-derived data. The annotations align with the described mutation and external-lookup behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 100% schema coverage, the description adds operational meaning: item references can be scryfall_id or name plus set_code/collector_number, quantity represents identical copies in a stack, purchase_price is per card, and defaults apply to finish, condition, lang, origin, and location. It also explains how set_code and collector_number select a specific printing and how proxy origins interact with is_proxy.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb and resource: "Add physical cards to the collection (bulk)." It is clear what the tool does and that it is bulk-oriented. It does not explicitly name or distinguish sibling tools such as import_batch, so it falls short of the top score.

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?

The description gives clear operational context: send the whole list, handle unresolved and inexact matches, and confirm photo-derived readings with the user before adding. It does not explicitly state when to use this tool versus alternatives, so it lacks exclusions or sibling routing.

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