Skip to main content
Glama

DeckCosmos

Sample opening hand

sample_hand
Read-onlyIdempotent

Shuffle the deck and draw a random 7-card opening hand (the commander stays in the command zone), plus optionally the next draws.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sample_hand"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardsNoAlternative to decklist: [{"name": "Sol Ring", "qty": 1}, ...] or plain names.
drawsNoAlso show the next N draws. Default 0.
decklistNoThe deck as text: one "1 Card Name" per line. Moxfield, Archidekt and Arena exports, .dek XML and CSV work; a "Commander" header line (or *CMDR*) marks the commander.
commanderNoCommander name, if the list does not mark it. Otherwise it is detected like on the website.

Output Schema

NameRequiredDescriptionDefault
handYesSeven cards.
commanderNoThe commander (in the command zone, not the hand).
next_drawsNoThe next draws, if asked.
lands_in_handNoLands in the hand.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so safety is covered. The description adds that the commander is excluded from the draw and that shuffling is random, which is genuine behavioral context, but it doesn't describe how randomness is seeded or what the response contains beyond the hand.

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?

One compact sentence front-loads the core action, with the commander caveat and optional draws appended efficiently. No filler or repetition of the title.

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 explained, and the schema covers parameters fully. The description is complete enough for correct invocation, though guidance on choosing this tool over draw_odds/simulate_deck would make it airtight.

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 description coverage is 100%, so all four parameters (cards, draws, decklist, commander) are already documented, including accepted formats and defaults. The description only reinforces that commander stays out of the hand; it adds no syntax beyond the schema. Baseline 3 applies.

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 (shuffle deck, draw a random 7-card opening hand) and scope details (commander stays in command zone, optionally next draws). This distinguishes it from siblings like draw_odds or build_deck, which do different things.

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 (simulating an opening hand) but gives no explicit when-to-use/when-not guidance or naming of alternatives like draw_odds for probability questions. The 'optionally the next draws' phrasing clarifies one variant but not sibling selection.

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