Skip to main content
Glama

lesson_finish

Finalize a lesson unit by saving progress, next steps, weekly plan updates, logs, and a database snapshot so the next session can resume from the recorded state.

Instructions

完整收尾单元:保存进度、下一步、周计划、日志和数据库快照。

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": {
      "unit_id": "<unit_id>",
      "progress": "<progress>",
      "next_step": "<next_step>"
    },
    "name": "lesson_finish"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo单元备注
storyNo用过的故事编号,如 3
recallNo事后复述 0..3
blockerNo卡点或未知
networkNo知识网络边的状态
unit_idYes单元 id
homeworkNo后续练习
progressYes做到哪里和结果,必填
completedNo是否确实完成目标
next_stepYes下次第一问或下一步,必填
plan_itemNo周计划编号,完成时才勾选
actual_minNo有效学习分钟数;未知请省略
interruptsNo中断次数;未知请省略

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description bears the full behavioral burden. It does disclose a meaningful side effect (a database snapshot is written), which is more than nothing. But it never says this is a mutating, multi-write operation, whether it is idempotent, what happens on repeated calls, whether the snapshot is rollback-capable, or which of the 13 fields get persisted in which store.

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?

A single compact sentence with the core action front-loaded; every clause carries information and there is no filler. Brevity is achieved at the cost of coverage rather than by trimming redundancy, so it is efficient but thin.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 13-parameter mutation tool with no annotations and no output schema, one sentence is not enough. Nothing describes what the call returns, whether partial data is accepted, how failures on unknown unit_id behave, or how the snapshot relates to the persisted values – all things the agent must know before invoking.

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 description coverage is 100%, so every parameter is already documented, which sets the baseline at 3. The description loosely maps to the fields (progress, next step, weekly plan, log) but adds no syntax, format, or validation meaning beyond the schema. It does not clarify the relationship between the required trio and the optional capture fields.

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?

"完整收尾单元" gives a specific verb (finalize/wrap-up) plus resource (unit), and the colon-list enumerates what the wrap-up persists: progress, next step, weekly plan, log and a DB snapshot. An agent can tell roughly what the tool does. It does not, however, distinguish it from siblings such as lesson_checkpoint or end_unit, so the boundary is left ambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states no when-to-use condition, no prerequisites (e.g., that a unit must already be started), and no exclusions. With close siblings like lesson_checkpoint, end_unit and lesson_sync present, the absence of routing guidance is a real gap – nothing tells the agent why to pick this over a checkpoint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.