Skip to main content
Glama

Check a bench test result

check_test_result
Read-onlyIdempotent

Check a bench test result for a joint actuator against the result format (/api/test/result.schema.json, template at /api/test/result-template.json) and compare the measured values with the part's datasheet in the catalog: peak torque, continuous torque, backlash, Kv, Kt. Returns errors, warnings and each measured-vs-datasheet delta. Nothing is stored.

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": {
      "result": "<result>"
    },
    "name": "check_test_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
resultYesOne result in maglev.test-result/0.1 format

Output Schema

NameRequiredDescriptionDefault
okNo
partNo
errorNoSet when the tool could not answer; the other fields are then absent.
errorsNo
warningsNo
against_datasheetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "against_datasheet": {
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "error": {
      +      "description": "Set when the tool could not answer; the other fields are then absent.",
      +      "type": "string"
      +    },
      +    "errors": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "ok": {
      +      "type": "boolean"
      +    },
      +    "part": {
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "warnings": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the description is not burdened with the safety profile. It still adds real value by stating 'Nothing is stored' and by disclosing the output shape — errors, warnings, and per-measurement datasheet deltas — plus pointing to the schema and template URLs used for validation. It stops short of describing how a finding is graded as an error versus a warning.

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 leads with the action and resource, then layers on the comparison fields and the return shape. The parenthetical file paths are a bit heavy, but no sentence is wasted or redundant.

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?

For a one-parameter validation-and-comparison tool with an output schema, the description covers inputs, validation sources, comparison dimensions, and persistence behavior. The main remaining gap is that it does not explain the semantics of error versus warning or what tolerance boundaries produce them.

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 there is only one parameter, so the schema already documents the input. The description compensates somewhat by naming the authoritative format files (/api/test/result.schema.json and the template) that the 'maglev.test-result/0.1' object must conform to, which is meaning beyond the schema text, but it adds no further structural detail about the payload.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Check') with a specific resource ('a bench test result for a joint actuator') and states both halves of the operation: validating against the result format and comparing measured values with the catalog datasheet. It also enumerates the compared quantities (peak torque, continuous torque, backlash, Kv, Kt), making it clearly distinct from siblings like check_manufacturability or compare_parts.

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

Usage Guidelines4/5

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

It clearly establishes the situation in which the tool applies: a bench test result for a joint actuator that should be validated and checked against the part's datasheet. It does not, however, name an alternative tool or state when not to use it, so the agent has context but no explicit routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources