Skip to main content
Glama
@event4u/agent-config

@event4u/agent-config

Official

doctor_report

Read-onlyIdempotent

Run consumer-project diagnostics and return a structured health report covering install drift, hook wiring, settings schema, and manifest freshness to help triage misbehaving installs.

Instructions

Run the consumer-project doctor diagnostic and return a structured health report (install drift, hook wiring, settings schema, discovery manifest freshness). Use to triage a misbehaving install.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv8.2.0

TDQS

A4.1/5.0
Behavior4/5

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

The rich annotations (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false) already establish that this is a safe, repeatable, local read, so the description only needs to add scope. It does so by enumerating the report's contents, which also substitutes for the absent output schema, though it says nothing about cost, runtime, or whether any repair is attempted.

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 waste. The operation and its report contents come first, and the usage trigger follows, so the agent gets the essentials immediately.

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 no parameters and no output schema, the description carries the return-value burden and does so by listing the four report sections an agent should expect. The only residual gap is what an agent should do with the report or whether any remediation is offered, which is minor for a read-only diagnostic.

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

Parameters4/5

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

The tool takes zero parameters and the schema is an empty closed object, so there is no parameter meaning to convey. Baseline for a no-parameter tool is 4.

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?

The description names a specific verb and resource ('Run the consumer-project doctor diagnostic') and enumerates the four checks it performs (install drift, hook wiring, settings schema, discovery manifest freshness). That is far more specific than a tautology, but it never contrasts itself with plausible siblings such as conformance_check or telemetry_report.

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 triage a misbehaving install' gives a clear triggering condition, so an agent knows the situation that selects this tool. It stops short of explicit exclusions or naming an alternative diagnostic, so the 5 bar of when/when-not/alternatives is not met.

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