Skip to main content
Glama

bodhi_diagnose

Read-onlyIdempotent

Check Bodhi MCP server health and return debugging details to troubleshoot setup issues or verify that the knowledge base loaded correctly. Choose markdown or structured JSON output.

Instructions

Health check and debugging information for the Bodhi MCP server. Use to troubleshoot setup issues or verify the knowledge base is loaded correctly.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bodhi_diagnose"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNoOutput format: "markdown" (default, human-friendly) or "json" (structured, all fields)

Output Schema

NameRequiredDescriptionDefault
issuesNo
statusYes
versionYes
routesCountNo
knowledgePathNo
playbooksCountYes
recommendationsNo
searchIndexSizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed world, so the safety profile costs the description nothing. The description adds the fact that the output is diagnostic/debug material about server setup and KB loading state, which is useful framing beyond the 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?

Two sentences, zero filler, with the identity of the tool front-loaded and the usage cue immediately after. Nothing could be removed without losing information.

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?

With an output schema present and only one optional, fully documented parameter, the description needn't explain return values and is nearly complete. The only mild gap is that it doesn't hint at what categories of diagnostic information (version, configuration, KB index state) an agent will receive.

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?

The single optional response_format parameter is fully documented in the schema (100% coverage, enum with per-value descriptions), so the schema carries the meaning. The description adds nothing about that parameter, making the baseline 3 correct rather than higher.

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?

States a specific resource (the Bodhi MCP server) and a specific function (health check and debugging information), which is plainly distinct from the knowledge-retrieval siblings (list/read/search/summary). It stops short of naming an alternative for contrast, so it stays at 4 rather than 5.

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?

"Use to troubleshoot setup issues or verify the knowledge base is loaded correctly" gives clear triggering conditions for invocation. It provides no when-not guidance or explicit alternative, which keeps it out of the 5 tier.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.