Skip to main content
Glama

davinci_env_doctor

Checks local DaVinci toolchain readiness for dvcfg-b, dvdevc, BSW packages, workspace write access, job log directories, and license hints; returns pass/warn/fail results with repair suggestions.

Instructions

检查本机 DaVinci 工具链是否就绪。

返回每项检查的 pass/warn/fail 与修复建议,包括 dvcfg-b、dvdevc、BSW 包、 工作根目录写权限、作业日志目录与许可证提示。新环境第一件事就调用它。

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4.2/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 discloses the per-check result model (pass/warn/fail plus remediation advice) and the check surface, which is useful. However, it never states whether the tool is read-only or whether the write-permission check creates files, whether failures abort the run, or whether it performs any remediation — clear gaps for a tool with zero annotation coverage.

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, front-loaded with the purpose, then the return contract, then a usage directive. The check list is dense but every item carries information an agent would otherwise have to discover by running the tool.

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 output schema, the description supplies the essential return contract (per-check pass/warn/fail plus fix suggestions). It stops short of explaining severity semantics or what a caller should do with mixed warn results, leaving a small but real gap.

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 no parameters, so per the baseline rule this scores 4. The description adds nothing to compensate for and nothing is missing at the parameter level.

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

Purpose5/5

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

The description names a concrete verb (check/verify readiness) and a concrete resource (the local DaVinci toolchain), then enumerates the exact checks: dvcfg-b, dvdevc, BSW packages, working-root write permission, job log directory, and license hints. No sibling tool in the catalog performs environment diagnostics, so an agent can identify this unambiguously without opening the schema.

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 an explicit trigger condition: call this first in a new environment. It also implicitly covers the troubleshooting case by promising fix suggestions. It does not state when NOT to call it or name an alternative sibling for related checks, which keeps it below a 5.

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