Skip to main content
Glama

Get study statistics

get-study-stats
Read-onlyIdempotent

Read collection-wide Anki review counts for the current study day and recent days that have reviews, with an optional limit on recent days included.

Instructions

Reads collection-wide review counts for Anki's current study day and recent days with reviews. Does not change data or include per-deck counts.

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-study-stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitDaysNoMaximum number of recent days with reviews. Days without reviews are omitted.

Output Schema

NameRequiredDescriptionDefault
hasMoreYes
nextDayAtYesNext Anki day boundary; unavailable in legacy mode
todayDateYesAnki's scheduler date; unavailable in legacy mode
reviewDaysYes
reviewedTodayYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so "Does not change data" largely restates structured data. What the description does add is the framing of results around Anki's study day and the exclusion of per-deck breakdowns; return shape is covered by the output schema, so little more is required, but no notes on day-rollover or counts semantics are given.

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 what is returned, followed immediately by scope exclusions. Nothing is redundant or padded.

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 single optional-parameter read tool with rich annotations and an output schema, the description covers scope, exclusions and read-only behavior adequately. It stops short of explaining how the study-day boundary is determined or how counts relate to the limitDays window, which would fully close the loop.

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 single limitDays parameter is fully documented in the schema, including default, bounds and the omission of unreviewed days. The description's "recent days with reviews" reinforces that meaning but adds no new syntax or edge-case guidance beyond it, so the baseline 3 applies.

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?

The description names a specific verb ("Reads") and a precise resource ("collection-wide review counts") and bounds the time window ("Anki's current study day and recent days with reviews"). The clause "Does not include per-deck counts" lets an agent separate it from the deck-level sibling without opening either schema.

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?

It gives a clear selection signal: use this for aggregate collection-wide numbers, not per-deck figures, which implicitly routes deck-level questions to get-deck-stats. It does not explicitly name that alternative or state a when-not condition beyond the per-deck exclusion, so it falls short of a full 5.

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