Skip to main content
Glama

davinci_project_create

Creates a new DaVinci Configurator 6 (.dvjson) project from a MICROSAR BSW package, using optional creation parameters or a project name with default settings.

Instructions

用 BSW 包创建一个新的 DaVinci 工程(dvcfg-b project create)。

仅适用于 CFG6(.dvjson)。CFG5 没有等价的创建命令,创建 .dpa 工程请用 davinci_cfg5_project_create(模板克隆)。

Args: output_dir: 工程创建目录(必须在允许的工作根目录内,不存在会自动创建)。 project_name: 工程名;使用默认设置创建时必填。 bsw_package: MICROSAR BSW 包根目录;缺省用 DAVINCI_BSW_PACKAGE。 param_file: 可选的工程创建参数 JSON;给出时忽略 project_name。

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": {
      "output_dir": "<output_dir>"
    },
    "name": "davinci_project_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
output_dirYes
param_fileNo
bsw_packageNo
project_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and delivers meaningful behavior: output_dir is constrained to an allowed work root and is auto-created when missing, bsw_package falls back to the DAVINCI_BSW_PACKAGE environment variable, and param_file suppresses project_name. It does not say what happens if a project already exists at that path (overwrite vs. error) or what the call returns, which for a creation tool is the main remaining gap.

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 statement of purpose followed by a preconditions/alternatives sentence, then a clean Args list with no filler. Every sentence carries either a scope constraint or a parameter rule.

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?

Given a mutating, multi-parameter creation tool with no annotations and no output schema, the description covers prerequisites, environment fallbacks, and the sibling alternative well. It stops short of describing success output or the param_file JSON shape, which an agent would need for the non-default path.

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 Args block is doing all the work — and it documents all four parameters, including the conditional-required nature of project_name ('required when using default settings') and the precedence rule that param_file overrides project_name. It does not describe the JSON structure param_file expects, so the agent still has to guess at that payload.

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 and resource (create a new DaVinci project from a BSW package, `dvcfg-b project create`) and explicitly bounds the scope to CFG6/.dvjson, naming the sibling `davinci_cfg5_project_create` for the CFG5/.dpa case. An agent can distinguish it from the other project tools without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use (CFG6 only) and a when-not-to-use with a concrete alternative ('CFG5 has no equivalent create command; use davinci_cfg5_project_create with template cloning for .dpa'). This is the routing information an agent needs before calling anything.

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