Skip to main content
Glama

davinci_cfg5_save

Save a CFG5 project by writing back its .dpa file and configuration; optionally save one module and require confirm=true before execution.

Instructions

保存 CFG5 工程(DVCfgCmd Save),会写回 .dpa 与配置,需要 confirm=true。

Args: project: .dpa 工程文件;命令的工作目录会设为该工程目录。 module: 只保存指定模块(--module)。 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_save"
  }
}

Input Schema

NameRequiredDescriptionDefault
moduleNo
confirmNo
projectYes
timeout_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

B3.4/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 full burden. It does disclose meaningful behavior beyond a bare 'save': that it writes back both the .dpa and configuration files, that confirm=true is a hard gate, and that the command's working directory is switched to the project directory. It omits reversibility, whether unsaved in-memory edits are lost, and what a partial module save leaves untouched.

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 summary sentence is front-loaded and states the effect and the confirm requirement immediately, followed by a compact per-argument list. No padding, though the parenthetical internal command name is of limited use to an agent.

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 destructive-adjacent write tool with no annotations and no output schema, the description covers the essentials (what gets written, the confirm gate, cwd behavior) but leaves the fourth parameter unexplained and says nothing about failure modes, return values, or what happens if confirm is false. Adequate but with clear gaps.

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. It explains three of four parameters and adds genuinely non-obvious meaning for 'project' (the working directory is set to that project's folder) and 'module' (limits saving to one module via --module). However 'timeout_s' is completely undocumented and 'module' naming/format remains vague.

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 names a specific verb and resource ('保存 CFG5 工程', with the internal command DVCfgCmd Save) and states the concrete effect: writing back the .dpa file and configuration. It is clearly distinguishable from generate/validate/report siblings, though it does not explicitly contrast with davinci_cfg5_update, which is the nearest ambiguous alternative.

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?

Usage is only implied: the fact that confirm=true is mandatory tells the agent this is a deliberate write action, but there is no statement of when to prefer this over davinci_cfg5_update or davinci_cfg5_generate, and no prerequisites (e.g. project must already exist or be open) are given.

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