Skip to main content
Glama

doctor

Read-only

Inspects browser, Node, model provider, and API key configuration for a sitelooper project, explaining which provider is active and why without exposing the key.

Instructions

Inspect the setup: browser, Node, and which model provider/API key is in use and why (never shows the key).

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

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory (absolute) the command runs in; sitelooper.config.json is found from here. Default: the server's working directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered, but the description adds genuinely useful behavior beyond that: it explains *why* a given provider/key is selected and guarantees the key is never surfaced ('never shows the key'), which is critical for deciding to call it in a potentially shared log context. It does not describe the shape of the diagnostic report, but that is a modest gap given 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?

One sentence, front-loaded with the verb and subject, with the security caveat tucked into a parenthetical that still earns its place. No filler or redundant restatement of the tool name.

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 zero-required-parameter, read-only diagnostic tool with a fully documented schema, the definition covers what it examines and the key privacy guarantee. The only missing element is a hint about what the inspection result looks like, which with no output schema would have been nice but is not essential.

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 description coverage is 100%, and the single 'cwd' parameter is fully documented in the schema, including default and config-file discovery. The description contributes nothing about what cwd affects, so the baseline 3 is appropriate.

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?

Specific verb ('Inspect') plus a concrete resource ('the setup') with an enumeration of what is checked: browser, Node, model provider/API key. An agent knows immediately this is a diagnostic tool. It stops short of 5 because it never distinguishes itself from sibling names like 'check' or 'assert', which could plausibly overlap.

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?

Usage is only implied through the word 'Inspect' and the setup-oriented subject matter; there is no explicit "call this when…" statement or exclusion pointing to alternatives such as 'check' or 'sessions'. An agent can infer it is a good first step for troubleshooting, but must guess.

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