Skip to main content
Glama

davinci_cfg5_script_install

Installs a .dvgroovy script into a CFG5 (.dpa) project directory so the GUI Script Locations can load it. Copies files only and requires confirm=true; it does not execute scripts.

Instructions

把 .dvgroovy 安装到 CFG5(.dpa)工程目录,供 GUI 的 Script Locations 加载。

公开文档中 CFG5 只提供 GUI 的 Script Locations 入口,本工具只做安装与提示,不执行脚本。 安装会写入工程目录,需要 confirm=true。

Args: project: .dpa 工程文件。 script: 要安装的 .dvgroovy 脚本。 target_dir: 安装目录;缺省 <工程目录>/Scripts。 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>",
      "script": "<script>"
    },
    "name": "davinci_cfg5_script_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
scriptYes
confirmNo
projectYes
target_dirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does disclose key behavior: the operation writes files into the project directory, requires confirm=true as a gate, and never executes the installed script. It omits what happens if a file with the same name already exists, whether the copy is reversible, and what the tool returns on success.

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 purpose and the non-execution caveat are front-loaded, followed by the write/confirm constraint, then the parameter block. No sentence is padding, though the Args block repeats titles that already appear in the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter mutating tool with no annotations and no output schema, the description covers the essential unknowns: that it writes to disk, the confirm gate, the default install location, and the absence of execution. Return-value behavior is the only minor gap, and the tool is simple enough that this does not impede correct invocation.

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 coverage is 0%, so the description must compensate, and it covers all four parameters: project, script, target_dir, and confirm. The entries for project and script largely restate their titles, but target_dir adds the resolved default <工程目录>/Scripts and confirm states that it must be true for the copy to occur, which goes beyond the schema's default=false.

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 specific verb and resource: installs a .dvgroovy file into a CFG5 (.dpa) project directory so the GUI's Script Locations can load it. It also states a negative scope, "本工具只做安装与提示,不执行脚本", which separates it from the run/execute siblings davinci_cfg5_run and davinci_script_run.

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?

It says when the tool applies (public docs expose only a GUI Script Locations entry, so installation is the supported path) and implies when not to use it (it never executes scripts, so execution must go elsewhere). It does not name a concrete alternative tool by name, which keeps it just below a 5.

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