Skip to main content
Glama

lesson_get

Retrieves a lesson node's explanation and records completion or reviewed terms so learners can track progress through a study plan.

Instructions

读取讲解。学习者确认读完传 completed=true;确认回看后,用 review_terms 提交本课到期术语。

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": {
      "session_id": "<session_id>",
      "node_code": "<node_code>"
    },
    "name": "lesson_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
completedNo
elapsed_sNo
node_codeYes
session_idYes
review_termsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral burden, yet it never discloses that this nominally read tool mutates state via completed and review_terms, what happens to spaced-repetition scheduling when terms are submitted, whether repeated calls are idempotent, or what is returned. The bare mention that review_terms "提交本课到期术语" hints at a side effect without explaining its consequences.

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 compact clauses, front-loaded with the resource before the behavioral instructions, and no filler. The semicolon-chained phrasing is terse to the point of being cryptic for a Chinese-reading agent, but nothing is wasted.

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 five-parameter tool with no annotations and no output schema, the description leaves three parameters unexplained and says nothing about the return value or error cases. The side-effect behavior of a read-labeled tool deserves more disclosure than two sentences provide.

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 0%, so the description must compensate, and it only explains two of five parameters: completed (set true on confirmed completion) and review_terms (submit due terms for this lesson). session_id, node_code, elapsed_s, and the 1–4 item bound on review_terms are left entirely to the JSON Schema types; baseline 3 for the meaningful hint it does add.

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 (read) plus resource (lesson exposition), so an agent can tell this is the read path against the write counterpart lesson_upsert. It stops short of naming that sibling or describing what the returned lesson contains, so it is clear but not fully differentiated.

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 workflow triggers (pass completed=true after the learner confirms finishing; submit review_terms after confirming review) but never says when to call lesson_get versus lesson_upsert or the other read tools, nor whether it is required before attempt_log/checkpoint_record. Usage is implied by the reading workflow rather than stated.

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