Skip to main content
Glama

ProtoJoint

Extrude

extrude

Extrudes closed profiles of a sketch along its normal. Positive distance goes along the normal, negative the other way. Returns the feature id, the bodies after it and any error.

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": {
      "sketch_id": "<sketch_id>",
      "distance": "<distance>"
    },
    "name": "extrude"
  }
}

Input Schema

NameRequiredDescriptionDefault
taperNoTaper angle in degrees (optional).
bodiesNoOnly these bodies take part in join, cut or intersect; every other body is left as it is. Leave out to act on every body the new solid meets. Use it whenever bodies of a design touch or nest - holes in a board that sits on standoffs, a slot in a lid but not in the base under it.
distanceYesmm; negative for the opposite direction.
profilesNoProfile indices from add_geometry / get_sketch (closed regions of the sketch): [0, 2], one index, or "all".
operationNonew: a new body; join: add to the body it touches; cut: remove material; intersect: keep the overlap.
sketch_idYes
symmetricNoExtrude the distance in total, half to each side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=false, so the mutation/safety profile is covered. The description usefully adds return content ('the feature id, the bodies after it and any error') and direction semantics, but says nothing about undoability, whether the sketch is consumed, or that the 'cut' operation removes material while destructiveHint is false. Moderate added value on top of 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?

Three short sentences with the core operation front-loaded, followed by direction semantics and return values. No filler, though the direction sentence duplicates schema text and could have been spent on usage guidance instead. Efficient and well-ordered overall.

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 7-parameter modeling tool with 86% schema coverage, the definition supplies the missing pieces an agent most needs: it returns the feature id and the affected bodies plus errors, which substitutes for the absent output schema. It is only slightly thin on how the operation modes interact with the bodies filter and on prerequisites, but the schema carries most of that.

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 86%, so the schema already documents taper, bodies, distance sign, profiles, operation, and symmetric in detail. The description's 'Positive distance goes along the normal, negative the other way' largely restates the schema's 'mm; negative for the opposite direction'. Its only real contribution is clarifying that profiles must be closed, which is why the baseline 3 applies rather than higher.

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 specific verb and resource: 'Extrudes closed profiles of a sketch along its normal.' An agent can immediately tell this is the sweep/extrude operation, distinguishing it from siblings like loft or combine by the word 'extrude'. It does not explicitly name a sibling to contrast with, keeping it at 4 rather than 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is given, and no alternatives (e.g., loft, combine) are named. The requirement for a pre-existing sketch is only implied by 'of a sketch' and the required sketch_id, not stated as a prerequisite. Similar to the calibration MID case, this is a bare purpose statement with no 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