Skip to main content
Glama

Predict card intervals

predict-card-intervals
Read-onlyIdempotent

Preview Anki's Again, Hard, Good, and Easy intervals for one card before reviewing, using read-only scheduler predictions that return labels and interval amounts.

Instructions

Read-only scheduler predictions for Again, Hard, Good, and Easy on one card. Returns Anki's labels and interval amounts, not an exact due time or eligibility to review. Does not answer the card, change scheduling, or use custom states from the GUI reviewer. 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": "predict-card-intervals"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardIdYesOne existing card ID, for example from search-cards.

Output Schema

NameRequiredDescriptionDefault
cardIdYesAnki card ID
sourceYes
answersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the read-only, idempotent, non-destructive annotations, the description explains that the result contains labels and interval amounts rather than exact due times or review eligibility. It also says the tool does not answer the card, change scheduling, or use custom GUI reviewer states, and it states the AnkiConnect v1 requirement. These are meaningful behavioral and environment details not supplied by annotations.

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, then adds output boundaries, side-effect exclusions, and the environment prerequisite. Every sentence contributes useful selection or invocation context, and there is no redundant filler.

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?

Given the single simple parameter, existing output schema, and rich annotations, the description supplies the remaining context an agent needs: what predictions are returned, what they are not, which actions are out of scope, and the AnkiConnect version requirement. No critical selection or invocation detail is missing.

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?

There is one required parameter and schema coverage is 100%, so the schema already documents the cardId type, constraints, and that it can come from search-cards. The description only says predictions are for 'one card' and does not add new parameter-level meaning. Baseline 3 is appropriate when the schema carries the 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 states a specific operation: read-only scheduler predictions for Again, Hard, Good, and Easy on one card. It also distinguishes the output from an exact due time and eligibility to review, and rules out answering the card or changing scheduling. This is enough to tell what the tool does without opening the 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?

The description makes clear when to use it: to get interval predictions for the four rating buttons on a single card. It also states important exclusions, such as not returning exact due times, eligibility, or custom GUI reviewer states, and not answering or rescheduling the card. It does not explicitly name alternative sibling tools for those adjacent tasks, so it stops short of full routing guidance.

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