Skip to main content
Glama

request_measurement

Idempotent

Submit an instrument measurement under an approved method version using a sample manifest. Use an idempotency key to prevent duplicate requests; dry-run validates checks without sending.

Instructions

Request a measurement under an approved method version.

sample_manifest: [{"sample_id", "position", "kind": sample|control, "barcode", "attrs": {...}}]. Standards and blanks come from the method's own template; list only your samples. request_id: your idempotency key (3-64 chars). The same id with the same content returns the existing request; nothing is sent twice. dry_run=true runs every check and sends nothing.

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": {
      "instrument": "<instrument>",
      "method_version": "<method_version>",
      "sample_manifest": "<sample_manifest>",
      "request_id": "<request_id>"
    },
    "name": "request_measurement"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
optionsNo
instrumentYes
request_idYes
method_versionYes
sample_manifestYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

The description adds real behavioral detail beyond annotations: what exactly happens on a repeated request_id (returns the existing request, nothing sent twice) and what dry_run does (runs every check, sends nothing). Annotations already flag idempotentHint and destructiveHint=false, but the mechanics of idempotency and the trial-run path are only in the text.

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?

Front-loads purpose in one line, then gives dense per-parameter notes with no filler. The inline 'name: explanation' formatting is terse but readable; minor tightening possible.

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?

For a non-destructive, idempotent submission tool with no output schema, the description covers input construction and dry-run behavior but says nothing about what is returned (a request id? a status?) or how to track the request afterward. That leaves a real gap for an agent orchestrating the submit-then-poll flow.

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%, and the description compensates well for the hardest parameters: sample_manifest's field layout and kind values, request_id length and idempotency role, and dry_run's semantics. However instrument, method_version (e.g., how a valid version is obtained) and especially options — an unconstrained object — 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?

States a specific verb and resource ('Request a measurement') plus a precondition ('under an approved method version'), which separates it from read-side siblings like get_measurement. It never names an alternative explicitly, so differentiation relies on inference.

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 by the create-style phrasing and by the note that standards and blanks are auto-supplied from the method template, telling the caller not to include them. There is no explicit when-to-use vs. when-not, and no pointer to cancel_measurement or get_measurement for follow-up.

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