Skip to main content
Glama
Baraja MCP Server

Baraja MCP Server

by jbkroner

get_due_cards

Finds cards due for review in your Anki collection, with optional deck filtering and a return limit for targeted study sessions.

Instructions

Find cards that are due for review.

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_due_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckNoOptional deck name to filter
limitNoMaximum cards to return (default: 50)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. It does not confirm the call is a non-mutating read, does not describe the return shape or ordering of the card list, and does not explain what happens when no cards are due. For a zero-annotation tool this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler, so nothing needs trimming. The tradeoff is that its terseness leaves no room for the behavioral context the tool otherwise lacks.

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

Completeness3/5

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

The tool is simple (two optional params, no nested objects, no output schema), and the schema fully documents its inputs. However, with no annotations and no output schema, the description should have covered at least the read-only nature and what the returned cards look like; it does neither.

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% with both parameters (deck, limit) fully documented including the default of 50, so the schema does the heavy lifting and the baseline of 3 applies. The description adds no extra meaning such as whether deck matching is exact or case-sensitive, or what happens when limit is exceeded.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

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

States a specific verb and resource plus a scope qualifier: 'Find cards that are due for review.' An agent can tell this returns a filtered card list rather than deck, note, or stats data. It stops short of naming which sibling handles non-due cards (e.g. get_problem_cards, get_suspended_cards), so no explicit differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the 'due for review' scope rather than stated: no guidance on when to prefer this over get_problem_cards or get_suspended_cards, and no note about whether review ordering or scheduling state matters. The self-describing scope makes the trigger fairly obvious, but nothing is explicit.

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