Skip to main content
Glama

lesson_sync

Sync retry logs, weekly plans, and database snapshots for a finished unit to keep tutoring progress current and resumable.

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

Input Schema

NameRequiredDescriptionDefault
unit_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It hints that three data stores (logs, weekly plans, snapshots) are touched, implying mutation, but never says whether existing data is overwritten, whether the operation is idempotent, what permissions are needed, or what the caller gets back.

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

Conciseness3/5

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

It is a single short sentence with no wasted words, and the scope constraint comes first. However, brevity here crosses into under-specification: the sentence is a bare list of nouns with an ambiguous verb rather than a front-loaded statement of the operation.

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?

With no annotations, no output schema, and zero parameter documentation, the description is the only source of truth and it is too thin for a tool that appears to mutate three separate data stores. Key facts — side effects, reversibility, and success/failure behavior — are entirely absent.

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 0% for the single unit_id parameter, so the description must compensate. It does add one meaningful constraint — the unit must already be finished — but gives no information on identifier format, expected values, or what happens if an active or nonexistent unit is supplied.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names three artifacts (retry logs, weekly plans, database snapshots) and a scope (finished units), but the action itself is vague — 'retry' does not clearly convey what lesson_sync does to those artifacts (sync? regenerate? overwrite?). It does not distinguish itself from siblings such as lesson_finish or lesson_checkpoint, leaving the agent unsure what unique operation this performs.

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 phrase 'for finished units' implies a precondition, but there is no statement of when to call this versus lesson_finish, lesson_checkpoint, or lesson_status, and no guidance on when not to use it. The agent must infer invocation conditions from the tool name alone.

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