Skip to main content
Glama
Baraja MCP Server

Baraja MCP Server

by jbkroner

get_problem_cards

Find cards needing attention by detecting low ease factor or high lapse count, with optional deck filtering and result limits for targeted review.

Instructions

Find cards that may need attention: low ease factor, high lapse count, or long intervals. Useful for identifying struggling cards.

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

Input Schema

NameRequiredDescriptionDefault
deckNoOptional deck name to filter. Searches all decks if not specified.
limitNoMaximum number of cards to return (default: 20)
criteriaNoType of problem cards to find. 'low_ease' finds cards with ease < 2.0, 'high_lapses' finds cards with 4+ lapses, 'all' finds both.all

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral disclosure burden. It explains what qualifies as a problem card but does not state that the operation is read-only, whether it has side effects, how results are ordered, or what the return payload looks like.

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?

The description is two short sentences with the purpose front-loaded and little wasted wording. Its only flaw is the extraneous and inconsistent mention of "long intervals," which does not correspond to any available criteria value.

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?

For a simple read-style query tool with fully documented parameters, the description is minimally adequate. It lacks guidance on alternatives, return behavior, and how "long intervals" relates to the actual criteria options, leaving gaps for an agent selecting among sibling card-query tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input parameters are already well documented. However, the description mentions "long intervals" as a problem criterion even though the criteria enum only supports low_ease, high_lapses, and all, creating misleading parameter-related expectations.

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?

The description states a specific verb and resource: "Find cards" that "may need attention," with examples of low ease, high lapses, and long intervals. This is clear enough for an agent to understand the tool's purpose, though it does not explicitly distinguish it from sibling tools like get_due_cards or get_suspended_cards.

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?

The phrase "Useful for identifying struggling cards" implies when to use the tool, but there is no explicit when-to-use or when-not-to-use guidance. No alternatives are named, so the agent must infer the appropriate context from the purpose statement alone.

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