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

sample_signals

Reads up to 1024 signal values at specified simulation times from a live Verdi session, preserving X/Z states and supporting binary, decimal, signed, and unsigned radix formats.

Instructions

Read up to 1024 values. Dec/UDec are unsigned; SDec is signed two's complement. Preserve X/Z strings; never treat them as zero. Verdi loads each signal on first access (slow in large flat scopes): if truncated, request pending_signals again.

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": {
      "signals": "<signals>",
      "times": "<times>"
    },
    "name": "sample_signals"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNons
radixNoBin
timesYes
signalsYes
budget_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

B3.1/5.0
Behavior3/5

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

Annotations are absent, so the description carries the full load, and it does disclose real behavior: a 1024-value cap, truncation signaling, X/Z values returned as strings rather than zero, and first-access loading latency in large flat scopes. It omits session/permission requirements, error behavior, and any hint of the return structure, which matters for a tool with no output schema.

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?

Three dense sentences with the read scope and value cap front-loaded, no filler. The final clause ('if truncated, request pending_signals again') is slightly ambiguous about whether it means re-invoke this tool or call a different one.

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

Completeness2/5

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

With 5 undocumented parameters, no annotations, and no output schema, the description should explain the time/unit format and the shape of what is returned; it explains neither. The performance and truncation notes are valuable, but an agent still cannot construct a correct call or parse the result confidently from this text.

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 coverage is 0% for 5 parameters, so the description must compensate, and it only partly does: it gives radix semantics (Dec/UDec unsigned, SDec two's complement) and implies the 1024-value limit across signals/times. It says nothing about the format of the 'times' strings, the 'unit' parameter, or what 'budget_ms' controls, leaving three of five parameters unexplained anywhere.

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?

States a concrete verb and resource: 'Read up to 1024 values' from signals at given times, which is clear enough to act on. It does not distinguish itself from siblings such as sample_on_clock or get_value_changes, so an agent cannot tell from the text alone which sampling tool applies when.

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: sample arbitrary signals at arbitrary times, and re-request on truncation. There is no explicit when-to-use/when-not guidance and no named alternative among the many sibling sampling tools.

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