Skip to main content
Glama
Shapr3D Native MCP

Shapr3D Native MCP

by 21Suspect

native_constrain_sketch

Applies sketch constraints such as coincident, parallel, perpendicular, or tangent to curves at a specified Z height, using one point per curve to target each curve.

Instructions

Add a Shapr3D sketch constraint to curves of a sketch at height z. points: [[x,y], ...], one on each curve; tap a line's END to constrain the endpoint (coincident). Sketches come from native_import_profile. constraint: coincident, concentric, equal, horizontal_vertical, lock, midpoint, parallel, perpendicular, tangent.

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": {
      "constraint": "<constraint>",
      "points": "<points>"
    },
    "name": "native_constrain_sketch"
  }
}

Input Schema

NameRequiredDescriptionDefault
z_mmNo
pointsYes
constraintYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It usefully discloses the point-to-curve mapping and the endpoint-vs-body semantics, but says nothing about failure modes (points not on a curve), whether constraints stack or conflict, or what a successful call returns. That is a meaningful gap for a mutation tool with zero annotation coverage.

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 text is dense but front-loaded: the action, the point format, the endpoint special case, sketch provenance, and the constraint vocabulary all arrive in a logical order with no filler sentences. It is terse to the point of near-fragmentation, but nothing is wasted.

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 3-parameter, no-output-schema tool, the description supplies almost everything needed to construct a valid call: coordinate format, curve matching, endpoint targeting, and the constraint vocabulary. Only error/validation behavior remains uncovered, which is acceptable given the absence of an output schema.

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%, and the description compensates well: it spells out the points format ([[x,y], ...]), enforces the one-point-per-curve rule, and enumerates all nine constraint values that the schema leaves as a bare string. The only shortfall is z_mm, which is described only as 'height z' with no unit convention beyond the parameter name.

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 opens with a specific verb and resource ('Add a Shapr3D sketch constraint to curves of a sketch') and scopes it to a height z, which no sibling tool shares. It also names the provenance of the input sketch (native_import_profile), so an agent can distinguish this from geometry-editing siblings.

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 gives clear operational context: points must be one per curve, and tapping a line's END constrains the endpoint rather than the curve body. It also points to native_import_profile as the source of the sketch. It stops short of stating prerequisites (must a sketch be active/open) or what to do if a point misses a curve.

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