Skip to main content
Glama

fv_inspect_cex

Parse an SBY counterexample VCD into a compact Markdown table of per-cycle signal states, with step-0 and final-step summaries and BMC-vs-induction triage guidance.

Instructions

Parse an SBY counterexample VCD (trace.vcd or trace_induct.vcd) into a compact Markdown table with step-0 and final-step state summaries and induction-vs-BMC triage guidance.

One row per clock cycle (SBY's half-cycle clock-low rows are dropped). Columns follow the order of signals; every pattern you list is shown (max_signals only caps the default selection) and patterns that match nothing are reported in unmatched_patterns. A pattern is tried as an exact name / hierarchical suffix first and only then as a regex. Solver-internal _witness_ signals are hidden unless include_witness=True. changes_only=True omits rows identical to the previous one. Use start_step/end_step to zoom into a window when omitted_steps is reported, and aliases={"pattern": "short_name"} to rename columns.

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": {
      "vcd_path": "<vcd_path>"
    },
    "name": "fv_inspect_cex"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasesNo
signalsNo
end_stepNo
vcd_pathYes
max_stepsNo
start_stepNo
max_signalsNo
changes_onlyNo
include_witnessNo
only_changing_signalsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does so well: row granularity (one row per clock cycle, half-cycle clock-low rows dropped), pattern matching order (exact name then hierarchical suffix, then regex), reporting of unmatched patterns, witness signal hiding, and changes_only row collapsing. The noticeable gap is max_steps: it defaults to 60 but the description never says whether exceeding it truncates silently, errors, or relates to the omitted_steps reporting it mentions.

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?

Front-loaded with the core verb and output, then organized by parameter concern, with no filler sentences. Some passages are dense to the point of needing a re-read, e.g. 'every pattern you list is shown (max_signals only caps the default selection)', but the length is largely earned by a 10-parameter surface.

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?

An output schema exists, so return-value detail is rightly omitted, and the description does well on formatting and filtering behavior. However, for a 10-parameter, annotation-free tool it leaves max_steps semantics and the only_changing_signals/changes_only distinction unresolved, and says nothing about failure behavior for a missing or non-VCD path.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate across 10 parameters, and it covers most of the important ones: signals (column order), max_signals (caps only the default selection, not explicit patterns), include_witness, changes_only, start_step/end_step, and aliases with an example value. Two parameters remain opaque — max_steps and especially only_changing_signals, whose distinction from the already-explained changes_only is never clarified, leaving a real risk of confusion between the two.

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 ('Parse an SBY counterexample VCD') plus the produced artifact ('compact Markdown table with step-0 and final-step state summaries and induction-vs-BMC triage guidance'). This is clearly distinguishable from siblings like fv_run_sby or fv_generate_report, which produce the run rather than consume its trace.

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 implied rather than stated: it names the acceptable inputs (trace.vcd or trace_induct.vcd) and tells the agent to use start_step/end_step 'to zoom into a window when omitted_steps is reported', which is conditional guidance. It never says when to reach for this tool versus running SBY first or versus other inspection paths, and gives no prerequisites about the job having produced a counterexample.

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