Skip to main content
Glama

Dispatch Mushi fix agent

dispatch_fix

Start an automated fix agent for a classified bug report, generating a branch and opening a signed draft PR. Resend the same idempotency key to retry without a duplicate job.

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 { fixId, status } (fixId is the dispatch id; get_fix_timeline accepts it immediately); poll get_fix_timeline for progress and merge_fix when CI is green. Write; pass the same idempotencyKey to retry safely — without it 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
Behavior5/5

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

Annotations already show readOnlyHint=false and idempotentHint=false, and the description reinforces these by stating it writes a branch, opens a PR, and that each call without the idempotency key creates a new attempt. It adds dependencies (GitHub + LLM key), idempotency behavior, and operation semantics that are not available from annotations alone.

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 dense but well organized: behavior first, then configuration, prerequisites, return value, polling guidance, idempotency, and a precondition. Every sentence carries workflow-relevant information and there is no redundant filler.

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 four parameters and the tool's broader workflow, the description covers behavior, prerequisites, idempotency, returns, and follow-up actions. The remaining details like inventoryActionNodeId are already thoroughly documented in the input schema, so no critical decision context is missing.

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 for parameter descriptions is 100%, so the baseline is 3. The description adds useful meaning about the agent selection and idempotency key usage, but it also instructs callers to set agent="cursor_cloud", which is not present in the schema enum (claude_code, codex, rest_worker, mcp). That mismatch could cause an agent to select an invalid value and sizes the otherwise strong guidance.

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 names a specific verb-resource pair ('Start a Mushi fix agent'), targets a classified report, and states concrete effects: writes a branch and opens a signed draft PR. It clearly distinguishes this dispatch action from the many get_* and merge_fix sibling tools.

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?

It explicitly says when the tool is appropriate (classified report), what prerequisites apply (GitHub connected + LLM key, run diagnose_setup first), and what to do before or instead (run triage_issue if report isn't classified). It also gives the follow-up workflow: poll get_fix_timeline and then merge_fix when CI is green.

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