Skip to main content
Glama

davinci_cfg5_run

Run DaVinci Configurator 5 commands by passing DVCfgCmd arguments for import, export, or SP options, with project path injection and confirm-gated writes.

Instructions

受控透传 DVCfgCmd 参数,用于 import、export 或特定 SP 的扩展选项。

工程路径会自动以 -p 注入(也可自己传,但同样要过路径白名单)。 只读动作(-v / --help / --exportPlatformFunctions)不需要 confirm; 其它动作会修改工程,必须 confirm=true。

Args: project: .dpa 工程文件。 arguments: 参数列表,例如 ["-i", "C:/in/New.arxml"] 或 ["-g", "-m", "Rte"]。 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>",
      "arguments": "<arguments>"
    },
    "name": "davinci_cfg5_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
projectYes
argumentsYes
timeout_sNo
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose important behavior: -p is auto-injected, user-supplied paths must clear a path whitelist, and write actions are gated on confirm=true. It does not describe timeout_s or wait_seconds behavior, what happens on timeout, or what a write actually changes in the project, which are significant gaps for an arbitrary-CLI passthrough.

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 definition is compact and front-loaded: the passthrough purpose comes first, then path injection, then the confirm rule, then the argument list. The parenthetical about optionally passing -p yourself is slightly redundant but earns its place because of the whitelist constraint.

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?

Given a tool that passes arbitrary CLI flags through with no output schema and no annotations, the description supplies the essential safety and scoping context required to invoke it correctly. The missing piece is the meaning and purpose of timeout_s and wait_seconds, which matters when running long import or generation commands.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 3 of 5 parameters with concrete examples (["-i", "C:/in/New.arxml"] and ["-g", "-m", "Rte"]), which is genuinely useful. It says nothing about timeout_s or wait_seconds, leaving two parameters entirely unspecified.

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 states a specific verb and resource: it is a controlled passthrough runner for DVCfgCmd, scoped to import, export, or SP-specific extension options on a .dpa project. That is far more informative than the name alone, though it never contrasts itself with close siblings such as davinci_cfg5_generate, davinci_cfg5_validate, or davinci_export_run.

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?

There is a clear rule for confirm: read-only actions (-v / --help / --exportPlatformFunctions) need no confirmation, while anything that modifies the project requires confirm=true. However, there is no guidance on when to choose this raw passthrough over the higher-level sibling tools, so the agent is left to infer that split from the sibling names.

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