Skip to main content
Glama

import_deck

Import a Magic decklist from pasted text or deck-building site URL to store for buildability analysis, returning the deck ID and unmatched card names.

Instructions

Import a decklist and store it for buildability analysis. Provide exactly one of text (pasted Arena/MTGO list) or url (Archidekt or Moxfield). Optional meta metadata: best_of (1 or 3), tier, meta_share (0..1) feed the best_buildable_deck ranking. Set allow_scrape=true to attempt an MTGGoldfish URL (unreliable). Returns the deck id and any card names that couldn't be matched.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
nameNo
textNo
tierNo
formatNo
best_ofNo
meta_shareNo
allow_scrapeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description discloses that the deck is stored, the return value (deck id and unmatched card names), and that scraping is unreliable. It doesn't mention side effects like duplicate handling or failure behavior, but it's reasonably transparent for an import operation.

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 four sentences, front-loaded with the main purpose, followed by param details and return value. Every sentence adds value with no redundancy or filler.

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?

For an import tool with 8 parameters and no annotations, the description covers the essential aspects: what, how, special cases, and expected output. It omits details on `name` and `format`, and doesn't discuss error scenarios, but it's adequate for a well-scoped tool.

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?

Schema coverage is 0%, so the description carries the burden. It explains most parameters: `text` (Arena/MTGO list), `url` (Archidekt/Moxfield), `best_of` (1 or 3), `meta_share` (0..1), `tier`, and `allow_scrape`. However, `name` and `format` are not described, leaving a small gap.

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 imports a decklist and stores it for buildability analysis, distinguishing it from siblings like list_decks and search_cards. The verb 'import' and resource 'decklist' are specific and the purpose is explicit.

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 provides clear usage context by specifying that exactly one of `text` or `url` must be provided, and explains when `allow_scrape` is appropriate (MTGGoldfish, though unreliable). However, it doesn't explicitly name alternative tools or say when not to use this tool.

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/fkadriver/mtga-mcp'

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