Skip to main content
Glama

ProtoJoint

Measure between

measure
Read-onlyIdempotent

Shortest distance (with its ends) and angle between two things; two axes also give coaxial {offset_mm, angle_deg}, 0 and 0 when one lies on the other, two planes parallel {angle_deg, gap_mm}. A thing: point; body with near_point (its surface there); face (normal and/or near_point: a plane, or a cylinder's axis); edge or hole (near_point: a line, or the axis); joint (its axis); axis (at, dir). in_part: given in that part's coordinates.

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": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "measure"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 (readOnly, idempotent, non-destructive, closed-world), so the description's extra value is in the result semantics: it names output fields (offset_mm, angle_deg, gap_mm) and states the degenerate case yields '0 and 0 when one lies on the other'. It does not address failure modes, e.g. what happens for parallel-but-disjoint axes or unmeasurable pairs.

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?

The core purpose is front-loaded in the first clause, and the semicolon-separated fragments encode a lot without filler. The telegraphic style ('a thing: point; body with near_point...') is dense to the point of being terse, but essentially every clause carries semantics an agent needs.

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 tool with two deeply nested object parameters, no output schema, and no schema descriptions, the description supplies an unusually complete account of accepted input shapes and key return fields. Only the general-case return field names and the meaning of body/joint identifiers are left implicit.

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?

With 0% schema description coverage, the description carries the full burden and largely succeeds: it defines near_point as 'its surface there', explains that a face is a plane unless a cylinder whose axis is used, that an edge or hole yields a line or axis, and that in_part selects coordinate frame. Gaps remain: 'body' and 'joint' are only named as strings with no indication of what identifier to supply.

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 opens with a specific verb-and-resource statement ('Shortest distance ... and angle between two things') and even enumerates the special-case result shapes for two axes and two planes. The purpose is unmistakable, but there is no explicit differentiation from measurement-adjacent siblings such as check_interference or calc.

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?

There is no explicit when-to-use, when-not-to-use, or named-alternative guidance. The implicit guidance is decent, though: describing each accepted 'thing' form (point, body+near_point, face with normal or near_point, edge/hole, joint, axis) tells an agent which input shape to pick for a given geometry.

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