Skip to main content
Glama

Export Deck

export_deck

Render a Lorcana deck as a plain-text, Dreamborn/Pixelborn-compatible list (count and full card name per line) for pasting into deck builders or tournament submissions.

Instructions

Render a Lorcana deck as a Dreamborn/Pixelborn-compatible text deck list (<count> <full_name> per line, no sections, no set codes). Each entry is {name: str, count: int} where name is the card's full_name from search_cards (e.g. 'Mickey Mouse - Brave Little Tailor'). Returns plain text suitable for pasting into Dreamborn, Pixelborn, untap.in, or a Limitless tournament submission.

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

Input Schema

NameRequiredDescriptionDefault
deckYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the serialization rules (`<count> <full_name>` per line, no sections, no set codes) and the target platforms, but says nothing about how invalid or unresolved card names are handled, ordering of entries, or error behavior.

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 output contract in the first sentence and the parameter contract in the second, with no filler. The heavy parenthetical detail makes it dense but each clause adds information an agent needs.

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

Completeness4/5

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

An output schema exists, so return values needn't be re-explained, and the single parameter is thoroughly documented. The remaining gap is edge-case behavior — what happens with malformed or unresolvable deck entries — which matters somewhat for a tool whose whole job is format fidelity.

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 0% and the schema only declares an array of untyped objects, yet the description fully specifies the element shape `{name: str, count: int}`, defines `name` as the card's `full_name` from search_cards, and gives a concrete example. This is meaning the schema cannot supply on its own.

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 (render/export) and resource (a Lorcana deck) plus the exact output artifact — a Dreamborn/Pixelborn-compatible text deck list. The line format is spelled out, so an agent can distinguish this immediately from siblings like import_deck or validate_deck.

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?

Usage context is clear: this produces text for pasting into Dreamborn, Pixelborn, untap.in, or a Limitless submission, which implies when to reach for it. It stops short of explicit exclusions or naming the sibling to use instead (e.g., validate_deck before exporting), so it is not a 5.

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