Skip to main content
Glama

List deck presets

list-deck-presets
Read-onlyIdempotent

Lists Anki deck presets with the number of normal decks using each, so you can audit preset usage. Requires AnkiConnect v1.

Instructions

Lists Anki deck presets and how many normal decks use each one. Requires AnkiConnect v1.

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-deck-presets"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo

Output Schema

NameRequiredDescriptionDefault
totalYes
hasMoreYes
presetsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds a real behavioral constraint in the AnkiConnect v1 requirement, but says nothing about ordering or how limit/offset truncate the result set.

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, front-loaded with the resource and its distinguishing detail, then the prerequisite. No waste.

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?

Return values are covered by the output schema and the prerequisite is stated, so the core is complete. The one gap is pagination semantics for the two optional parameters, which matters for a list tool that could return more presets than the default 50.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%: limit and offset appear only with types, defaults and bounds, with no explanation in either schema or description. Since both are optional pagination parameters, the description should clarify whether limit truncates the preset list and what offset pages over; it does not.

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?

States a specific verb and resource ('Lists Anki deck presets') and adds a meaningful detail about what each entry includes ('how many normal decks use each one'), which distinguishes it from list-decks and get-deck-preset. It stops short of naming a sibling or stating explicitly how it differs from those.

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?

Provides one useful prerequisite ('Requires AnkiConnect v1') but gives no guidance on when to choose this over get-deck-preset (single preset) or list-decks. Usage is implied by the name and description rather than stated.

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