Skip to main content
Glama
AstroQuestStudio

catia-v5-mcp

catia_shaft

Create a revolved shaft from the last sketch using its axis; the closed profile must lie on one side of the axis.

Instructions

Create a Shaft (revolution) from the last sketch. The revolution axis is the sketch axis: either a line drawn with catia_sketch_line(is_axis=true) (axis='sketch_line', default), or the sketch's own H or V axis (axis='h'/'v', e.g. 'the X axis available in the sketch' on an XY sketch). The closed profile must lie entirely on one side of the axis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
axisNoRevolution axis: the is_axis line of the sketch, or its H / V absolute axis.sketch_line
nameNoExplicit name for the created feature in the specification tree (e.g. 'Pad_Bras_20mm', 'Trou_Conique_D12'). Strongly recommended: default names like 'Extrusion.3' make the tree unreadable and are flagged by tree audits.
angleNoRevolution angle in degrees (default: 360 for full revolution)
sketch_nameNoName of sketch to use.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-idempotent, non-destructive mutation, and the description adds real behavioral context beyond that: the sketch/profile constraint that will cause failure and the axis source options. It says nothing about what the operation returns or what happens if the axis is invalid, but for this feature type the disclosed constraint is the meaningful one.

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

Conciseness5/5

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

Three sentences, front-loaded with the operation, then the axis options, then the failure precondition. Every clause carries information an agent needs to call this correctly; there is no filler.

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?

With annotations covering the safety profile and no output schema to explain, the description covers the operation, axis semantics, and the geometric precondition. It is slightly incomplete on how sketch_name interacts with 'the last sketch' phrasing and does not mention the default angle, but those are covered by the 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 100%, so the baseline is 3, and the description genuinely adds meaning: it explains what 'sketch_line' refers to concretely (a catia_sketch_line with is_axis=true) and clarifies 'h'/'v' as the sketch's own absolute axes with a worked XY example. That maps the enum values to real modeling concepts rather than restating 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?

The description opens with a specific verb and resource ('Create a Shaft (revolution) from the last sketch') and immediately distinguishes a revolution from other feature types by explaining the axis mechanism. It does not explicitly name the closest siblings (catia_groove, catia_pad), so an agent must infer the boundary, but the purpose itself is unambiguous.

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 states the precondition for use ('the last sketch' and 'the closed profile must lie entirely on one side of the axis'), which is the key gating context for a revolve. It gives no explicit when-not guidance or alternative tools (e.g. groove for revolutions that cut), so it stops short of a 5.

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