Skip to main content
Glama

summarize_trace_log

Stream CAN trace files (.asc/.blf/.trc/.log/.csv/.parquet) and return duration, frame/error counts, channels, and per-arbitration-ID summaries for bus-health analysis.

Instructions

Stream a .asc/.blf/.trc/.log/.csv/.parquet trace and return duration, frame/error counts, channels, and a per-arbitration-ID summary table (count, Δt stats, DLC, payload entropy).

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": {
      "log_path": "<log_path>"
    },
    "name": "summarize_trace_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
dbc_pathNo
log_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that processing is streaming (implying no full in-memory load) and what the result contains, but says nothing about performance limits on large traces, whether it is read-only, or what happens when no DBC is given. Read-only intent is strongly implied by 'summarize' but never stated.

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?

A single sentence that front-loads the action and file formats before the return payload, with no filler. The parenthetical output enumeration is dense but every clause adds information.

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, the description does the necessary work of enumerating return fields, which is the biggest risk area for this tool. The notable remaining gap is the role of dbc_path and its effect on the summary output, plus any expectation about input size.

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% for both parameters, and the description names neither. The format list partially conveys what log_path must be, but dbc_path — the parameter that presumably controls whether signal decoding or message names appear in the per-ID table — is completely unexplained in both schema and description.

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 description names a specific verb ('Stream'), the exact resource (a trace file with enumerated formats), and enumerates the concrete outputs (duration, frame/error counts, channels, per-arbitration-ID summary with count, Δt stats, DLC, payload entropy). This clearly distinguishes it from siblings like filter_and_export_trace and analyze_bus_health_and_faults without needing to name them.

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?

The accepted file extensions imply the domain of applicability, but there is no explicit when-to-use guidance, no mention of when to prefer filter_and_export_trace or analyze_bus_health_and_faults instead, and no stated prerequisites. Usage is inferable from the described outputs rather than stated.

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