Skip to main content
Glama

davinci_cfg5_update

Updates a DaVinci Configurator 5 project and rewrites its .dpa and configuration files from ARXML inputs; requires confirm=true and supports ECUC-only or legacy-diagnostic-only updates.

Instructions

更新 CFG5 工程(DVCfgCmd -u),会改写 .dpa 与配置,需要 confirm=true。

Args: project: .dpa 工程文件。 inputs: 作为 --input 传入的输入文件(ARXML 等)。 only_ecuc: 只更新 ECUC 部分(--onlyEcuc)。 only_legacy_diag: 只更新 legacy 诊断部分(--onlyLegacyDiag)。 confirm: 必须为 true 才会执行。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>"
    },
    "name": "davinci_cfg5_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputsNo
confirmNo
projectYes
only_ecucNo
timeout_sNo
only_legacy_diagNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose the critical traits: this rewrites .dpa and configuration files (destructive mutation) and requires confirm=true to execute. It stops short of covering backup/reversibility, failure behavior, or what timeout_s controls.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The destructive-write warning and confirm requirement are front-loaded in the opening sentence, followed by a compact per-argument list. Nothing is padded, though the argument lines largely restate schema property names.

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 mutation tool with no annotations and no output schema, the essential safety information is present, but the agent is left without guidance on which sibling to pick, what timeout_s does, or what the tool returns on success versus failure. Adequate but with clear gaps.

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?

Schema description coverage is 0%, so the description must compensate, and it documents 5 of 6 parameters including their CLI mapping (inputs as --input ARXML files, only_ecuc as --onlyEcuc, confirm as a hard gate). Only timeout_s is left unexplained, which is a minor gap rather than a systemic one.

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 (update CFG5 project) and even names the underlying CLI invocation (DVCfgCmd -u), which makes the operation concrete. It does not explicitly differentiate itself from siblings like davinci_cfg5_generate or davinci_project_update, so it falls short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No statement of when to choose this over davinci_cfg5_generate, davinci_cfg5_save, or davinci_project_update, and no prerequisites beyond the confirm gate. The only usage signal is implied by the mode flags (only_ecuc / only_legacy_diag), which an agent must infer.

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