Skip to main content
Glama

get_project_lessons

Rules learned from production bugs in this project. Each comes from an error that was fixed and stayed fixed, approved by the project owner. evidence.kind says how the fix was proven: traffic (its route served many requests with no repeat) is the strongest; low_traffic and time_only are weaker, and broken means the error came back. Call this before writing or changing code, and follow the rules that apply.

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": "get_project_lessons"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/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 disclosure burden, and it does meaningful work: it explains provenance (owner-approved, fixed and stayed fixed) and decodes the confidence semantics of evidence.kind, including that `broken` signals a regression. It does not state the size or pagination characteristics of the returned list, leaving a modest gap for a tool with no annotation coverage.

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

Conciseness5/5

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

Three sentences, each doing distinct work: what the rules are, how they were validated, and how to read the confidence marker, then the call directive. No filler and no repetition of the name.

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 no annotations and no output schema, the description must convey both behavior and return content. It describes the rules' origin and the confidence field but does not sketch the overall shape of a rule record (its condition, scope, or remediation), so an agent knows the spirit of the payload but not its full structure.

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?

The tool takes zero parameters, so there is no parameter semantics to add and the baseline applies. The description instead invests in explaining a returned field (evidence.kind) rather than wasting words on inputs.

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?

The description gives a specific resource with a precise definition: durable 'rules learned from production bugs', each one fixed, durable, and owner-approved. That definition cleanly distinguishes it from siblings like get_recent_errors or query_logs, which surface raw events rather than vetted rules.

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

Usage Guidelines4/5

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

The description states an explicit trigger: 'Call this before writing or changing code, and follow the rules that apply.' That is a strong when-to-use directive. It stops short of a 5 because it names no alternative or when-not condition, though no sibling in the list appears to overlap with this tool's role.

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