Skip to main content
Glama

davinci_ecuc_query

Query ECUC parameters in ARXML files by path wildcard, module, container, name, or value to locate AUTOSAR configuration entries; read-only.

Instructions

按路径通配、模块、容器、参数名或值片段查询 ECUC 参数(只读)。

典型用法:

  • pattern="/Dem/**/DemEventParameter_*/DemEventId" 精确到参数;

  • module="Dem", value_contains="SWC" 找出所有相关事件;

  • container="DemEventParameter" 列出全部事件容器下的参数。

Args: arxml: 一个或多个 .arxml 路径。 pattern: 稳定路径通配,支持 * 与 ( 可跨层级)。 module: 模块名,精确匹配(如 Dem)。 container: 容器路径片段,子串匹配。 name: 参数名片段,子串匹配。 value_contains: 值片段,子串匹配(不区分大小写)。 kind: parameter 或 reference。 limit: 最多返回多少条。

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": {
      "arxml": "<arxml>"
    },
    "name": "davinci_ecuc_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
nameNo
arxmlYes
limitNo
moduleNo
patternNo
releaseNoR21-11
containerNo
value_containsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose read-only behavior (只读), the cap on returned rows via limit, and case-insensitive value matching. It says nothing about return shape, ordering, truncation/pagination behavior when limit is hit, or how errors/large-file parsing are handled — notable gaps for a 9-parameter tool with zero annotation coverage.

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?

Front-loaded one-line purpose, then three scannable examples, then a per-argument list that is doing genuine work given empty schema descriptions. No filler sentences and nothing repeated without added meaning.

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?

Covers most of what an agent needs to construct a query across 9 parameters, and the filter semantics are unusually well specified. It falls short only on the undocumented `release` argument and on return-value behavior, which matters since there is no output schema.

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?

With 0% schema coverage the description must compensate, and it largely does: it explains that pattern supports * and ** with ** crossing hierarchy levels, that module is exact-match while container/name are substring, that value_contains is case-insensitive, and that kind is parameter or reference. The one real omission is the `release` parameter (default R21-11), which is undocumented everywhere.

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?

States a specific verb (query) and resource (ECUC parameters) plus the filter dimensions and the read-only scope in the first line. The sibling set contains audit/diff/export/index variants, and this one is clearly framed as the lookup tool, so an agent can distinguish it without opening the schema.

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 usage examples show which filter combination to reach for (exact parameter by pattern, keyword sweep by module+value, container enumeration). It gives clear context on how filters compose but never states when NOT to use it or names an alternative such as the index/export siblings.

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