Skip to main content
Glama

davinci_ecuc_diff

Compares two ECUC configurations and reports parameter-level additions, deletions, changes, and container moves, helping you review variants or identify what changed between two AUTOSAR project versions.

Instructions

对比两份 ECUC 配置,输出参数级的增/删/改/容器移动(只读)。

用于变体比对、评审前后核对、排查「改了什么导致生成差异」。 容器按 (定义, short-name, 父容器) 二次匹配,重命名不会被误报成全量增删。

Args: before: 基准配置(单文件或文件列表)。 after: 目标配置(单文件或文件列表)。 max_changes: changes 最多返回多少条明细。

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": {
      "before": "<before>",
      "after": "<after>"
    },
    "name": "davinci_ecuc_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterYes
beforeYes
releaseNoR21-11
max_changesNo

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 does real work: it declares 只读, explains the container re-matching key (定义, short-name, 父容器) so renames are not reported as mass add/delete, and notes that max_changes truncates the detail list. It says nothing about error behavior for missing files, how multiple files in a list are combined, or what a change record looks like.

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 behavior and use cases are front-loaded in two short sentences, followed by a compact Args block. The Args entries earn their place by adding meaning, and there is no filler.

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

Completeness2/5

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

For a diff tool with no annotations and no output schema, the description omits the shape of a returned change entry (how add/delete/modify/container-move are represented) and ignores one of four parameters. It is adequate to start an invocation but not to interpret results confidently.

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 coverage is 0%, so the description must compensate. It documents before/after as single file or file list and max_changes as a cap on returned detail entries, but the `release` parameter (default R21-11) is never mentioned and file-list merge semantics remain unclear.

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 concrete verb and resource (对比两份 ECUC 配置), then states the output granularity (参数级的增/删/改/容器移动) and that it is read-only. An agent can distinguish this from project-level diff siblings, though it never names an alternative explicitly.

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?

Three concrete use cases are given: variant comparison (变体比对), pre/post-review verification (评审前后核对), and diagnosing what caused generation differences. There are no explicit exclusions or sibling routing rules (e.g. vs davinci_project_diff), so it stops short of a 5.

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