Skip to main content
Glama

davinci_spec_lookup

Translates an AUTOSAR module and release into executable spec lookup clues: SWS document name, ECUC definition paths, version-specific search queries, and download paths.

Instructions

把「模块 + AUTOSAR 版本」翻译成可执行的规范检索线索(只读)。

返回 SWS 文档名、ECUC 定义路径、按版本拼好的检索式与站点下载路径。 release 应来自 davinci_ar_version 的探测结果——用最新版规范解释旧工程, 参数名与可选项常常已经变了。

Args: module: ECUC 模块短名,例如 Dem / NvM / CanIf。 release: 4.2.2 / R4.2.2 / R21-11 等;不传则提示先探测。 topic: 具体关注点(参数名、特性),会拼进检索式,例如 DemEventId。

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": {
      "module": "<module>"
    },
    "name": "davinci_spec_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
topicNo
moduleYes
releaseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does declare the operation read-only plus describes the four returned artifacts. It adds a genuine behavioral caveat about version mismatch corrupting parameter names/options. It stops short of covering auth needs, network/site-download behavior, or failure modes when a module/release is unknown.

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?

Content is front-loaded: purpose and return values first, the version-provenance caveat second, then a compact Args block. It is somewhat list-heavy, but given 0% schema coverage the parameter lines are load-bearing rather than redundant, and no sentence is filler.

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?

With no output schema and no annotations, the description must supply both the return shape and the safety profile, and it does (read-only plus four named outputs). It is complete enough to invoke correctly for the common path, with only error/empty-result behavior left implicit.

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 Args block is the only parameter documentation, and it covers all three: module with concrete examples (Dem/NvM/CanIf), release with accepted format variants (4.2.2 / R4.2.2 / R21-11) and its default behavior when omitted, and topic as text spliced into the query with an example. Only module is required, and the description does not spell out what happens when an invalid module is supplied.

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 opening line gives a specific verb-and-resource pairing: translating a module plus AUTOSAR release into spec-lookup clues, explicitly marked read-only. It further enumerates the concrete artifacts returned (SWS document name, ECUC definition path, version-composed query, download path), so an agent knows precisely what this produces versus siblings like davinci_ecuc_query or davinci_api_index.

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 names a concrete prerequisite workflow: release should come from davinci_ar_version probing, and if release is omitted the tool will prompt for probing first. It also explains the reason to prefer a matching release (latest-spec interpretation of old projects breaks parameter names). It does not explicitly state when to prefer this over spec-adjacent siblings, which keeps it from a 5.

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