Skip to main content
Glama

capture_lesson

Capture structured lessons from development experiences by documenting problems and solutions, or extract insights automatically from raw text.

Instructions

Capture lessons: inline (structured fields) or batch (raw text via worker).

Inline mode (default): provide title, context, problem, solution. Batch mode: provide text to extract lessons automatically via worker.

Args: project: Project slug (directory under 10_projects/). title: Short descriptive title (inline mode). context: What you were doing (inline mode). problem: What went wrong or what decision was needed (inline mode). solution: What fixed it or what was decided (inline mode). tags: Optional tags (e.g. ["python", "testing"]). text: Raw text to extract lessons from (batch mode). min_confidence: Minimum confidence for batch extraction. Default 0.7. max_lessons: Maximum lessons to extract in batch mode. Default 5.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYes
titleNo
contextNo
problemNo
solutionNo
tagsNo
textNo
min_confidenceNo
max_lessonsNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mlorentedev/hive'

If you have feedback or need assistance with the MCP directory API, please join our Discord server