Skip to main content
Glama

Unified setup diagnose

diagnose_setup
Read-onlyIdempotent

Diagnose your Mushi setup health and receive the single best next action. Choose full, ingest-only, or dispatch-only checks.

Instructions

Diagnose Mushi setup health and return the single best next action. mode=full (default) runs both SDK-ingest and fix-dispatch preflight checks; mode=ingest runs ingest checks only (project exists, active API key, SDK heartbeat, at least one report); mode=dispatch runs dispatch readiness only (GitHub connected, codebase indexed, LLM key present, autofix enabled). Returns { ready, steps: [{ label, complete, required, hint }], nextAction }. Read-only. The one setup-diagnosis entry point — use this instead of separate connection/ingest checks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNofull (default) = ingest + dispatch; ingest = SDK pipeline only; dispatch = fix preflight only.
projectIdNoAlias for project_id.
project_idNoProject UUID for dispatch checks (defaults to configured project).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
readyYes
ingestNo
summaryYes
dispatchNo
connectionNo
nextActionNo
Behavior5/5

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

States 'Read-only', matching annotations. Discloses that the tool runs checks but is non-destructive and idempotent. Details what each mode checks and the return format, giving full behavioral context 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?

Three sentences, front-loaded with purpose and return. Every sentence adds essential information without redundancy. Highly efficient.

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 output schema exists, the description still covers all behavioral aspects: modes, checks included, return structure, and safe nature. No gaps for a read-only diagnosis tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage, the description adds significant value by explaining the mode enum values (full, ingest, dispatch) and their meanings, noting that mode defaults to full, and clarifying project_id usage for dispatch checks.

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 uses the verb 'diagnose' with 'Mushi setup health' and states the goal to return the single best next action. It distinguishes itself from siblings by claiming to be the unified entry point.

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?

Explicitly says 'the one setup-diagnosis entry point — use this instead of separate connection/ingest checks', providing clear guidance on when to use and when not to use alternatives. Also explains the three modes.

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