Skip to main content
Glama
mcp-fleet-doctor

mcp-fleet-doctor

by yuehancn

check_fleet

Checks configured MCP servers for health and risk: starts each, measures latency and tool counts vs baseline, and audits launch configs for dead commands, secrets, and unsafe flags.

Instructions

Full health and risk pass over every configured MCP server: starts each one, measures handshake latency, counts tools, compares to the recorded baseline, and audits the launch configuration for dead commands, unpinned packages, plaintext secrets and confirmation-bypass flags. Use after installing or upgrading servers, or when the agent feels slower than it used to. Reads configs; writes nothing.

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": "check_fleet"
  }
}

Input Schema

NameRequiredDescriptionDefault
configNoPath to an MCP client config. Defaults to auto-discovery across Claude Desktop, Cursor, WorkBuddy and project configs.
timeoutNoPer-server probe timeout in seconds. Default 20.
baselineNoOverride the baseline file location.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses that servers are actually started (a process-spawning behavior), that measurements are compared against a recorded baseline, and that the tool reads configs but writes nothing. It omits failure handling for unreachable servers and any permission or sandbox considerations, which keeps it from a 5.

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 the action and scope, followed by usage triggers and a single safety clause. Dense enumeration of the checks replaces vague adjectives with inspectable specifics; nothing is redundant.

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?

For a 3-parameter, zero-required, no-annotation tool with no output schema, the description covers what runs, what is measured, why, and that nothing is mutated. What remains unstated is the shape of results and behavior when individual servers fail or time out during a fleet-wide pass.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning by explaining that probing is per-server and time-limited and that baseline comparison is core to the result, which frames why the timeout and baseline overrides exist. It also clarifies that configuration defaults are auto-discovered across multiple clients, supplementing the config parameter's own text.

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?

Names a specific verb and resource ("full health and risk pass over every configured MCP server") and then enumerates the concrete operations: launching each server, measuring handshake latency, counting tools, baseline comparison, and config audit. An agent can distinguish it from a pure config audit or baseline-diff sibling without opening the schema.

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?

Gives two clear triggers: after installing or upgrading servers, and when the agent feels slower than usual. It also implicitly rules out write workflows via "reads configs; writes nothing". It stops short of explicitly routing to siblings like audit_config_only when the full probe isn't needed, so it is clear but not a complete when/when-not map.

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