Skip to main content
Glama

davinci_project_update

Run the project repair workflow to resolve model inconsistencies in a DaVinci AUTOSAR project, optionally selecting steps; confirmation is required before changes are written.

Instructions

执行工程更新工作流,修复模型不一致(project update)。会修改工程,需 confirm=true。

Args: project: .dvjson 工程文件。 bsw_package: BSW 包目录。 actions: 可选子集,取值 auto-reference-correction / apply-input-file-changes / rte-config / evs-changes / solve-all;不传表示执行全部步骤。 confirm: 必须为 true 才会执行。 no_save: 试运行,不写回工程。

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_project_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionsNo
confirmNo
no_saveNo
projectYes
timeout_sNo
bsw_packageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A3.7/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 of disclosure. It does disclose the key trait that this is a mutating tool ('会修改工程', i.e., will modify the project), that confirm=true is required, and that no_save gives a dry run, which is meaningful behavior beyond structured data. However, it does not say what is overwritten or destroyed, whether changes are reversible, whether a backup exists, or how long the run may take.

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?

The purpose and the mutation warning are front-loaded in the first two sentences. The rest is a tight Args list, and every line carries information, including the enumerated actions and the default behavior.

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 6-parameter mutating tool with no annotations and no output schema, this definition covers what an agent needs in order to call it safely: what the tool does, that it modifies the project, and that confirm is required. Gaps remain around timeout_s, failure/partial-completion behavior, and rollback, but none is disqualifying.

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 largely does. It explains project, bsw_package, confirm, and no_save, and it helpfully enumerates the actions values that the schema does not encode as an enum: auto-reference-correction / apply-input-file-changes / rte-config / evs-changes / solve-all, plus the default of running all steps. Only timeout_s is left undocumented.

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: '执行工程更新工作流,修复模型不一致(project update)' (run the project update workflow, fix model inconsistencies). That is clearly distinct from read-only siblings such as davinci_project_info or davinci_project_diff. However, it never names a sibling alternative explicitly, so it does not fully claim the 5 level of sibling differentiation.

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?

Most usage guidance is implicit: use this tool to fix model inconsistencies. The description does add a concrete safety gate ('confirm 必须为 true 才会执行', i.e., must be true to run) and a dry-run path ('no_save: 试运行,不写回工程', i.e., dry run, does not write back to the project), which is genuinely useful. It never states when to prefer this over davinci_project_validate or davinci_project_generate, and it names no exclusions.

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