Skip to main content
Glama
Mesteriis

Plasticity MCP

plasticity_measure_point_to_circular_edge

Read-only

Measure exact distance from a coordinate or B-Rep vertex to a native circular edge centerline. Returns closest point and normalized arc parameter for Solid/Sheet or Wire topology.

Instructions

Measure exact distance from an explicit coordinate or current B-Rep vertex to a native circular boundary. Use bodyId plus edgeId for Solid/Sheet topology, or bodyId plus segmentEntityId from plasticity_list_curve_directions for a Wire. Returns distance to the supporting circle, minimum distance to the trimmed arc, closest point, normalized arc parameter, and endpoint-clamp status. Requires verified native circle basis and trim samples; unsupported or stale references are rejected. This is distance to the edge curve centerline, not clearance to adjacent faces or the owning body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
edgeYes
pointYes
revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the read-only, non-destructive profile, but the description adds substantial behavior beyond them: it requires 'verified native circle basis and trim samples', states that 'unsupported or stale references are rejected', and enumerates the returned quantities. This is exactly the extra context annotations cannot carry.

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?

Four dense sentences with purpose front-loaded and no filler; each clause adds distinct information (routing, return values, preconditions, scope caveat). Slightly long but every sentence earns its place.

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 complex measurement tool with a deeply nested anyOf/oneOf schema and no output schema, the description covers return semantics, validation preconditions, and topology-specific parameter usage. Only the undocumented revision parameter is left unexplained, which is minor.

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?

Schema coverage is 0%, so the description must compensate, and it does explain the two edge shapes (edgeId vs segmentEntityId) and point source (explicit coordinate or B-Rep vertex). It omits the edge-midpoint/face-center point variants and does not explain the revision parameter, leaving a residual gap.

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?

States a specific verb+resource (measure distance from a point to a native circular boundary) and differentiates itself from neighbors by emphasizing circular geometry and clarifying it is centerline distance 'not clearance to adjacent faces or the owning body'. An agent can distinguish it from measure_point_to_curved_edge/linear/planar siblings without opening the schema.

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?

Gives explicit routing guidance: 'Use bodyId plus edgeId for Solid/Sheet topology, or bodyId plus segmentEntityId from plasticity_list_curve_directions for a Wire,' naming the sibling tool that supplies the Wire identifier. It does not state exclusions vs the curved-edge measure sibling, so it stops short of full when/when-not guidance.

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