Skip to main content
Glama
matthewdtowles

iwantmymtg-mcp

get_sealed_products

List sealed Magic: The Gathering products for a set, including booster boxes, bundles, and commander decks, with TCGPlayer purchase links.

Instructions

List sealed products (booster boxes, bundles, commander decks, etc.) for a set. Each entry includes a TCGPlayer purchase URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes

Implementation Reference

  • Tool definition and handler for get_sealed_products. It takes a set 'code' and fetches sealed products via TCGPlayer API.
    export const getSealedProductsTool = {
      name: "get_sealed_products",
      description:
        "List sealed products (booster boxes, bundles, commander decks, etc.) for a set. Each entry includes a TCGPlayer purchase URL.",
      inputSchema: z.object({ code: z.string() }),
      handler: ({ code }: { code: string }) =>
        apiFetch({ path: `/api/v1/sets/${encodeURIComponent(code)}/sealed-products` }),
    };
  • Input schema: expects a single string property 'code' for the set code.
    inputSchema: z.object({ code: z.string() }),
  • Registration of getSealedProductsTool in the tools array.
    getSealedProductsTool,
  • src/tools/index.ts:4-4 (registration)
    Import of getSealedProductsTool from sets.ts into the tool registry.
    import { searchSetsTool, getSetTool, listSetCardsTool, getSealedProductsTool } from "./sets.js";
Behavior3/5

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

No annotations are provided, so the description carries full burden. It adds that each entry includes a purchase URL, but does not disclose read-only nature, rate limits, or required permissions.

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?

The description is a single sentence, front-loaded with the main action, concise without unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists; the description mentions URL but not other fields like name or price. For a list tool, more detail on response structure would improve completeness.

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

Parameters2/5

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

With 0% schema description coverage, the description should explain the 'code' parameter. It only says 'for a set', which is insufficient to specify format or expected values.

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 description clearly states the tool lists sealed products for a set, with examples and mention of TCGPlayer purchase URL. It distinguishes from siblings like get_set or list_set_cards.

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?

The description implies usage for retrieving sealed products of a set but does not explicitly state when to use this tool over siblings or mention prerequisites or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matthewdtowles/iwantmymtg-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server