Skip to main content
Glama

Diagnose Server

diagnose_server
Read-onlyIdempotent

Identify why an MCP server is failing by checking its health, connection, recent errors, and reconnect attempts.

Instructions

Diagnose a registered MCP server: process health, connection status, recent errors, reconnect attempts, last successful call, and registry state. Returns actionable information about why a server may be failing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesServer name to diagnose (must be in conductor config).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
server_nameYes
statusYes
tool_countYes
connected_atNo
last_errorNo
reconnect_attemptsYes
is_connectedYes
registry_stateYes
suggestionsYes
Behavior4/5

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

Annotations already indicate readOnly and idempotent; description adds detail on what is diagnosed and that it returns actionable information, no contradictions.

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, front-loaded with verb and resource, no wasted words.

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?

Output schema exists, description covers purpose and key diagnostic areas, sufficient for an agent to invoke correctly.

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?

Only one parameter with 100% schema coverage; description's mention of 'registered MCP server' aligns with schema's 'must be in conductor config', but adds little new meaning beyond schema.

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 states the tool diagnoses a registered MCP server and lists specific aspects checked (health, connection, errors, etc.), distinguishing it from siblings like test_server.

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

Usage Guidelines3/5

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

Implied usage for troubleshooting failing servers, but no explicit when-to-use or when-to-avoid compared to sibling tools like test_server or get_metrics.

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/darkiceinteractive/mcp-conductor'

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