Skip to main content
Glama
proteus-mcp
by YaxOFF

measure_delay

Calculates the delay from the first specified edge on pin A to the first matching edge on pin B after it, using recorded probe edges for timing analysis.

Instructions

[probe] Seconds from the first edge_a ('rise'|'fall'|'any') on pin_a to the first edge_b on pin_b after it, from the recorded probe edges.

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": {
      "pin_a": "<pin_a>",
      "pin_b": "<pin_b>"
    },
    "name": "measure_delay"
  }
}

Input Schema

NameRequiredDescriptionDefault
pin_aYes
pin_bYes
edge_aNoany
edge_bNoany

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.5/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 load. It usefully discloses that the result is in seconds, that only the first qualifying edge of each kind counts, and that edge_b must occur after edge_a, and that data comes from previously recorded probe edges rather than a fresh capture. It does not say what happens when no matching edges exist (error vs null), nor whether it is purely a read of prior data.

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?

A single dense sentence with no filler; the measurement definition comes before the data-source qualifier. The '[probe]' tag is a terse category marker whose meaning is not self-evident, which is the only slight drag on structure.

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?

No output schema, no annotations, four parameters with no schema documentation, so the description must do heavy lifting. It adequately defines the computed quantity and units, but omits failure behavior when no edges are found and does not name the prerequisite capture step, leaving real gaps for a measurement tool.

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 description coverage is 0% and the schema declares no enums, yet the description supplies the critical 'rise'|'fall'|'any' vocabulary for edge_a, which the schema alone would not convey. edge_b is only covered by parallel inference from edge_a, and the pin parameters get no format guidance beyond their 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?

States a specific measurement: elapsed seconds from the first edge_a on pin_a to the first edge_b on pin_b that follows. That is a clear verb-equivalent (measure) plus resource (edge-to-edge delay). It does not distinguish itself from the sibling measure_signal, so it stops short of a 5.

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 phrase 'from the recorded probe edges' implies the prerequisite that edges must already be captured (e.g. via probe_run/probe_read) before this tool is useful. However, it never states that explicitly, nor does it say when to prefer this over measure_signal or the raw probe_events tool.

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