Skip to main content
Glama

Get study summary

get-study-summary
Read-onlyIdempotent

Retrieve read-only Anki study totals for the whole collection or a deck with subdecks, including card and note counts, answer history, time, and current card categories.

Instructions

Read-only structured Anki totals for the whole collection or one deck including its subdecks. Returns card and linked-note counts, recorded answers and time across available history, and current card categories. For today's workload use get-deck-stats. 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": "get-study-summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckIdNoDeck ID from list-decks. Includes child decks. Omit for the whole collection.

Output Schema

NameRequiredDescriptionDefault
scopeYes
summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds context beyond them: the history span is 'across available history' (not just today), deck scope includes subdecks, and there is a version dependency on AnkiConnect v1. Return shape is left to the output schema, which is acceptable.

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, zero filler: capability and scope first, return content second, sibling routing and prerequisite last. Nothing repeats the tool name or title verbatim.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-optional-parameter read tool with full annotation coverage and an output schema, the description covers scope, return subject matter, the alternative for a related need, and the environment prerequisite. An agent has everything needed to select and call it correctly.

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 deckId parameter is already documented as coming from list-decks, including child decks, with omit-for-whole-collection semantics. The description restates the deck-vs-collection choice but adds no format or edge-case 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific read operation on a specific resource ('structured Anki totals') with explicit scope ('whole collection or one deck including its subdecks') and enumerates what is returned (card/linked-note counts, answers, time, card categories). It also names the sibling it is not, so an agent can separate it from get-deck-stats 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?

Explicitly routes the 'today's workload' case to get-deck-stats, which is a real when-to-use-alternative signal, and adds the prerequisite 'Requires AnkiConnect v1'. It does not state a negative case for this tool beyond that single routing rule, so it stops short of full when/when-not coverage.

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