Skip to main content
Glama

skraft_lecons

Lists project lessons learned from repeated errors by status, with sources and catalog entries; also proposes ratifying a lesson to add a catalog entry or removing one for user approval.

Instructions

Liste les leçons tirées des erreurs répétées du projet, par statut (candidate, validee, retiree), avec leurs sources et leur entrée de catalogue. Avec action et lecon, propose à l'utilisateur de ratifier une leçon qui ajoute une entrée de catalogue, ou de retirer une leçon : c'est lui qui décide, par la question que le client lui pose.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "skraft_lecons"
  }
}

Input Schema

NameRequiredDescriptionDefault
leconNoIdentifiant de la leçon (ex. L-03), avec `action`.
actionNoCe qu'il faut proposer à l'utilisateur, pour la leçon `lecon`.
projetNoDossier du projet ; par défaut le premier root du client, sinon le dossier courant du serveur.
statutNoNe lister que les leçons de ce statut.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses the most important trait: the tool does not itself ratify or remove, it only surfaces the choice to the user who decides. It also states what is returned (sources and catalog entry) and that ratification creates a catalog entry. It omits permissions, pagination, and what happens to the lesson record on removal.

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 sentences, front-loaded with the listing behavior before the action mode. The second sentence is long and packs the decision-flow logic densely, but every clause carries information; nothing is filler.

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?

With four optional parameters, no output schema, and no annotations, the description does the necessary work: it covers both modes, the status filter, the returned fields, and the human-in-the-loop constraint. Only secondary operational details (permissions, pagination, post-removal state) are 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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by tying `action` and `lecon` to a human decision and explaining the consequence of ratification (a new catalog entry). It also restates the `statut` values as a listing filter. The gain over the already-descriptive schema is modest but real.

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?

The description names a specific resource and verb: it lists project lessons learned from repeated errors, grouped by status, and returns their sources and catalog entry. It also declares a second mode (proposing ratification or removal via `action`/`lecon`). The dual mode is stated plainly, though the two functions are bundled into one sentence pair rather than cleanly separated.

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?

It explains the decision flow for the action mode: the tool proposes ratification (which adds a catalog entry) or removal, and the user decides via the client's question. That is useful when-to-use context. However, there is no guidance on when to list versus when to act, no prerequisites, and no explicit exclusions relative to other tools.

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