Skip to main content
Glama

Create deck

create-deck
Idempotent

Creates an Anki deck by name or returns the existing deck with that name, including nested decks when names are separated with "::".

Instructions

Creates a deck or returns the existing deck with the same name. Use "::" to create nested decks.

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": {
      "name": "<name>"
    },
    "name": "create-deck"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesFull deck name. Use "::" between parent and child deck names, for example "Languages::German".

Output Schema

NameRequiredDescriptionDefault
deckYes
createdYesTrue when a new deck was created, false when it already existed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare idempotentHint=true and non-destructive behavior, but the description makes that concrete by stating it returns the existing deck when the name matches rather than failing or duplicating. It leaves open whether missing parent decks are auto-created, which is the main residual behavioral ambiguity.

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?

Two short sentences, the get-or-create behavior front-loaded and the nesting hint second. Every sentence carries information and there is no 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?

An output schema exists, so return values need not be explained, and the single parameter is fully documented in the schema. The definition is complete enough to call correctly, with only auto-creation of parent decks left unaddressed.

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% and the schema itself documents the single `name` parameter with the "::" nesting syntax and an example. The description's mention of "::" repeats rather than extends that, so the baseline of 3 applies.

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 names a specific verb and resource ("Creates a deck") and adds a non-obvious get-or-create nuance. It does not explicitly contrast itself with related siblings such as rename-deck or create-deck-preset, so it stops 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 implied rather than stated: call it with a name to create or fetch a deck. The "::" hint is really a parameter-format note rather than when-to-use guidance, and no alternatives or preconditions (e.g. parent must exist, use rename-deck for changes) are offered.

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