Skip to main content
Glama

Add flashcards

add_cards

Add cards: [{"front": "phrase in the language being learned", "back": "translation into the user's explanation language (explain_lang from today/profile)", "kind": "word|phrase", "example_front": "...", "example_back": "...", "tags": [...]}]. Duplicates are skipped. One card is one word in its dictionary form (the form from speech goes to example_front) or one whole ready phrase (entry rules: docs("vocab")).

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": {
      "cards": "<cards>"
    },
    "name": "add_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the write/non-destructive/non-idempotent profile, so the description's job is to add context — which it does by disclosing that duplicates are skipped and by specifying card granularity rules. It does not cover partial-failure behavior or what happens when a card fails validation, which keeps it short of a 5.

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

Conciseness3/5

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

The content is compact with no filler sentences, but it is delivered as a dense bracketed pseudo-schema embedded in prose with nested parentheses, which makes the field list harder to scan than a short bulleted form. The docs("vocab") reference is also opaque out of context.

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?

With no output schema, the description should say what a call returns (created count, skipped duplicates, errors) and it does not. The card shape and dedupe behavior are well covered, but required-field status and failure modes leave the definition partly incomplete for a batch-write tool.

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 0% and the single "cards" parameter is typed only as an array of unconstrained objects, so the description carries the full burden — and it does, naming front, back, kind (word|phrase), example_front, example_back, and tags with their intended meanings. It stops short of stating which fields are required versus optional, so an agent must guess at the minimum viable card.

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 names a concrete verb and resource ("Add cards") and immediately shows the exact card object it accepts, so the agent knows this is a batch-create for flashcards. It does not, however, distinguish itself from near-siblings like vocab_add or add_chunk, so an agent could still hesitate between them.

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?

It gives useful entry rules indirectly — duplicates are skipped, and the granularity rule (one dictionary-form word, with the spoken form going to example_front, or one whole ready phrase) plus a pointer to docs("vocab") tells the agent what belongs in a card. There is no explicit when-to-use vs. when-not guidance relative to overlapping tools such as vocab_add.

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