Skip to main content
Glama

Set completion

set_completion
Read-onlyIdempotent

Collection completion for one set, optionally one rarity ("Which uncommons from Ravnica Remastered am I missing?" → set "ravnica remastered", rarity "uncommon"). Accepts a set code or name. Every printing in the set is classified once: owned (≥1 real copy of this exact printing) | owned_other_printing (real copy from a different set only) | proxy_only (the user's only copies are proxies) | missing (no copy at all). counts always covers all four; status picks which card lists are returned — the default "missing" also includes the proxy_only and owned_other_printing lists for disclosure. Missing cards are priced cheapest-first in currency (default USD; cached prices at most 7 days old); price_to_complete covers every card not owned as a real copy of this set's printing. finish "foil" answers "which foils am I missing": only printings that exist in foil/etched are in scope, only foil/etched copies count as owned, prices switch to foil prices, and missing entries carry owned_nonfoil when the user holds the card in nonfoil ("nonfoil" is symmetric via owned_foil — mention these wrong-finish copies when reporting). Foil-only printings are always priced from their foil price; with the default finish "any", owned entries report foil_quantity when some copies are foil/etched. DISCLOSURE: when proxy_only is non-empty, tell the user those cards are proxies — physically present but not tournament-legal and not tradeable — and never count them as collected.

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": {
      "set": "<set>"
    },
    "name": "set_completion"
  }
}

Input Schema

NameRequiredDescriptionDefault
setYesSet code ("rvr") or set name ("Ravnica Remastered")
finishNoFinish goal (default "any"). "foil" = foil-set tracking: foil/etched-capable printings only, foil/etched copies count, foil prices
rarityNo
statusNoWhich card lists to return (default "missing", which includes the disclosure lists)
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
setYes
noteNo
ownedNo
totalYesPrintings in scope
countsYes
finishYes
rarityYesThe rarity asked, or "all"
missingNo
completeYes
currencyYes
proxy_onlyNoCards held only as proxies, never collected. Proxies are not real cards: never counted as owned, always said
completion_pctYes
proxy_disclosureNoPresent when proxy_only is not empty: relay it
price_to_completeYesEvery card in scope not owned as a real copy of this printing, missing ones unpriced left out
owned_other_printingNoOwned only in another set's printing

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?

Annotations already establish read-only and non-destructive behavior, but the description adds substantial operational context: four-way classification of every printing, counts always covering all four statuses, default status including disclosure lists, cheapest-first pricing with cache age, finish-specific scope and pricing, and required proxy disclosure. These details materially change how an agent should interpret and report results.

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 with purpose and classification, and most sentences carry necessary behavioral detail for a complex tool. It is dense and uses long parenthetical sentences, so it could be easier to scan, but there is little outright waste.

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?

Given the five parameters, rich status/finish/currency semantics, and an output schema, the description covers the operational behavior an agent needs: classification, status defaults, pricing rules, finish scope, and mandatory disclosure. Return field details can safely live in the output schema.

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?

Schema coverage is already 80%, but the description adds meaning beyond the schema for key parameters: set accepts a code or name, rarity scopes the request, status governs which lists are returned and what 'missing' includes, currency controls pricing with a CHF rate caveat, and finish changes scope, ownership counting, and price selection. The finish/nonfoil symmetry and owned_nonfoil/owned_foil reporting details are especially useful.

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 description states a specific verb and resource: collection completion for one set, optionally one rarity, with a concrete user-question example. It does not explicitly differentiate itself from sibling tools such as set_handle, so it falls short of the top score despite being immediately understandable.

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 clearly frames the user question this answers and explains optional rarity narrowing plus default status behavior. It does not provide explicit when-not guidance or named alternatives, so it offers clear context without exclusions.

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