Skip to main content
Glama

ingest_measurement

Destructive

Ingest a calibration measurement to update a machine's profile. Record caliper, joint-fit, feature-outcome, natural-language or build-volume results against a printer and material.

Instructions

Ingest a calibration measurement and update the per-machine profile.

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": {
      "measurement_kind": "<measurement_kind>",
      "payload": "<payload>",
      "printer_id": "<printer_id>",
      "material": "<material>"
    },
    "name": "ingest_measurement"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesThe measurement itself, a dict whose keys depend on ``measurement_kind`` (listed above), plus the optional tunable knobs. A non-dict is refused.
materialYesThe material the measured part printed in. Required for ``caliper``, ``natural_language``, ``joint_fit`` and ``feature_outcome``; any placeholder for ``build_volume``.
printer_idYesThe printer the measurement was taken on, the key its calibration profile is kept under. Required.
measurement_kindYes``"caliper"``, ``"natural_language"``, ``"joint_fit"``, ``"feature_outcome"`` or ``"build_volume"``, as described above. Any other value is refused with ``INVALID_INPUT``.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.6.0
    • changedInput schema / properties / material / description
      Previous value: -"The material the measured part printed in. Required for ``caliper`` and ``natural_language``; any placeholder for ``build_volume``."New value: +"The material the measured part printed in. Required for ``caliper``, ``natural_language``, ``joint_fit`` and ``feature_outcome``; any placeholder for ``build_volume``."
    • changedInput schema / properties / measurement_kind / description
      Previous value: -"``\"caliper\"``, ``\"natural_language\"`` or ``\"build_volume\"``, as described above.  Any other value is refused with ``INVALID_INPUT``."New value: +"``\"caliper\"``, ``\"natural_language\"``, ``\"joint_fit\"``, ``\"feature_outcome\"`` or ``\"build_volume\"``, as described above.  Any other value is refused with ``INVALID_INPUT``."
  2. Changed4 schema fields changedv1.5.1
    • addedInput schema / properties / material / description
      Added value: +"The material the measured part printed in. Required for ``caliper`` and ``natural_language``; any placeholder for ``build_volume``."
    • addedInput schema / properties / measurement_kind / description
      Added value: +"``\"caliper\"``, ``\"natural_language\"`` or ``\"build_volume\"``, as described above.  Any other value is refused with ``INVALID_INPUT``."
    • addedInput schema / properties / payload / description
      Added value: +"The measurement itself, a dict whose keys depend on ``measurement_kind`` (listed above), plus the optional tunable knobs.  A non-dict is refused."
    • addedInput schema / properties / printer_id / description
      Added value: +"The printer the measurement was taken on, the key its calibration profile is kept under.  Required."
  3. Addedv1.5.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already mark this as a non-read-only, destructive, closed-world mutation, so the description is not contradictory, but it adds almost nothing on top: it never says what the profile update overwrites or whether prior profile data is lost, nor what validation failures look like. It also points to measurement kinds "as described above" when the description contains no such list, a dangling reference that undermines the one behavioral hint it offers.

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 front-loaded sentence with no filler or redundancy. Brevity is not the problem here — the sentence simply stops short of the disclosure the tool warrants.

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 destructive mutation taking four required parameters, including a nested polymorphic payload, the description is severely thin: no statement of what happens to existing profile data, no return-value hint (there is no output schema), and no guidance on measurement_kind selection. The dangling "listed above" reference leaves the reader looking for content that does not exist.

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 100% and each of the four required parameters carries its own description, so the schema does the documentation work. The description adds no meaning about payload structure or the per-kind distinctions beyond what the schema already states; baseline 3 applies.

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 pairs a specific verb ("Ingest") with a specific resource ("a calibration measurement") and adds the side effect ("update the per-machine profile"), so the operation is unambiguous. It does not, however, distinguish itself from nearby ingestion siblings such as ingest_material_datasheet or record_esd_measurement.

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, no prerequisite statement, and no named alternative. The phrase "per-machine profile" only indirectly implies that printer_id identifies the profile; an agent gets no help choosing between this tool and the other measurement-recording siblings.

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

Deploy Server

Other Tools