Skip to main content
Glama

Collect diagnostic evidence report

read_diagnostic_report
Read-only

Collect stored and pending trouble codes, freeze-frame, live sensor data, and readiness monitors into one timestamped evidence record for workshop review.

Instructions

Collect stored/pending codes, freeze frame, live data and readiness into one timestamped evidence record for a workshop discussion. Optionally select live sensor names with pids; omit or pass an empty list for the defaults. Available names: engine_load, coolant_temp, stft_b1, ltft_b1, stft_b2, ltft_b2, intake_map, rpm, vehicle_speed, timing_advance, intake_air_temp, maf, throttle, o2_b1s1_voltage, o2_b1s2_voltage, run_time, distance_with_mil, fuel_level, warmups_since_clear, distance_since_clear, baro, catalyst_temp_b1s1, module_voltage, ambient_temp, oil_temp. Readings are collected sequentially. Preserve each section's errors and unknown values when summarizing. VIN is not requested and codes are not cleared. The result contains observations, not a diagnosis.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_diagnostic_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidsNoLive PID names to read; omit or pass an empty list for the default set

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.1

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/destructive/openWorld annotations, it discloses several non-obvious traits: readings are collected sequentially (latency implication), each section's errors and unknown values are preserved in the summary, VIN is not requested, codes are not cleared, and the output is observations rather than a diagnosis. Those last two are meaningful negative guarantees an agent could not derive from annotations.

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?

Purpose is front-loaded in the first sentence, and the long PID roster, while bulky, earns its place because there is no enum in the schema. A few clauses ('Preserve each section's errors and unknown values when summarizing', 'The result contains observations, not a diagnosis') are somewhat run-on but each contributes distinct 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 carries the burden of explaining the return, and it does so at a high level: a timestamped record with sections, errors and unknown values preserved, explicitly not a diagnosis. The precise structure of the returned record is left unspecified, which is the main remaining gap.

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 already 100%, so the baseline would be 3, but the description adds real value by enumerating all 26 valid PID names, which the schema cannot express since the array items have no enum. It also restates the default behavior for omitted or empty lists.

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 ('Collect ... into one timestamped evidence record') and enumerates exactly what is aggregated: stored/pending codes, freeze frame, live data and readiness. This cleanly distinguishes it from the per-section siblings like read_dtcs, read_freeze_frame, read_live_data and read_readiness.

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?

The phrase 'for a workshop discussion' gives the intended context, and the aggregation framing implies when to use it over the single-section readers. It does not explicitly say 'use this instead of calling read_dtcs plus read_live_data separately', so the routing is inferable rather than stated.

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