Skip to main content
Glama

Taalhammer

Preview cards

preview_flashcards
Read-only

When the user wants flashcards written in the conversation saved and has not named the collection they go to — e.g. "save these words", "show me the cards first" — or once the cards of a new collection are written. Lists the card texts with where they can go: one of the user's own collections for that language pair, or a new collection with a name. In the Taalhammer card view the user picks the collection and saves there. Checked against the same limits as saving (1–200 cards, each side up to 2,000 characters). Saves nothing itself; saving is import_flashcards (create_collection for a new one). Requires the user's Taalhammer account.

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": {
      "source_lang": "<source_lang>",
      "target_lang": "<target_lang>",
      "items": "<items>"
    },
    "name": "preview_flashcards"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes1–200 cards, e.g. {"source": "the kitchen", "target": "de keuken"}.
levelNoOptional CEFR level of the cards, e.g. 'A2' (A1–C2); a new collection is created with it.
new_titleNoOptional name for a NEW collection, e.g. 'Love — Dutch A2'. Given without collection_id = the cards are offered for a new collection with this name.
source_langYesISO code of the source side, e.g. 'en'.
target_langYesISO code of the target side, e.g. 'nl'.
collection_idNoOptional id of the user's own collection the cards would go to, e.g. '12345'. Empty = the user's own collection for this language pair that new cards go to first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnlyHint/destructiveHint annotations, it discloses that nothing is saved, that validation mirrors saving (1–200 cards, up to 2,000 characters per side), that the user picks and saves in the Taalhammer card view, and that a Taalhammer account is required. That is real behavioral context an agent cannot get from the annotations.

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 trigger condition is front-loaded and every sentence carries information, but the single dense paragraph with em-dashes and stacked parentheticals makes the flow harder to parse than a short bulleted structure would. No filler sentences, though.

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

Completeness4/5

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

For a six-parameter, no-output-schema preview tool, the description covers purpose, triggers, destination semantics, validation limits, side effects, and auth. It could say a bit more about what the agent should do with the result (e.g. that it should then call import_flashcards after the user chooses), but nothing essential is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds the framing of the collection_id vs new_title choice (an existing collection for that language pair, or a new named one) and a per-side character limit not stated in the schema. The relationship between new_title and collection_id is largely echoed from the schema, limiting the added value.

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?

States a specific verb and resource — lists card texts with the destinations they could go to — and frames it as a preview/dry-run rather than a save. It explicitly separates itself from import_flashcards (which saves) and create_collection (for a new collection), so an agent can distinguish it from siblings without opening schemas.

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

Usage Guidelines5/5

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

Gives concrete trigger conditions with example user utterances ('save these words', 'show me the cards first') and the second trigger (once the cards of a new collection are written). It names the alternatives and what each is for: saving is import_flashcards, new-collection creation is create_collection.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources