Skip to main content
Glama

Import Deck

import_deck

Parse Dreamborn/Pixelborn-style deck lists into resolved card objects, matching exact names first and returning fuzzy candidates for unresolved lines so users can disambiguate.

Instructions

Parse a Dreamborn/Pixelborn-style deck list (<count> <full_name> per line) into resolved card objects. Each line is matched to a card by exact full_name first; lines that don't match exactly are returned in unresolved with the top fuzzy candidates so the user can disambiguate. Returns {parsed: [{count, card}], unresolved: [{raw, candidates}]}. Blank lines, comments (#, //), totals (Total: 60), and bracketed section headers are silently skipped.

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

Input Schema

NameRequiredDescriptionDefault
textYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the exact-match-first resolution order, the fuzzy-candidate fallback for misses, and the silent-skip rules for blank lines, comments, totals, and section headers. It does not state whether the parse is purely read-only or whether an 'import' persists anything server-side, which is the one behavioral question an agent might still have.

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?

Four dense sentences, front-loaded with purpose, then resolution behavior, then return shape, then skip rules. Every sentence adds new information; nothing is restated from the title or 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 single-string-input tool, the description covers input grammar, matching strategy, failure handling, and edge cases that are silently ignored. An output schema exists, so the description's return-shape sentence is a bonus rather than a necessity, and nothing an agent needs to call this correctly is missing.

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

Parameters3/5

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

Schema coverage is 0% and the single `text` parameter is undocumented in the schema, so the description must compensate. It does so indirectly by describing the expected content ('`<count> <full_name>` per line', comments and totals ignored), which effectively defines what to put in `text`, but it never names the parameter or gives an example payload, leaving a modest gap.

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 opens with a specific verb+resource ('Parse a Dreamborn/Pixelborn-style deck list ... into resolved card objects') and even specifies the accepted line grammar, so an agent knows exactly what goes in and what comes out. It never names a sibling or states how it differs from export_deck, validate_deck, or resolve_card, which keeps it short of a 5.

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?

Usage is implied rather than stated: the accepted input format makes clear this is for turning pasted deck lists into card objects, but there is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as validate_deck for checking a list or resolve_card for a single name. The 'so the user can disambiguate' clause hints at a follow-up workflow but doesn't route the agent to a specific tool.

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