Skip to main content
Glama

fenbs_add_lesson

Record a lesson learned: something that went wrong, or right, that should change how the work is done next time -- a near miss, a wrong assumption, a step that was missed, a fix that took too long to find. Record it when you finish a task that taught something, or when the person you work for says "we learned that...". Search fenbs_list_lessons first. Put each lesson in a group: Process, Technical, Testing, Deploy, or a new name. Link the task it came from with tasks. A lesson is not a rule: when it should hold from now on, fenbs_apply_lesson proposes one for a person to decide. Needs permission to change tasks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupNoPut 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.
tasksNoRefs of tasks it was learned from.
titleYesThe lesson in one line.
lessonNoWhat we learned -- the point the next person or assistant must not miss.
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.
whatHappenedNoWhat happened: the facts, briefly. Name the task, the file or the incident.
doDifferentlyNoWhat to do differently from now on, as concretely as you can.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare this as a non-read-only, non-idempotent write with no destructive hint. Beyond that, the description adds the permission requirement ('Needs permission to change tasks') and the fact that an unknown group name silently creates a new group, both of which are behavioral context not in the annotations. It does not disclose response contents, but no output schema exists and the write semantics are otherwise clear.

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?

Front-loaded with the purpose and definition, then progressively adding triggers, prerequisites, and alternatives. It runs six lines and one clause (the near-miss list) partially repeats the following sentence, but nearly every sentence carries actionable content.

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 9-parameter, single-required-field write tool with no output schema, the description covers the decision-relevant essentials: intention, trigger conditions, dedup step, grouping, task linkage, and permission need. It leaves secondary fields (whatHappened, doDifferently, category, project, groupId) entirely to the schema, which documents them fully, so this is adequate though not exhaustive.

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 the schema already documents all nine parameters, including the group/groupId precedence rules. The description reinforces the group enum and task linkage but adds no syntax or format beyond what the schema states; the baseline of 3 applies.

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+resource ('Record a lesson learned') and goes further by defining what counts as a lesson (near miss, wrong assumption, missed step, slow fix). It explicitly demarcates itself from the sibling fenbs_apply_lesson ('A lesson is not a rule'), so an agent can pick between them without opening schemas.

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

Usage Guidelines5/5

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

Gives concrete trigger conditions ('when you finish a task that taught something, or when the person you work for says "we learned that..."'), a prerequisite ('Search fenbs_list_lessons first'), and an explicit alternative with its condition (fenbs_apply_lesson when the lesson should hold from now on). Nothing is left to inference.

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