Skip to main content
Glama

davinci_export_run

Export AUTOSAR files from a .dvjson project using a specified exporter and output directory, with optional variant splitting and binding-time settings.

Instructions

用指定导出器导出 AUTOSAR 文件(export run)。

Args: project: .dvjson 工程文件。 exporter: 导出器 ID,先用 davinci_export_list 查询,例如 "communication"。 output_dir: 导出目录。 exporter_args: 透传给导出器的位置参数。 split_pre_build_variants / split_post_build_variants: 按 pre/post-build 变体拆分输出。 binding_time: 指定导出的 binding time。

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>",
      "exporter": "<exporter>",
      "output_dir": "<output_dir>"
    },
    "name": "davinci_export_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYes
exporterYes
timeout_sNo
output_dirYes
bsw_packageNo
binding_timeNo
wait_secondsNo
exporter_argsNo
split_pre_build_variantsNo
split_post_build_variantsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it never says that this writes files to disk, whether existing files in output_dir are overwritten, or how errors are surfaced. It is also silent on two non-obvious controls: timeout_s and wait_seconds (default 180), which suggest a long-running/wait-based execution model the agent would need to understand.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded and clear, and the Args block is compact with no filler. However, it reads as a parameter-name glossary rather than an explanation, and lumping the two split flags into one line reduces precision.

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?

With 10 parameters, no annotations, no output schema, and file-system side effects, the agent still lacks essentials: what the tool returns (output paths?), timeout/wait semantics, and failure modes. The definition is not sufficient on its own for correct invocation of a side-effecting export tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 10 parameters, so the description must compensate, and it only glosses 7 of them, largely restating the names ('project: .dvjson project file', 'output_dir: export directory'). It says nothing about timeout_s, wait_seconds, or bsw_package, and gives no format or valid-value hints for binding_time or exporter_args.

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+resource: exporting AUTOSAR files using a given exporter ('export run'). It distinguishes the tool from davinci_export_list by naming that sibling as the way to discover the exporter ID, so an agent can tell the two apart without opening either schema.

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?

It gives one useful prerequisite: query davinci_export_list first to obtain the exporter ID. Beyond that there is no guidance on when to use this versus davinci_ecuc_export, davinci_build, or the automation/script runners, and no when-not or preconditions (project must exist, output dir must be writable/empty).

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