Skip to main content
Glama

Dispatch Mushi fix agent

dispatch_fix

Start a fix agent for a classified report to create a branch and open a signed draft pull request.

Instructions

Start a Mushi fix agent for a classified report; it writes a branch and opens a signed draft PR. Set agent="cursor_cloud" to dispatch a Cursor Cloud Agent (default uses the in-repo worker). Requires GitHub connected + an LLM key (run diagnose_setup mode=dispatch first). Returns { fixAttemptId }; poll get_fix_timeline for progress and merge_fix when CI is green. Write; NOT idempotent — each call starts a new attempt. Report must be classified — run triage_issue if not.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agentNoOverride the agent adapter
reportIdYesReport UUID to fix
idempotencyKeyNoOptional RFC 4122 UUID. Resend the same key to safely retry without dispatching a duplicate fix job (Idempotency-Key IETF draft).
inventoryActionNodeIdNoOptional inventory Action node UUID for spec-traceability (§2.10). When provided, the fix-worker embeds the expected_outcome contract in the LLM prompt and runs validateAgainstSpec before opening the PR.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fixIdYes
statusYes
Behavior4/5

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

Annotations already provide readOnlyHint=false, idempotentHint=false. Description adds concrete side effects (writes branch, opens signed draft PR) and confirms non-idempotency, adding value beyond 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?

Every sentence serves a purpose: action, configuration, prerequisites, return value, next steps, classification requirement. Front-loaded with core functionality. No redundancy or filler.

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

Completeness4/5

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

Covers prerequisites, return format, classification condition, and links to sibling tools for subsequent steps. Lacks error handling or rate limit info, but overall sufficient given the complexity and sibling context.

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 has 100% coverage with clear descriptions for all parameters. Description adds useful detail for agent parameter (specific values and default behavior) and reinforces idempotency semantics, but does not elaborate on reportId or inventoryActionNodeId beyond schema. Adequate but not compensatory.

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?

Clear verb-resource pair: starts a fix agent for a classified report, writes branch, opens draft PR. Distinguishes from siblings by specifying prerequisite (triage_issue) and post-actions (get_fix_timeline, merge_fix).

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?

Explicitly states prerequisites (GitHub connected, LLM key, run diagnose_setup first) and when to use alternative tool (triage_issue if report not classified). Also guides subsequent tool use (poll timeline, merge when CI green). Could be improved by mentioning when NOT to use.

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/kensaurus/mushi-mushi'

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