Skip to main content
Glama

get_measurement

Read-only

Retrieves the state, progress, and final QC verdict, findings, and provenance for a measurement request, with optional long-polling until its state changes.

Instructions

State, progress and (when done) the QC verdict, findings and provenance of a request. wait_s: wait up to this many seconds for the state to change (long poll).

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": {
      "request_id": "<request_id>"
    },
    "name": "get_measurement"
  }
}

Input Schema

NameRequiredDescriptionDefault
wait_sNo
request_idYes

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?

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), and the description adds real context beyond them: the return content varies by state, and wait_s induces a long poll that returns when the state changes. It omits what happens on an unknown request_id or when the wait expires without a change, which keeps it short of a 5.

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 compact sentences, front-loading the returned data and then the one non-obvious parameter, with no filler or repetition.

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?

With no output schema and only two parameters, the description supplies the essential return-value structure an agent needs, which is the main gap it had to fill. Missing only edge-case behavior (invalid id, wait timeout with no change) to be fully complete.

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 carry the parameter load. It explains wait_s well ('wait up to this many seconds for the state to change', long poll), but request_id is left entirely to the schema and the name, with no note on format or source (presumably from request_measurement).

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 the resource (a request) and exactly what it returns: state, progress, and, once done, the QC verdict, findings and provenance. That is specific enough to distinguish it from request_measurement and cancel_measurement, though it never uses an explicit verb like 'retrieve' and does not name those siblings.

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 only implied: the parenthetical '(when done)' and the long-poll parameter suggest this is the tool to poll for completion, but there is no explicit statement of when to call it versus request_measurement or list_instruments, and no guidance on when to set wait_s > 0 versus 0.

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