Skip to main content
Glama

search_bugfixes

Find similar past problems by searching bugfix summaries. Surface root causes and solutions when debugging.

Instructions

Search only bugfix summaries for similar past problems. Read-only, no side effects.

    Prefer this over search_docs() when debugging — it filters to bugfix
    documents only, surfacing root causes and solutions faster.
    Use search_docs() for broader queries that span all doc types.

    Args:
        query: Description of the current problem or error message
        top_k: Number of results (default: 5)
        project: Target project name (optional)

    Returns:
        Ranked bugfix chunks showing root cause, solution, and lessons
        learned, with source file and relevance %. Prompts to call
        write_bugfix_summary() when no matches are found.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
top_kNo
projectNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

States 'Read-only, no side effects.' Describes return content and how to handle no-match cases. No contradictions with absent annotations.

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?

Concise and well-structured: one-liner purpose, usage note, args, and returns. Every sentence adds value without redundancy.

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?

Given the tool's simplicity and presence of an output schema, the description covers purpose, usage, parameters, and return behavior. No gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 0%, the description provides full parameter descriptions: query as problem description, top_k with default, and project as optional target. Compensates entirely.

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 first sentence clearly states the tool searches only bugfix summaries for similar past problems. It distinguishes from siblings like search_docs, which handles broader doc types.

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: 'Prefer this over search_docs() when debugging' and 'Use search_docs() for broader queries.' Also advises calling write_bugfix_summary when no matches are found.

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/dl4rce/flaiwheel'

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