Skip to main content
Glama

davinci_cfg5_report

Parses a CFG5 ExecutionReport XML to return counts, findings, and per-generator results, helping inspect AUTOSAR validation and generation outcomes.

Instructions

解析一份 CFG5 ExecutionReport XML,返回计数、finding 与各生成器结果。

生成/校验报告默认落在 <工程>/Log/davinci-mcp,也可以传任意报告路径。

Args: report_file: ExecutionReport XML 路径。

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": {
      "report_file": "<report_file>"
    },
    "name": "davinci_cfg5_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
report_fileYes

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 at all, the description has to carry the whole behavioral burden. 'Parse ... return' makes the read-only nature clear, and the default report location plus the ability to pass any path is genuinely useful context. It says nothing about what happens with a missing or malformed XML file, or whether large reports are truncated.

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 purpose statement comes first, followed by location context and a short Args block; no filler sentences. The Args entry largely restates the first sentence, which is minor redundancy rather than bloat.

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

Completeness3/5

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

There is no output schema and no annotations, so the description must describe the return: it lists counts, findings, and per-generator results, but at a high level with no shape or field names. Error conditions and the expected XML dialect are left unaddressed, so it is adequate rather than complete.

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 description must supply all meaning for report_file, and it does: the value is a path to an ExecutionReport XML. It further states that reports default to <project>/Log/davinci-mcp while any path is acceptable, which is meaning the bare schema does not convey.

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 specific verb and resource: parse a CFG5 ExecutionReport XML and return counts, findings, and per-generator results. That is a concrete, distinct capability. It never contrasts itself with nearby tools such as the validate or generate entries, so it stops short of full sibling differentiation.

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?

Usage is only implied: the note that generated/validation reports land in <project>/Log/davinci-mcp hints that this tool is the follow-up step after a generate or validate run. There is no explicit statement of when to call this tool rather than an alternative, and no stated preconditions.

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