Skip to main content
Glama

fix_bug

Analyze bugs and failures using the TBP 8-step method to identify root causes and produce fix plans with verification steps.

Instructions

当用户需要找问题、修 bug、排查异常、定位回归、分析失败原因、分析为什么没生效、先分析再修时使用。默认采用 TBP 8 步法做真因分析,并输出修复方案与验证步骤

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
error_messageNo错误信息
stack_traceNo堆栈跟踪。可选
code_contextNo相关代码。可选
analysis_modeNo分析方法。默认 tbp8(丰田问题分析 8 步法)
Behavior2/5

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

No annotations are provided, so the description carries full burden for behavioral disclosure. It states the tool outputs a fix plan and verification steps but does not mention side effects, destructive potential, or any constraints. This is a significant gap for a tool that presumably performs analysis and could involve modifications.

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

Conciseness4/5

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

The description is a single sentence that efficiently lists use cases and the method. It front-loads the purpose, but the structure could be improved by breaking into multiple sentences for clarity. Overall, it is concise and earns its length.

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

Completeness2/5

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

Given the tool has no output schema and no annotations, the description should explain what the tool returns (e.g., format of fix plan and verification steps). It only vaguely mentions output, leaving agents uncertain about expected results. This lack of completeness is a notable deficiency.

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?

Input schema has 100% coverage with descriptions for all 4 parameters. The description adds value by indicating the default for analysis_mode (TBP 8-step) and reinforcing the importance of error_message. However, it does not provide additional semantics beyond what the schema already offers.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool is for bug fixing and root cause analysis using TBP 8-step method, differentiating it from generic tools like code_insight or code_review. However, it does not explicitly contrast with the sibling tool 'start_bugfix', which may have overlapping functionality.

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

Usage Guidelines3/5

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

The description specifies when to use (finding problems, fixing bugs, etc.) and mentions the default analysis method, but it lacks explicit guidance on when not to use or alternative tools. The context implies usage but doesn't provide clear exclusions.

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/mybolide/mcp-probe-kit'

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