Skip to main content
Glama
leesgit

claude-session-continuity-mcp

solution_record

Record error-solution pairs in a searchable archive to capture and share fixes for recurring technical problems across development sessions.

Instructions

Record an error-solution pair in the solution archive. Associates an error signature (the searchable key), optional full error message, the fix, and related files. Automatically extracts keywords for FTS5 indexing. Side effects: inserts into the solutions table. Use solution_find to check for existing solutions before recording a duplicate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectNoProject name (optional — omit for cross-project solutions)
errorSignatureYesError pattern/signature used as the search key (e.g. "ENOENT: no such file", "WorkManager not initialized")
errorMessageNoFull error message or stack trace (optional)
solutionYesStep-by-step fix description
relatedFilesNoFiles that were modified to fix the error
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behaviors: 'Automatically extracts keywords for FTS5 indexing' and 'Side effects: inserts into the solutions table'. However, it doesn't mention permissions, rate limits, or error handling, leaving some behavioral aspects uncovered.

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?

The description is efficiently structured in three sentences with zero waste: first states the core purpose, second explains behavioral details, third provides usage guidance. Every sentence adds value and it's appropriately front-loaded with the main function.

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 mutation tool with no annotations and no output schema, the description does well by explaining side effects and indexing behavior. However, it doesn't describe what happens on success/failure or the return format, which would be helpful given the lack of output schema. It's mostly complete but has minor gaps.

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 parameters thoroughly. The description adds minimal value beyond the schema, mentioning 'associates an error signature' and 'optional full error message', but doesn't provide additional syntax or format details. This meets the baseline for high schema coverage.

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 clearly states the tool's purpose with specific verbs ('Record an error-solution pair') and resources ('solution archive'), and distinguishes it from sibling tools by mentioning 'solution_find' for checking duplicates. It explicitly identifies what the tool does beyond just restating the name.

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?

The description provides explicit guidance on when to use this tool ('Use solution_find to check for existing solutions before recording a duplicate'), naming a specific alternative tool. This gives clear context for when to use this tool versus others, including a precaution against duplicates.

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

Install Server

Other Tools

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/leesgit/claude-session-continuity-mcp'

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