Skip to main content
Glama

fenbs_update_lesson

DestructiveIdempotent

Change a lesson by ref. Only the fields passed change; the version before is kept whole. group or groupId moves it (Process, Technical, Testing, Deploy, or a new name); groupId 0 clears it. status dismissed (with dismissedReason) when it turned out not to matter; new reopens it. A lesson becomes applied only when it is applied. linkTasks and unlinkTasks add and remove task links without touching the others. Needs permission to change tasks.

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": {
      "ref": "<ref>"
    },
    "name": "fenbs_update_lesson"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
groupNoThe lesson group: Process, Technical, Testing, Deploy, or a new name. Names are trimmed and matched ignoring case; a new name creates a lesson group.
titleNo
lessonNoWhat we learned -- the point that matters.
statusNo
groupIdNoAn existing lesson group id; 0 means No group. Omitted on update keeps the group. Takes precedence over group when both are given.
projectNoA project on this board, by name. Leave it out for the whole board.
categoryNoAn existing board category, kept separately from the lesson group. Empty clears it.
linkTasksNo
unlinkTasksNo
whatHappenedNoWhat happened: the facts, briefly. Name the task, the file or the incident.
doDifferentlyNoWhat to do differently from now on, as concretely as possible.
dismissedReasonNoWhy it was dismissed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / doDifferently / description
      Previous value: -"What to do differently from now on, as concretely as you can."New value: +"What to do differently from now on, as concretely as possible."
    • changedInput schema / properties / group / description
      Previous value: -"Put the lesson in a group: Process, Technical, Testing, Deploy, or a new name. Names are trimmed and matched ignoring case; a new name creates a lesson group."New value: +"The lesson group: Process, Technical, Testing, Deploy, or a new name. Names are trimmed and matched ignoring case; a new name creates a lesson group."
    • changedInput schema / properties / lesson / description
      Previous value: -"What we learned -- the point the next person or assistant must not miss."New value: +"What we learned -- the point that matters."
  2. Changed3 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Optional, e.g. Process, Technical, Testing, Data, Communication -- or the board's own."New value: +"An existing board category, kept separately from the lesson group. Empty clears it."
    • addedInput schema / properties / group
      Added value: +{
      +  "description": "Put the lesson in a group: Process, Technical, Testing, Deploy, or a new name. Names are trimmed and matched ignoring case; a new name creates a lesson group.",
      +  "type": "string"
      +}
    • addedInput schema / properties / groupId
      Added value: +{
      +  "description": "An existing lesson group id; 0 means No group. Omitted on update keeps the group. Takes precedence over group when both are given.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  3. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower, yet the description adds real value: partial-update semantics with prior version retained whole, additive link/unlink behavior that leaves other links untouched, and a permission prerequisite for task changes. It does not describe the response, but the mutation and reversibility profile is well covered.

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?

The front-loaded first sentence is excellent, but the telegraphic fragments become hard to parse, and "A lesson becomes applied only when it is applied" is a tautology that costs a sentence without conveying a usable rule. A few of the field notes duplicate what the schema description already says.

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 13-parameter destructive mutation with no output schema, the description covers the semantics an agent most needs: partial update, version retention, group clearing, status transitions, and the permission gate. Gaps remain around the free-text fields and what a successful update returns, but nothing critical for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

At 62% schema coverage across 13 parameters, the description usefully adds interaction rules the schema only partially encodes: group or groupId moves the lesson and groupId 0 clears it, dismissed pairs with dismissedReason, and linkTasks/unlinkTasks are additive rather than replacing. Several fields (title, lesson, whatHappened, doDifferently, project, category) get nothing here, but the schema documents most of them.

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?

"Change a lesson by ref" gives a specific verb and resource, and the body enumerates the mutable aspects (group, status, links), which separates it from fenbs_add_lesson and fenbs_apply_lesson. It never names a sibling explicitly, so differentiation is inferred rather than stated.

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?

Usage context is implied through field notes: status is limited to dismissed/new, and "A lesson becomes applied only when it is applied" gestures at using a different tool for applying. The exclusions are oblique — an agent must decode the tautological sentence to realize this tool cannot mark a lesson applied, and no alternative is named.

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