Skip to main content
Glama

get_due_cards

Retrieve scheduled Anki flashcards ready for review. Specify the number of cards to fetch, and get them ordered by due date with questions, answers, and timestamps.

Instructions

Retrieve cards that are due for review. Returns JSON object with 'count' (number of cards) and 'cards' array. Each card includes: cardId (number), question (HTML cleaned string), answer (HTML cleaned string), due (Unix timestamp). Ordered by due date (earliest first).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numYesREQUIRED. Number of due cards to retrieve (positive integer). Example: 10 returns the 10 earliest due cards.
Behavior4/5

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

With no annotations provided, the description carries full burden and does well: it discloses the return format (JSON with count and cards array), data structure details (card fields and types), ordering behavior (by due date earliest first), and that it retrieves a specified number of cards. It doesn't mention permissions, rate limits, or error handling, but covers core behavioral aspects adequately.

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 front-loaded with the core purpose, followed by essential details about return format and ordering. Every sentence adds value: first states what it does, second describes output structure, third specifies card fields, fourth explains ordering. No wasted words.

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 read-only tool with 1 parameter and no output schema, the description provides good completeness: it explains what the tool does, what it returns, and how results are ordered. It could mention if there are authentication requirements or pagination, but covers the essential context well given the tool's simplicity.

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 schema already documents the 'num' parameter fully. The description adds no additional parameter information beyond what's in the schema, but doesn't need to compensate. Baseline 3 is appropriate as the schema handles parameter documentation.

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 clearly states the tool's purpose with a specific verb ('Retrieve') and resource ('cards that are due for review'), and distinguishes it from siblings like 'get_card' (single card) and 'get_new_cards' (different card type). It explicitly defines what 'due' means in this context.

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?

The description implies usage for reviewing due cards, which differentiates it from siblings like 'add_card' or 'update_card', but doesn't explicitly state when to use this versus alternatives like 'get_new_cards' or provide exclusion criteria. The context is clear but lacks explicit alternatives guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/letuanvu08/anki-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server