Skip to main content
Glama

zentao_doctor

Runs a preflight environment check for ZenTao autofix, verifying configuration, credentials, repository paths, and Git readiness before defect fixes.

Instructions

环境自检:配置是否齐、凭证是否有效、各仓库路径是否可用、git 是否就绪。出问题先跑这个。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It discloses the checks performed but not the safety profile (does it only read, or can it repair?), the cost/latency, or the shape of the resulting diagnosis, leaving an agent to infer that it is a non-mutating probe.

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 compact clauses with no filler: the scope of the check comes first, the trigger second. Every element earns its place, and the imperative call to action is front-loaded appropriately.

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?

With no output schema and no annotations, the description should explain what a diagnosis returns and whether it is read-only. It covers the input-less nature well but stops short of characterizing the result, which is the main thing an agent needs from a diagnostic tool.

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 applies; the schema is trivially complete and the description has no parameter semantics to explain. Nothing is missing on this dimension.

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?

The description uses a concrete verb (环境自检 / self-check) and explicitly enumerates the four things checked: config completeness, credential validity, repo path availability, and git readiness. It implicitly distinguishes itself from zentao_config and zentao_login by being an aggregate diagnostic rather than a single-purpose check, though it never names those siblings.

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 clear, actionable trigger: run this first when something goes wrong. It does not explicitly say when NOT to use it or which tool to go to after a diagnosis comes back clean, so it falls short of full routing guidance.

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