Skip to main content
Glama

Create deck preset

create-deck-preset

Create a new unassigned Anki deck preset from native defaults or by copying an existing preset, without replacing or assigning presets; requires AnkiConnect v1.

Instructions

Creates an unassigned deck preset from native defaults or an existing preset. Does not replace or assign a preset. Requires AnkiConnect v1.

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-preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
cloneFromPresetIdNoCopy an existing preset instead of using Anki defaults

Output Schema

NameRequiredDescriptionDefault
presetYes
verifiedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds real context on top: the created preset is unassigned, nothing existing is replaced or reassigned, and a version prerequisite applies. It does not address what happens when a preset with the same name already exists, which matters given idempotentHint=false.

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?

Three short sentences, each doing distinct work: purpose and input source first, scope exclusion second, prerequisite last. No filler and no repetition of schema detail.

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 and annotations are present, so return values and safety need not be restated; the description correctly focuses on scope and prerequisites. The only meaningful gap for a create tool is duplicate-name behavior, which affects whether a caller should pre-check with list-deck-presets.

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 50%: cloneFromPresetId is already documented in the schema, and the description's "from native defaults or an existing preset" usefully frames the omitted-vs-provided branch. The required name parameter, however, gets no semantic guidance (uniqueness rules, whether duplicates are rejected) beyond the schema's length bounds, so this sits at the baseline.

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 and resource ("Creates an unassigned deck preset") plus the two source options (native defaults or an existing preset). The clause "Does not replace or assign a preset" distinguishes it from sibling tools like assign-deck-preset, update-deck-preset, and delete-deck-preset without needing to name them.

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?

Gives clear selection context: create a new preset from defaults or clone from an existing one via the optional id, and notes it does not replace or assign. It also states the prerequisite "Requires AnkiConnect v1." It stops short of explicitly routing the agent to update-deck-preset or assign-deck-preset for those jobs.

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