Skip to main content
Glama

doctor

Checks Build-Runner availability by verifying the token, builder repository, workflow status, and GitHub Actions health; run it after dispatch if runtime is missing.

Instructions

自检 Build-Runner 是否可用:token、构建器仓库、workflow 状态、Actions 是否正常。派发后拿不到运行时先跑这个。

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses the four diagnostic dimensions being inspected and implies a non-destructive self-check, but says nothing about permissions/token requirements, latency, or what the check reports back (no output schema exists to cover this).

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 short sentences: purpose first, then the trigger condition. Every clause adds information and nothing is redundant.

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-parameter diagnostic with no annotations and no output schema, the description gives enough to call it correctly: what it checks and when to reach for it. The main gap is the expected result shape (pass/fail per dimension), which matters for a self-check tool but is partly implied.

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 meaning for the description to add. Baseline 4 applies; the description's enumeration of checked items is the only relevant context and it is consistent with a no-arg 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+resource: self-check (自检) whether Build-Runner is available, and enumerates the four things verified (token, builder repo, workflow status, Actions health). This clearly separates it from generic siblings like status or workspace_status, though it never names an alternative explicitly.

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?

"派发后拿不到运行时先跑这个" gives a concrete triggering condition: run this first when dispatch does not yield a runtime. That is clear when-to-use guidance, but there is no when-not guidance or named alternative for adjacent diagnostics.

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