Skip to main content
Glama

Lexpad – Vocabulary Notebook & Flashcards

Record practice answers

record_answers
Idempotent

Records several practice answers in one call, each exactly as a single answer is recorded: it moves the word's box, the day's numbers and the streak, and a right answer to a word not due yet is saved as practice. Each answer carries its own client_id, so an answer sent twice counts once. The result has one line per answer, in the order sent, saying whether it was saved; an answer that cannot be saved (an unknown word, a word in more than one notebook) is reported on its line and the others are still saved. Up to 200 answers a call.

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": {
      "answers": "<answers>"
    },
    "name": "record_answers"
  }
}

Input Schema

NameRequiredDescriptionDefault
nextNoWhether the result should also carry the next word due today in the notebook of the last answer, with its meanings.
answersYesThe answers, in the order the user gave them.

Output Schema

NameRequiredDescriptionDefault
nextNo
savedYes
failedYes
streakYes
resultsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (idempotentHint, destructiveHint=false) it discloses concrete effects: the word's box, the day's numbers and the streak move, and a right answer on a not-due word is stored as practice. It also explains the idempotency mechanism via client_id and the partial-failure contract - failures are reported per line while other answers still save.

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?

Front-loaded with the operation, then side effects, then idempotency, then the result contract, then the limit - a sensible order with no filler. A couple of sentences are long and chain multiple clauses, which costs a little readability.

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, the return contract need not be described, yet the description still explains one result line per answer in send order and how failures are reported. Side effects, idempotency, size limit and error semantics are all covered for a batch mutation 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 100%, so the baseline is 3, but the description adds real meaning: client_id exists so 'an answer sent twice counts once', and the listed failure modes (unknown word, word in more than one notebook) explain why word_id/notebook_id behave as they do. It also ties the 200 cap to the answers array.

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 ('Records several practice answers in one call') and pins the scope by saying each answer behaves 'exactly as a single answer is recorded', which distinguishes it from the singular record_answer sibling. An agent can immediately tell this is the batch form of that operation.

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?

'Records several practice answers in one call' plus the 'Up to 200 answers a call' limit implies this is the tool for multi-answer turns rather than repeated single calls. It stops short of an explicit when-not or a named alternative, but the context is unambiguous.

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