Skip to main content
Glama
Baraja MCP Server

Baraja MCP Server

by jbkroner

get_deck_stats

Retrieve statistics for an Anki deck, including counts of new, learning, and review cards, to track study progress and workload.

Instructions

Get statistics for a deck including new, learning, and review card counts.

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

Input Schema

NameRequiredDescriptionDefault
deckYesDeck name to get statistics for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It helpfully states which statistics are returned, but it does not explicitly confirm read-only behavior, permissions, deck-name matching behavior, or error handling. The 'get' verb strongly implies a safe read, but the description could do more.

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?

The description is a single, front-loaded sentence with no filler. It states the resource, the result category, and the included metrics efficiently.

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 simple one-parameter read tool, the description is mostly complete: it identifies the deck scope and lists the key returned metrics. The main remaining gap is lack of guidance on deck-name resolution, but the tool's low complexity makes this a minor omission.

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%, so the single deck parameter is already documented in the schema. The description adds only the general context that statistics are deck-specific, without clarifying deck-name format, case sensitivity, or behavior when the deck is missing.

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 gives a specific verb and resource (get statistics for a deck) and names the metric categories included: new, learning, and review card counts. This clearly distinguishes it from collection-wide or card-level statistics, though it does not explicitly name those sibling tools.

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?

The description implies the tool is used when deck-level counts are needed, but it gives no explicit when-to-use guidance and does not mention alternatives such as get_collection_stats, get_card_stats, or get_retention_stats. An agent must infer the boundary from the phrase 'for a deck.'

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