Skip to main content
Glama

Set word status

set_word_status
Idempotent

Record the outcome of practising one word. The level moves along the spaced-repetition ladder (0–6) and the next contact date is recomputed. Either pass an action ('right_answer', 'wrong_answer', 'level_up', 'level_down', 'mark_learned', 'reset') or an explicit new_level.

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": {
      "language_pair": "<language_pair>",
      "language_level": "<language_level>",
      "book_number": "<book_number>",
      "chapter_number": "<chapter_number>",
      "word_index": "<word_index>"
    },
    "name": "set_word_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoFree-text note stored on the word.
actionNoright_answer | wrong_answer | level_up | level_down | mark_learned | reset
statusNoAlternative to action: correct | wrong | known | unknown.
new_levelNoExplicit level 0–6, overrides action/status.
word_indexYesZero-based index of the word inside the chapter's words array.
book_numberYesBook within the level. Defaults to the user's current book.
language_pairYese.g. 'en_de'. Defaults to the user's current pair.
chapter_numberYes
language_levelYesCEFR level: A1, A2, B1, B2, C1, C2. Defaults to the user's current level.
challenge_successNoTrue when the answer resolved an active gamification challenge.

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 this is a non-readonly but non-destructive, idempotent write; the description adds real state semantics beyond that: the level moves along a 0–6 ladder and the next contact date is recomputed. It still omits what the response contains and whether repeated identical calls are safe in terms of side effects like note overwriting.

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?

Two sentences, front-loaded with purpose then mechanism, with no wasted framing. Minor inefficiency: the six action values are repeated verbatim from the schema instead of being referenced.

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 ten-parameter mutation with no output schema, the description covers purpose and level semantics but leaves the agent unsure what comes back (updated level, next contact date, both?) and how status/action/challenge_success interact. Given the rich schema it is adequate, but the return and conflict behavior remain unexplained.

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 coverage is 90%, so the schema already documents all ten parameters, including the action enum and the 'new_level overrides action/status' precedence. The description's final sentence restates the either/or pattern the schema already encodes, adding ordering context but little new meaning.

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?

States a specific verb and resource — 'Record the outcome of practising one word' — and immediately grounds it in the spaced-repetition model. It is clearly distinct from siblings like get_next_word or save_chapter_progress by virtue of being the per-word outcome recorder, though it never explicitly names or contrasts an alternative.

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?

The description gives call-shape guidance ('either pass an action ... or an explicit new_level'), which tells the agent how to invoke it, but says nothing about when this tool is appropriate versus read-side siblings such as get_next_word or progress tools. Usage is implied by the spaced-repetition framing rather than stated.

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