Skip to main content
Glama

lantern_doctor

Run diagnostic environment checks for socket collection, Docker access, and system tools to verify host readiness and troubleshoot setup issues.

Instructions

Run diagnostic environment checks for socket collection, Docker access, and system tools.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It usefully enumerates the check categories, but does not say whether the checks are read-only/non-mutating, whether they touch the network or Docker daemon, or whether failures abort or are merely reported — meaningful gaps for a diagnostic that probes system resources.

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?

A single well-formed sentence with the action front-loaded and the scope enumerated; nothing is wasted or buried.

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 zero-param diagnostic with no output schema, the description should say what the agent gets back (e.g., per-check pass/fail diagnostics) and whether it is safe to call repeatedly. It leaves the return shape entirely unspecified, which is the main gap against its low complexity.

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, so the baseline is 4. The description correctly implies no inputs are needed and names the check categories instead, matching the empty schema.

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?

States a specific verb ('Run diagnostic environment checks') and enumerates the three domains checked: socket collection, Docker access, and system tools. An agent can tell this is an environment health/diagnostic tool rather than a scan or lookup, though the description never explicitly contrasts it with siblings like lantern_scan or lantern_why.

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: 'diagnostic' suggests running it when something in the environment is broken or before collection, but there is no explicit when-to-use statement, no preconditions, and no mention of when a sibling tool would be the better choice.

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

Deploy Server

Other Tools