Skip to main content
Glama

Write Bugfix Specification

sdd_write_bugfix

Generates a structured bug fix specification document including root cause analysis and test plan to resolve software defects.

Instructions

Generates and writes BUGFIX_SPEC.md with current behavior, expected behavior, unchanged behavior, root cause analysis, and test plan. Not gated by the state machine.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bug_titleYesShort title describing the bug
current_behaviorYesWhat currently happens (the bug)
expected_behaviorYesWhat should happen instead
unchanged_behaviorNoBehaviors that must remain unchanged after the fix
root_causeNoRoot cause analysis (if known)
test_planNoHow to verify the fix
spec_dirNoSpec directory path (relative to workspace root).specs
feature_numberNoFeature number (zero-padded, e.g. '001')001
Behavior3/5

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

Annotations are minimal (no readOnly, destructive, idempotent hints). Description adds that the tool produces a file and is not gated by state machine. However, it does not disclose whether it overwrites existing files or other side effects.

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?

Single sentence that is front-loaded with the main action and output file name. No wasted words.

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 8 parameters, no output schema, and only 3 required, the description could explain the return format or file path behavior more explicitly. It covers the 'what' but not the 'how' of output.

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%, and the description summarizes the output sections, but does not add meaning beyond the parameter names and schema descriptions.

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 generates and writes a BUGFIX_SPEC.md file with specific sections. It is distinct from sibling write tools (e.g., sdd_write_design) through the bugfix context, but does not explicitly differentiate.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like sdd_write_spec or sdd_write_design. The only added info is 'Not gated by the state machine,' which is a constraint but not usage direction.

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/paulasilvatech/specky'

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