Skip to main content
Glama

Get card due status

get-card-due-status
Read-onlyIdempotent

Check one Anki card's due time and scheduling eligibility, optionally including learn-ahead, to determine if it is due or available without changing the deck.

Instructions

Checks one card's due time and per-card scheduling eligibility in Anki, optionally including learn-ahead. New cards can be available without being due. Does not account for daily deck limits, promise the card will be shown next, or change Anki. Requires AnkiConnect v1.

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": {
      "cardId": "<cardId>"
    },
    "name": "get-card-due-status"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardIdYesOne existing card ID, for example from search-cards.
includeLearnAheadNoTreat cards within Anki's learn-ahead window as available, without marking them due.

Output Schema

NameRequiredDescriptionDefault
cardIdYesAnki card ID
dueNowYesThe scheduled time or study day has arrived. Excludes new cards and learn-ahead.
availableYesEligible by the card's queue and timing, including new cards. Ignores daily deck limits and review order.
learnAheadYesThe card is not due yet but is within Anki's learn-ahead window, regardless of includeLearnAhead.
includeLearnAheadYesWhether the request counted learn-ahead cards as available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so 'does not change Anki' is largely redundant. The genuinely additive disclosures are the limits of the answer (ignores daily deck limits, does not promise next-up ordering) and the AnkiConnect v1 dependency, which is useful environment context but not deep behavioral detail.

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?

Four short sentences, each earning its place: purpose first, then the key gotcha about new cards, then the negative scope, then the dependency. No filler and no repetition of the tool name.

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?

An output schema exists, so return-value detail is unnecessary. For a two-parameter read that answers a subtle scheduling question, the description supplies the interpretation caveats and dependency requirement an agent needs to avoid misusing the result.

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 coverage is 100%, and both parameters carry their own descriptions including the learn-ahead nuance ('without marking them due'). The description adds only the phrase 'optionally including learn-ahead,' which the schema already explains, so 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 gives a specific verb and resource plus scope: 'Checks one card's due time and per-card scheduling eligibility in Anki.' The 'per-card' qualifier and the explicit statement that daily deck limits are out of scope separate it cleanly from collection- or deck-level stats tools in the sibling list.

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 establishes clear context for use ('New cards can be available without being due' and the optional learn-ahead mode) and rules out expectations (no daily deck limits, no guarantee the card is shown next). It stops short of naming a concrete alternative tool for those broader questions, so it is strong context rather than explicit routing.

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