Skip to main content
Glama
mcp-fleet-doctor

mcp-fleet-doctor

by yuehancn

record_baseline

Probe every server and save current tool counts and status as a baseline for later fleet checks to compare against and detect drift after upgrades.

Instructions

Probe every server and save the current tool counts and status as the baseline that later check_fleet runs compare against. Run this right after a deliberate upgrade so the next drift report is clean. This is the only operation that writes a file.

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

Input Schema

NameRequiredDescriptionDefault
configNoPath to an MCP client config.
baselineNoWhere to write the baseline.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden, and it does disclose the key trait that this is the only file-writing operation and that it probes every server. However, it never says whether an existing baseline at the given path is overwritten, what happens on unreachable servers, or whether probing mutates anything server-side — meaningful gaps for a write tool with zero annotation coverage.

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 tight sentences, front-loaded with the core action, then the timing guidance, then the write-behavior caveat. Nothing is redundant or padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a stateful write tool with no annotations and no output schema, the description covers purpose, timing, and the fact that a file is written, but omits overwrite behavior, what the run reports back, and how failures are handled. Adequate to select the tool, not fully adequate to call it confidently in edge cases.

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 is 100%, so both parameters are already documented, and the description adds only the notion that config determines which servers get probed and baseline is the write target. It does not clarify path format, defaults when either parameter is omitted (both are optional), or overwrite semantics.

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?

States a specific verb and resource: probe every server and persist current tool counts and status as a baseline. It also implicitly separates itself from check_fleet (which reads/compares) and diff_baseline, so an agent can place it in the fleet workflow 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 a concrete trigger: run right after a deliberate upgrade so the next drift report is clean. It also identifies the consumer (later check_fleet runs) and that this is the only write operation. It stops short of explicit when-not guidance, e.g. whether to avoid re-running mid-investigation or after ad-hoc config edits.

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