Skip to main content
Glama

Add vocabulary

vocab_add

Add words and phrases to the vocabulary and to cards: [{"term": "in the language being learned", "meaning": "translation into the user's explanation language (explain_lang from today/profile)", "example": "example", "level": "A1..C2", "kind": "chunk|formulation"}]. chunk is an expression up to ~5 words (quizzes and cards), formulation is a ready-made sentence (practiced in conversation, not in quizzes); without kind an entry longer than 5 words is a formulation, a shorter one a chunk. No duplicates are created. One entry is one word in its dictionary form (the form from speech goes to example) 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": {
      "items": "<items>"
    },
    "name": "vocab_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the meaningful side effects: entries are added to the vocabulary and to cards, duplicates are not created, and an over-long entry without 'kind' silently defaults to formulation. The dedupe guarantee sits in mild tension with idempotentHint=false, though it is about duplicate entries rather than repeated invocations, so it reads as added context rather than a contradiction.

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?

It is a single front-loaded paragraph with no filler; every rule about kind, length thresholds and deduplication affects how the tool must be called. The inline JSON-like snippet is dense and slightly hurts scanability, but nothing is redundant.

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 one-parameter write tool with no output schema, the description covers entry structure, defaulting rules, dedupe behavior and a pointer to the authoritative entry rules. The only gaps are which entry fields are required and what the call returns (counts vs errors), both of which an agent can work around.

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

Parameters5/5

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

Schema coverage is 0% — the input schema is just an untyped array of objects — so the description carries the whole burden, and it does: it names the five entry fields (term, meaning, example, level, kind), gives the value vocabulary (A1..C2, chunk|formulation), and explains field-level conventions such as meaning being in explain_lang and the dictionary form going in term. This is essentially the real schema expressed in prose.

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 concrete verb and resource ("Add words and phrases to the vocabulary and to cards"), which is more specific than the title alone and signals the dual side effect (vocab entries plus cards). It does not name the near-neighbour tools (add_chunk, add_cards, vocab_list), so an agent must infer the boundary itself, but the purpose is unambiguous.

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?

Usage guidance is delivered at the entry level rather than the tool level: it explains when an entry is a chunk vs a formulation and what happens without 'kind'. There is no statement of when to call this versus add_chunk, add_cards or practice_phrase, and the only routing hint is the pointer to docs("vocab") for entry rules.

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