Skip to main content
Glama

ProtoJoint

Pattern bodies

pattern

Copies bodies in a row or a grid (rectangular: a direction, a count and the spacing between copies, and a second direction if wanted), round an axis (circular: the axis's direction and a point on it, a count, spread over a full turn or over angle degrees) or along a path (path: a curve of a sketch and the curves joined to it, or an edge of a body such as a coil's - a helix -; the copies spacing apart along it, or the count spread over its length, each moved alike or turned with the path: along a helix a screw up its axis). The count includes the original; along a path the original stands where start puts it (a percentage of the path's length, default its start). The copies are bodies of their own, or joined to the originals with join. A timeline feature the user can edit. Use it for bolt circles, rows of holes or pins, legs and spokes, instead of modelling each copy.

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": {
      "bodies": "<bodies>",
      "kind": "<kind>",
      "count": "<count>"
    },
    "name": "pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
axisNocircular: the direction of the axis (default [0, 0, 1]).
joinNoJoin the copies to the originals into one body.
kindYesrectangular: along directions; circular: round an axis; path: along a curve or an edge.
pathNopath: a sketch curve (sketch_id, entity) or a body's edge (body, near_point).
angleNocircular: degrees the copies spread over, the last one at angle (default a full turn: the copies evenly round it).
countYesHow many, the original included (along the first direction for a grid).
startNopath: where the original stands, % of the path's length (default 0).
bodiesYesBodies by name or "feature:k" key from get_document. Names are numbered within a part, so moving bodies to parts renames others; a key never changes.
count2Norectangular: how many along the second direction.
orientNopath: each copy moved alike (identical, default) or turned with the path.
spacingNorectangular: mm between neighbouring copies along the first direction; path: mm between copies along the path (leave out to spread the count over the whole path).
throughNocircular: a point on the axis, mm (default the origin).
spacing2Norectangular: mm between neighbours along the second direction.
directionNorectangular: the first direction [x, y, z].
direction2Norectangular: a second direction, for a grid.

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 declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds real context on top: 'The copies are bodies of their own, or joined to the originals with join' and 'A timeline feature the user can edit', which tells the agent the result is persistent and reversible via the timeline. It does not describe failure modes (e.g. invalid axis, count limits) or what identifier comes back, which is the remaining gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded in the first clause, which is good, but the whole definition is one long sentence stacked with parentheticals, em dashes and nested asides that make it hard to parse. The content mostly earns its place, yet it would be materially clearer as a short lead sentence followed by per-mode bullets.

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 15-parameter tool with a nested path object and no output schema, the description covers all three modes and the semantics that matter most (count including the original, start, orient, join). What is missing is modest: return value (feature id/handle) and error or limit behavior, which the schema partially covers.

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%, so the schema already defines every parameter including defaults, so the baseline is 3. The description does add interpretive value for a few fields — 'The count includes the original', 'along a path the original stands where start puts it (a percentage of the path's length)', and 'each moved alike or turned with the path: along a helix a screw up its axis' — but much of it restates what the schema already says verbatim.

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+resource ('Copies bodies') and immediately enumerates the three modes (rectangular/grid, circular/axis, path) with their defining inputs, so an agent knows exactly what the tool produces. It does not name a sibling tool as the alternative for the non-pattern cases, leaving differentiation implicit rather than stated.

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?

'Use it for bolt circles, rows of holes or pins, legs and spokes, instead of modelling each copy' gives concrete when-to-use guidance tied to real modelling tasks. There is no explicit when-not or prerequisite section (e.g. when to prefer move_bodies or combine instead), so it stops short of full 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