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

sample_on_clock

Samples specified signals on each clock edge across a time range to produce a cycle-by-cycle value table, with pre/post-edge reads and resumable results.

Instructions

Cycle table: one row per clock edge in (start, end] with all signal values. sample="pre" reads one native tick before the edge, i.e. what flops capture; "post" reads the settled value at the edge. Continue from resume_from if truncated.

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": {
      "clock": "<clock>",
      "signals": "<signals>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "sample_on_clock"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
edgeNorising
unitNons
clockYes
radixNoHex
startYes
sampleNopre
signalsYes
budget_msNo
max_cyclesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose real traits: the output is a per-edge table, results may be truncated, and there is a continuation path. It says nothing about cost, permissions, or how budget_ms/max_cycles affect truncation, and the continuation pointer is broken, so the disclosure is partial rather than complete.

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 tight sentences, front-loaded with the output shape before the sampling semantics — good ordering with no filler. It loses a point for the cryptic 'Cycle table:' fragment opening and for spending words on a resume_from parameter that the schema does not define.

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?

For a 10-parameter tool with zero schema coverage, no annotations, and no output schema, the description leaves most of the contract unstated: units, edge selection, radix, and the effect of max_cycles/budget_ms on truncation are all undocumented. An agent could not reliably predict defaults or how to page results from this text alone.

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% across 10 parameters, so the description must compensate and largely does not. It adds genuine meaning only for sample (pre = one native tick before the edge, i.e. flop input; post = settled value) and implicitly for start/end via the (start, end] notation; clock, signals, edge, unit, radix, budget_ms, and max_cycles get no explanation at all.

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?

The description names a concrete resource and shape: a cycle table with one row per clock edge over the half-open interval (start, end], holding all requested signal values. That is specific enough to distinguish it from a plain value sampler, but it never names or contrasts with siblings such as sample_signals or measure_clock, so sibling differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance and no stated alternatives, so the agent must guess between this and sample_signals/measure_clock. The one usage instruction given — 'Continue from resume_from if truncated' — refers to a parameter that does not exist in the schema (additionalProperties is false and no resume_from property is defined), which is actively misleading rather than helpful.

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