Skip to main content
Glama
verdi-bridge
by Yin-yao

trace_driver

Trace a dot-separated HDL signal to its driving process, file, and line to locate the RTL source of that signal.

Instructions

Trace a dot-separated HDL signal to its driving process/file/line.

This identifies drivers, not automatically the faulty statement.

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": {
      "signal": "<signal>"
    },
    "name": "trace_driver"
  }
}

Input Schema

NameRequiredDescriptionDefault
signalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it discloses the shape of the result (process/file/line) and one important semantic caveat about not conflating drivers with faults. It omits whether the call is a read-only lookup, what happens for unknown or ambiguous signals, and whether tracing crosses hierarchy boundaries.

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?

Two short sentences, front-loaded with the action and result, followed by a caveat that genuinely earns its place by preventing misreading of the output. No filler or redundancy.

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?

For a single-parameter, no-output-schema tool, the description covers purpose, return semantics, and the main interpretive pitfall. Remaining gaps are session prerequisites and multi-driver handling, which are minor relative to the tool's simplicity.

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 coverage is 0%, so the description must carry the parameter meaning, and it does partially by specifying the 'dot-separated' notation for the single signal argument. It does not give an example path, state whether the signal must be in the current scope, or clarify error behavior for malformed names.

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?

Specific verb ('Trace') plus resource ('dot-separated HDL signal') plus concrete result ('driving process/file/line'), which is far more informative than the bare name. It does not explicitly differentiate itself from siblings like find_signals or read_source, though the driver-tracing scope is distinctive enough in practice.

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 description implies the use case (locating what drives a signal) and adds a useful caution that the result identifies drivers but not the faulty statement, which steers interpretation. It stops short of stating prerequisites (an active session/loaded design), when to prefer an alternative tool, or what to do if multiple drivers exist.

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