Skip to main content
Glama

start_bugfix

Analyze and fix bugs using the Toyota Problem Solving 8-step method. Input error messages, stack traces, and code context to guide diagnosis and resolution.

Instructions

当用户需要找问题、修 bug、排查异常、定位回归、分析失败原因、分析为什么没生效、先分析再修时使用。默认按 TBP 8 步法编排:取证澄清→分析定位→修复方案→生成测试。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
error_messageNo错误信息
stack_traceNo堆栈跟踪。可选
code_contextNo相关代码。可选
project_rootNo项目根目录。当前客户端未把工作区作为进程 cwd 传进来时,建议显式指定
analysis_modeNo分析方法。默认 tbp8(丰田问题分析 8 步法)
template_profileNo模板档位:auto(默认,自动选择 guided/strict)、guided(普通模型友好)或 strict(结构更紧凑)
requirements_modeNo需求模式:steady(默认,直接修复)或 loop(需求澄清与补全)
loop_max_roundsNo需求 loop 最大轮次(默认 2)
loop_question_budgetNo每轮最多提问数量(默认 5)
loop_assumption_capNo每轮假设上限(默认 3)
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 mentions the TBP 8-step process but does not explain side effects, permissions required, or what the tool creates/modifies. For a complex, multi-step tool, this is insufficient.

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 extremely concise with two sentences: one listing all relevant use cases and the second outlining the methodology. Every word earns its place, and it's front-loaded with the purpose.

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

Completeness3/5

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

Given 10 optional parameters, no output schema, and no annotations, the description provides a high-level workflow (TBP 8-step) but does not map parameters to steps or explain expected return values. It is adequate but leaves gaps in understanding the full tool behavior.

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 coverage is 100% with detailed parameter descriptions. The tool description does not add extra meaning beyond the schema; it only sets context. Baseline 3 is appropriate as the schema already does the heavy lifting.

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 is for bug finding and fixing, listing specific use cases like 找问题、修 bug、排查异常、定位回归、分析失败原因. It also mentions the default TBP 8-step process, distinguishing it from sibling tools like fix_bug by emphasizing analysis before fixing.

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

Usage Guidelines4/5

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

The description provides explicit when-to-use scenarios (当用户需要找问题…时使用), covering a wide range of troubleshooting needs. It does not explicitly state when not to use, nor mention alternatives, but the context is clear enough for an AI agent to select this tool over others like fix_bug.

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