Skip to main content
Glama
AstroQuestStudio

catia-v5-mcp

catia_prepare_geometry

Resolve all assembly geometry designations in one pass before constraints, caching each part's points so later constraints are instant and wrong points are reported early.

Instructions

Resolve ALL the geometry designations an assembly will need in ONE pass, before adding constraints. Designating a face/axis/edge inside a part re-opens that part in CATIA (a window opens, is searched and closes again, the screen reloads), which is the slowest thing an assembly does; done per constraint it costs ~1 s each and flickers the screen. Here every part is opened ONCE and all its points are searched together; the results are cached, so the constraints that follow are instant. Give one item per (component, element) you will use in constraints. Already-cached items are skipped. A wrong point is reported here, with the distance of the closest element, before any constraint exists. Safe to call repeatedly (idempotent).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYes[{'component': 'Bolt.1', 'element': {'face_point': [x,y,z]}}, ...]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior1/5

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

The description states 'Safe to call repeatedly (idempotent) and that already-cached items are skipped', but the annotations declare idempotentHint=false. An agent deciding whether to retry this call gets directly conflicting signals. Otherwise the description is rich (cache mechanism, screen-reload cost, error reporting with closest-element distance), but the direct conflict with the annotation dominates.

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 action and its scope, followed by the cost rationale, the input convention, and error behavior. Every sentence carries information, though the explanation of CATIA window open/search/close and screen reload is somewhat verbose for the value it adds over 'this is slow per-element'.

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 a single parameter, full schema coverage and no output schema, the description covers the important ground: pre-constraint timing, caching, repeat-call behavior, and failure reporting (wrong point + distance of nearest element). It does not describe the success return value or the shape of the cached result, a minor gap given no output schema exists.

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 description coverage is already 100%: the nested 'element' object fully documents face_point/axis_point/edge_point/plane and the part-coordinate convention. The description adds planning semantics the schema does not ('one item per (component, element) you will use in constraints') and reinforces the catia_list_faces workflow, but repeats part of the schema hint.

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?

Stated as a specific verb+resource ('resolve ALL the geometry designations an assembly will need') with an explicit scope qualifier ('in ONE pass, before adding constraints'). It is clearly distinguishable from the sibling constraint tools (catia_coincidence_constraint etc.) and from the listing tools (catia_list_faces), which it positions as the companion used to find points.

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?

Gives strong context: call this before adding constraints, because per-constraint designation costs ~1 s each and flickers the screen. It also points to catia_list_faces for discovering the points/axes to pass in. It stops short of naming an alternative tool or an explicit when-not-to-call condition, so it is not a full 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