Skip to main content
Glama

Get card decks

get-card-decks
Read-onlyIdempotent

Groups specified card IDs by their current deck to show which Anki deck each card belongs to.

Instructions

Groups the specified card IDs by their current deck.

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": {
      "cardIds": "<cardIds>"
    },
    "name": "get-card-decks"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardIdsYesIDs of cards whose deck assignments should be returned

Output Schema

NameRequiredDescriptionDefault
decksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is fully covered. The description adds only that results are keyed by current deck, which is a small but genuine behavioral detail about the shape of the mapping. No mention of behavior for unknown or unassigned cards.

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?

One short, front-loaded sentence with no filler. It is arguably too terse for a tool whose behavior on edge cases an agent might care about, 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?

For a single-parameter read tool with full schema coverage, rich annotations, and an output schema that carries the return structure, the description covers the essentials. Only the missing usage routing and edge-case behavior keep it from being complete.

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 100% and the single cardIds parameter is documented in the schema itself. The description restates the parameter's meaning but adds no format, batching, or size-limit detail, so it lands at the baseline for fully documented schemas.

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?

"Groups the specified card IDs by their current deck" names a concrete operation and the axis of grouping, so the agent knows it retrieves deck assignments for cards. It is clearly distinct from list-decks and get-card-details, though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to pick this over get-card-details or list-decks, and no stated preconditions (e.g., that card IDs must exist or belong to the collection). The agent must infer the use case entirely from the one sentence.

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