Skip to main content
Glama

redline_doctor

Checks local redline setup health, diagnoses configuration issues, and prints actionable next steps so you can fix the environment before running evals.

Instructions

Check local redline setup health and print next steps.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoProject directory where redline should run.
jsonNoPrint machine-readable JSON.
configNoConfig path to read.
strictNoExit non-zero when warnings are present.
max_output_bytesNoMaximum stdout/stderr bytes returned to the MCP client.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and does not say whether this is read-only or whether it mutates config, nor what the 'next steps' look like or which checks run. The only behavioral hint is that output is printed, which is thin for a five-parameter tool with no annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with no filler, and the primary action is front-loaded. It is efficient, though its brevity is also the source of the definition's gaps rather than a sign of density.

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

Completeness2/5

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

Five optional parameters, no annotations, and no output schema mean the description must explain quite a lot, and it does not. It omits what health checks are performed, what 'next steps' output contains, whether the tool is safe/read-only, and how strict changes behavior, leaving the agent under-informed for a diagnostic tool.

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%, so cwd, json, config, strict, and max_output_bytes are already documented by the schema. The description adds no syntax, defaults, or interaction rules (e.g. how strict relates to exit status) beyond what the schema supplies. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The verb 'check' and object 'local redline setup health' identify the tool as a diagnostic, and 'print next steps' hints at remediation output. But 'health' and 'next steps' are vague, and it never distinguishes itself from plausibly overlapping siblings such as redline_quick_check, redline_status, or redline_validate. An agent can tell it is a diagnostic but not exactly which diagnostic.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no preconditions, and no named alternative among the many redline_* diagnostics. The word 'local' faintly implies a local-vs-remote split but the description never states it as a selection rule.

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