Skip to main content
Glama

Get next word

get_next_word
Read-only

The next word(s) due for practice under the spaced-repetition schedule, together with a generated task and the learner's AI prompt settings. This is the main drill loop: get_next_word → quiz the user → set_word_status.

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>"
    },
    "name": "get_next_word"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many words to return, 1–100. Default 1.
sort_byNo'chapter' (default), 'random' or 'word'.
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_numberNoRestrict to one chapter. Omit to draw from the whole book.
language_levelYesCEFR level: A1, A2, B1, B2, C1, C2. Defaults to the user's current level.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that a task is generated and prompt settings returned, but it does not say whether fetching advances or reserves the word in the schedule, nor what happens when nothing is due — meaningful gaps for a read that drives a drill loop.

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 the returned resource and then the workflow, with no padding. Slightly dense in the first sentence (three distinct payload elements in one clause), but every phrase earns its place.

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?

With six parameters and no output schema, the prose usefully summarizes the three return components so an agent knows what to expect. What remains missing is edge-case behavior — empty results and whether the call alters state — which matters for a tool at the core of the practice loop.

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 100%, so limit, sort_by, book_number, language_pair, chapter_number and language_level are all documented in the schema. The description adds only the framing that results are drawn from the spaced-repetition schedule, which is baseline value when the schema carries the parameter detail.

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 uses a specific verb and resource ('the next word(s) due for practice') and enumerates what comes back: the words, a generated task, and the learner's AI prompt settings. Its role as the entry point of the drill loop separates it from the quiz_* and progress siblings.

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 'get_next_word → quiz the user → set_word_status' chain gives concrete when-to-use guidance and names the correct follow-up tool. It stops short of explicit exclusions (e.g., use get_chapter instead when browsing a whole chapter), so it is clear context without negative routing.

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