Skip to main content
Glama

doctor

Read-onlyIdempotent

Diagnose MCP installation issues, workspace paths, external commands, GitHub authentication, and NPU availability to identify environment problems before running hw-native-sys tasks.

Instructions

Diagnose MCP installation, workspace paths, external commands, GitHub auth, and NPU availability.

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

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.6.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered; the description's added value is telling the agent exactly what gets inspected, which is the key behavioral fact for a diagnostic tool. It does not add cost, latency, or failure-mode context, keeping it shy of a 5.

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 front-loaded sentence with the verb first and a parallel list of check domains; every clause carries information and there is no padding or hedging.

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 zero params, rich annotations, and an output schema covering return values, the description only needed to convey scope of checks, which it does fully. The one remaining gap is guidance on when this broad sweep should be preferred over the narrower environment/health siblings.

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 there is no parameter semantics to explain and the baseline of 4 applies. Nothing in the description misleads about inputs.

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?

Uses a specific verb ("Diagnose") and enumerates the concrete subject areas it inspects: MCP installation, workspace paths, external commands, GitHub auth, NPU availability. That is far more informative than a bare name restatement, though it never contrasts itself with similar-sounding siblings such as ascend_env_check or repository_health.

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: the enumeration of check categories suggests it is a pre-flight/troubleshooting sweep, and the overlap with ascend_env_check (NPU) is left for the agent to resolve. There is no explicit when-to-use, when-not-to-use, or alternative routing statement.

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