Skip to main content
Glama

Save chapter progress

save_chapter_progress
Idempotent

Overwrite the learner's word-level progress for one chapter. content is the complete words array — pass the array you got from get_chapter/get_chapter_progress with your changes applied, not a partial diff. For single-word updates prefer 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": {
      "chapter_number": "<chapter_number>",
      "language_pair": "<language_pair>",
      "content": "<content>"
    },
    "name": "save_chapter_progress"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
contentYesFull words array, each with level/notes/history.
book_numberNoDefault 1.
descriptionNo
language_pairYes
chapter_numberYes
language_levelNoDefault 'A1'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations cover the safety envelope (readOnly=false, idempotent=true, destructive=false), but the description adds the critical trait those don't convey: the write is a full-array overwrite, so a partial diff would silently wipe data. Calling out the correct input provenance and the failure mode is exactly the behavioral context an agent needs before mutating state.

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

Conciseness5/5

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

Three short sentences, front-loaded with the overwrite semantics, then the input requirement, then the sibling route-out. No filler, and each sentence carries a distinct decision-relevant fact.

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 7-parameter mutation with no output schema, the definition covers the highest-risk element (full-array replacement) and the recommended source call. Gaps remain around the metadata parameters (title, description, language_pair) and whether the response confirms saved state, but nothing that would cause data loss is missing.

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 only 43%, and the description compensates mainly for `content`, explaining that it must be the complete words array rather than a diff. The remaining parameters — chapter_number, language_pair, title, description — get no explanation, and the schema only documents book_number/language_level defaults.

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 — 'Overwrite the learner's word-level progress for one chapter' — making scope explicit (word-level, single chapter). It also distinguishes itself from the sibling set_word_status, so an agent can route without opening either schema.

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?

Explicitly names the alternative ('For single-word updates prefer set_word_status') and prescribes the workflow of sourcing the array from get_chapter/get_chapter_progress before mutating. It stops short of stating when this tool is the wrong choice beyond the single-word case, so it is clear context without full exclusions.

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