Skip to main content
Glama

Get deck statistics

get-deck-stats
Read-onlyIdempotent

Retrieve scheduler counts for selected Anki decks or all decks when no names are supplied; the request fails if a specified deck does not exist.

Instructions

Returns scheduler counts for selected decks, or for all decks when no names are provided. Fails if a requested deck does not exist.

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": "get-deck-stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
namesNoDecks to inspect. Omit to return statistics for every deck.

Output Schema

NameRequiredDescriptionDefault
decksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered elsewhere. The description adds genuinely new behavioral information by disclosing the failure mode for nonexistent decks, which is not derivable from the annotations or schema.

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 with no filler. The primary behavior is front-loaded and the error condition follows immediately as a secondary caveat.

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 described, and the deck-name format is fully specified in the schema. What remains is that 'scheduler counts' is not unpacked (e.g. new/learn/review breakdowns), which leaves the nature of the payload slightly opaque without opening the output schema.

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 already documents both the omit-for-all behavior and the '::' separator convention with an example. The description restates the optional-names semantics but adds no format or syntax detail beyond the schema, so the baseline 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?

States a specific verb and resource ('Returns scheduler counts for selected decks') and defines the scope of the default case (all decks when no names are given). It does not name or distinguish itself from the closest sibling, get-study-stats, so an agent must infer the boundary between 'scheduler counts' and 'study stats'.

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 usage context: pass names to target decks, omit to get every deck, and expect failure if a deck name is invalid. It stops short of explicit exclusions or naming an alternative tool for a different kind of statistics, so it is not a 5.

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