Skip to main content
Glama

Taalhammer

Add cards

import_flashcards

When the user wants cards saved to a collection they have named or chosen — e.g. "add these sentences to my 'Kitchen words' collection", "save them to the new one". Adds the given card texts (a word, phrase or sentence with a source side and a target side) to one of the user's collections, where they enter the user's spaced-repetition reviews. Text only: this tool creates no audio or images; the app voices a card when it is played. At most 200 cards per call, each side up to 2,000 characters; the collection must exist and belong to the user (create_collection makes 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": {
      "collection_id": "<collection_id>",
      "source_lang": "<source_lang>",
      "target_lang": "<target_lang>",
      "items": "<items>"
    },
    "name": "import_flashcards"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes1–200 cards, e.g. {"source": "the kitchen", "target": "de keuken"}.
source_langYesISO code of the source side, e.g. 'en'.
target_langYesISO code of the target side, e.g. 'nl'.
collection_idYesId of the user's own collection, from create_collection or get_my_content_subscriptions, e.g. '12345'.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the safe-mutation profile (readOnlyHint=false, destructiveHint=false, non-idempotent); the description adds substantial context beyond that: hard limits of 200 cards per call and 2,000 characters per side, the requirement that the collection exist and belong to the user, no audio/image generation, and an account requirement. These are exactly the constraints an agent needs before attempting a call.

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 before the mechanics, and each sentence carries distinct information (trigger, payload shape, text-only constraint, limits, prerequisites). Slightly dense, with the limits and prerequisites packed into the closing sentences, but nothing is redundant.

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 an output schema exists, return values need not be explained. The description covers what remains: write semantics, item limits, collection ownership prerequisite, and the downstream spaced-repetition effect. Nothing an agent needs to invoke this correctly 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, but the description adds meaning the schema does not encode: the 200-item cap and the 2,000-character per-side limit, plus the conceptual framing of each card as a source side and target side. Collection ownership and existence are also stated here rather than in 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 gives a specific verb and resource — adds card texts to one of the user's collections — and clarifies that the cards then enter spaced-repetition reviews. It also contrasts with create_collection ('create_collection makes one'), so the agent can distinguish creation of a collection from population of one.

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 opening sentence states a clear trigger condition with paraphrased user utterances ('add these sentences to my Kitchen words collection', 'save them to the new one'), which is genuinely actionable. It also rules out media creation ('text only'). It stops short of explicitly naming alternatives such as preview_flashcards when the user wants to check cards before saving.

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