Skip to main content
Glama
Baraja MCP Server

Baraja MCP Server

by jbkroner

add_cloze_card

Creates a cloze deletion flashcard in a specified Anki deck using {{c1::deletions}} markup, with optional tags and extra back-side context.

Instructions

Add a cloze deletion card. Text should contain {{c1::deletions}} markup.

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": {
      "deck": "<deck>",
      "text": "<text>"
    },
    "name": "add_cloze_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
deckYesTarget deck name
tagsNoOptional tags
textYesText with {{c1::deletions}} marked
extraNoAdditional context shown on back

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden but only states that it adds a card and requires cloze markup. It says nothing about deck requirements, duplicate handling, permissions, side effects, or what is returned after creation.

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?

Two short sentences, no wasted wording, and the essential cloze markup requirement is front-loaded after the action statement.

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 card-creation tool with a fully described schema, the description covers the core call but leaves mutation behavior and result expectations unstated. No annotations or output schema are present to fill those gaps.

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 input schema already documents deck, tags, text, and extra. The description only repeats the cloze markup requirement for text and adds no meaning beyond the structured schema.

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 verb and resource: 'Add a cloze deletion card.' This clearly distinguishes it from the sibling add_flashcard by card type.

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

Usage Guidelines2/5

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

It specifies the required cloze markup format but gives no guidance on when to choose this tool over add_flashcard or add_flashcards_batch. No conditions, exclusions, or alternatives are mentioned.

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