Skip to main content
Glama

List decks

list_decks
Read-onlyIdempotent

List all decks with format, card counts and allocation counts. editable false: the deck is past the decks the user's plan keeps editable. It still reads, shares, exports and deletes, and a change to it answers PLAN_LIMIT: say so.

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": "list_decks"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
decksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / decks / items / properties / companion_scryfall_id
      Added value: +{
      +  "description": "The companion, a sideboard row; null for none",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / decks / items / required
      Previous value: -[
      -  "id",
      -  "name",
      -  "format",
      -  "description",
      -  "commander_scryfall_id",
      -  "partner_scryfall_id",
      -  "card_count",
      -  "editable",
      -  "created_at",
      -  "updated_at"
      -]New value: +[
      +  "id",
      +  "name",
      +  "format",
      +  "description",
      +  "commander_scryfall_id",
      +  "partner_scryfall_id",
      +  "companion_scryfall_id",
      +  "card_count",
      +  "editable",
      +  "created_at",
      +  "updated_at"
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), yet the description adds genuinely non-obvious context: what `editable` false means for plan limits, that read/share/export/delete still work on such decks, and that mutations surface PLAN_LIMIT. That is real value beyond the structured fields, though it stops short of describing ordering or volume of results.

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?

Two sentences, purpose front-loaded, and every clause carries information about output content or plan-limit handling. The phrasing "past the decks the user's plan keeps editable" is slightly convoluted and the backtick notation is a bit dense, but nothing is wasted.

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?

With an output schema present, the description need not enumerate return shapes, and it still flags the one field with non-obvious semantics. For a zero-parameter read tool with full annotation coverage, the definition is essentially complete; only result ordering/pagination is unaddressed.

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?

The tool takes zero parameters, so the baseline is 4; there is nothing for the description to disambiguate. The mention of `editable` refers to a returned field rather than an input, so it does not conflict with the empty schema.

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?

Names a specific verb and resource ("List all decks") and states the fields surfaced (format, card counts, allocation counts), so the agent knows what it gets back. It does not explicitly distinguish itself from siblings such as show_buildable_decks or deck_stats, so it falls short of full sibling differentiation.

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 only implied by "List all decks"; there is no explicit when-to-use or when-not-to-use statement versus the deck-oriented siblings. The second sentence gives valuable handling guidance for the `editable` false case (mutations answer PLAN_LIMIT and should be reported), but that is post-call behavior rules rather than selection guidance.

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