Skip to main content
Glama

ProtoJoint

Insert a template

insert_template

Puts one of the templates (list_templates) into the design as a part of its own, built with the parameter values given (each checked against its range; the ones left out keep their defaults), placed with its origin at position and turned rotate degrees about Z. Returns the part, its bodies and the values used. Design round it or change it then like any part.

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": {
      "slug": "<slug>"
    },
    "name": "insert_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoThe part's name (default the template's).
slugYesThe template, from list_templates.
underNoPut it on this part, to move with it.
rotateNoDegrees about Z (default 0).
valuesNoParameter values by name, e.g. {"module": 1.5, "teeth": 24}, in the units list_templates gives.
in_partNoPoints and directions in this part's coordinates, as it stands now; default the world.
positionNoWhere the part's origin goes, [x, y, z] in mm (default the world origin).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare it is a non-readonly, non-destructive, non-idempotent, closed-world mutation. The description adds real value on top: parameter values are range-checked, omitted values fall back to defaults, and the call returns the part, its bodies, and the values used. Nothing contradicts the annotations.

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?

Front-loaded with the core action and tightly packed with information; nearly every clause carries semantics. The closing sentence ('Design round it or change it then like any part') is loosely phrased but does convey the post-insert workflow.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Good coverage of defaults, validation, and return payload for a seven-parameter mutation with no output schema. It remains silent on practical concerns such as naming collisions, whether the new part lands at the document root, and undo/reversibility, which matter for an insert operation.

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 coverage is 100%, so all seven parameters are already documented, making 3 the baseline. The description contributes validation semantics for 'values' (range checking, defaults for omitted entries) but adds nothing for name, under, in_part, position, or rotate beyond the schema.

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?

States a concrete verb and resource: puts a template (sourced from list_templates) into the design as its own part. The phrase 'as a part of its own' distinguishes the result from a feature, though it never explicitly contrasts with insert_part or insert_frame.

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?

Implies the workflow -- fetch the slug from list_templates, insert, then 'design round it or change it then like any part' -- which is useful sequencing. It gives no exclusion or selection rule for when to choose this over insert_part/insert_frame, so guidance stays implied rather than explicit.

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