Skip to main content
Glama

Create deck

create_deck

Create a deck. Formats: commander | pdh (Pauper Commander) | dc (Duel Commander) | standard | pioneer | modern | legacy | vintage | pauper | casual (default casual). A location of kind "deck" with the same name is created automatically — sleeved cards physically live there. For commander, pdh and dc decks pass the commander as a card reference; it is added to the deck list automatically. A pair (Partner, "Choose a Background" + a Background, Doctor's companion + a Doctor) goes in commander + partner. A companion (Lurrus, Yorion, …) goes in companion: it is added to the sideboard (outside the 100 in a commander format, one of the 15 elsewhere), and deck_health checks its condition: a card that breaks it makes the deck not legal, and the issue names it. Never refused for the plan: a deck past the decks the user's plan keeps editable is made with its list and answers editable:false and plan_limit, which names the decks that take edits: relay it.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
formatNo
partnerNoThe second commander of a pair
commanderNo
companionNoThe companion: a card with the Companion ability, kept in the sideboard
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / companion
      Added value: +{
      +  "description": "The companion: a card with the Companion ability, kept in the sideboard",
      +  "properties": {
      +    "collector_number": {
      +      "description": "Collector number within the set",
      +      "type": "string"
      +    },
      +    "name": {
      +      "description": "Card name in English or any language Scryfall prints (\"Blitzschlag\", \"Foudre\", \"稲妻\"), used when scryfall_id is absent; an English name is also fuzzy-resolved via Scryfall",
      +      "type": "string"
      +    },
      +    "scryfall_id": {
      +      "description": "Exact Scryfall printing id, if known",
      +      "type": "string"
      +    },
      +    "set_code": {
      +      "description": "Set code, e.g. \"2xm\"",
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say it is a non-idempotent, open-world, non-destructive write. The description adds real behavioral context: a location is auto-created as a side effect, the commander is auto-added to the list, the companion is auto-placed in the sideboard with format-dependent counts, and deck_health will flag a broken companion condition. It also discloses the plan-limit path (editable:false plus a plan_limit field to relay) instead of an error.

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 action and the format list, then moves to side effects and edge cases in a logical order with zero filler. It is a single dense run-on paragraph, and the plan-limit sentence ("Never refused for the plan: a deck past the decks...") is grammatically tangled enough to require a re-read.

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 6-parameter mutation tool with nested objects and no output schema, the description covers the cases an agent would otherwise get wrong: format defaults, commander/partner/companion placement rules, and the non-error plan-limit outcome including the field to surface to the user. Nothing essential to a correct call 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?

Overall coverage is 33%, but the nested card-reference objects document their name/set_code/scryfall_id/collector_number fields in-schema; the description compensates for the top-level gaps by spelling out every format enum value and its default, plus the exact semantics of commander vs partner vs companion. The only thin spot is the top-level "description" parameter, which is not mentioned at all.

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+resource ("Create a deck") and immediately enumerates the accepted formats, then describes the automatic creation of a same-named location of kind "deck". This distinguishes it from create_location and from import_deck (which presumably takes an existing list) without ambiguity.

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?

Gives concrete conditional instructions: pass the commander as a card reference for commander/pdh/dc; a Partner pair goes in commander + partner; a Companion goes in companion and lands in the sideboard. It does not explicitly compare against sibling tools (e.g. when to prefer import_deck over create_deck), so it stops short of full alternative 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