Skip to main content
Glama
blueif16
by blueif16

file_bug

Capture bug symptoms, root cause, and fix after resolving an issue, then store them in a searchable knowledge base for future sessions.

Instructions

Save a newly discovered bug to the knowledge base. Call this AFTER solving a hard bug to capture the knowledge for future sessions. The file is written to code_failures/bugs/ and auto-indexed.

IMPORTANT: Show the user the generated content and get confirmation before calling.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fixYesWorking solution with code examples
tagsNoTags for searchability
titleYesBug title (e.g. 'useCopilotChat returns undefined visibleMessages')
libraryYesLibrary/package name (e.g. 'copilotkit', 'starlette')
symptomYesWhat you observe — error messages, broken behavior
severityNoBug severity
rootCauseYesWhy it happens — the underlying mechanism
shortNameYesKebab-case short description for filename (e.g. 'useCopilotChat-undefined-messages')
preventionNoHow to avoid this in the future
versionsAffectedNoVersion range (e.g. '1.50.0 – 1.52.1')
Behavior4/5

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

No annotations are present, so the description carries the full weight. It discloses the file write location ('code_failures/bugs/'), auto-indexing behavior, and the important user-confirmation requirement. However, it does not mention potential overwrite behavior for an existing shortName filename or any other edge-case side effects, so there is a slight gap for a write operation.

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 compact yet informative: a clear purpose, a timing directive, storage details, and a crucial safety warning. Each sentence adds value without redundancy. The formatting with 'IMPORTANT' draws appropriate attention to the confirmation requirement, and the total length is appropriate for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 10 parameters, all documented in the schema, and no output schema, the description provides all necessary context: what it does, when to use it, where it writes, and a critical user-confirmation step. The absence of return-value details is acceptable given there is no output schema, and the usage context is fully covered.

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 base score is 3. The description adds no parameter-specific insights beyond what are already in the schema, but it also does not need to since every parameter has a clear description. The tool-level details like file location and confirmation are separate from parameter semantics.

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 uses a specific verb-resource pair: 'Save a newly discovered bug to the knowledge base.' It clearly distinguishes from siblings like search_past_bugs and file_reference by targeting bug reports specifically. The mention of writing to 'code_failures/bugs/' and auto-indexing further clarifies its unique purpose.

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?

Explicit guidance is given: 'Call this AFTER solving a hard bug to capture the knowledge for future sessions.' It also includes a critical timing/consent directive: 'IMPORTANT: Show the user the generated content and get confirmation before calling.' This clearly indicates when to use the tool and the required prerequisite before invocation.

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/blueif16/code-failures-mcp'

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