Skip to main content
Glama
inventor-mcp-server

inventor-mcp-server

manage_constraints

List active assembly constraints and error states, change a constraint’s offset or angle, or delete one to free held components; re-list after deletion because constraint numbers shift.

Instructions

List the active assembly's constraints with their numbers and offsets, flagging any in an error state; change one's offset or angle; or delete one. To add one use constrain. Editing reports every other component it dragged along. Deleting frees the components it held, and the numbers after it shift — list again before deleting another.

Args: action: "list", "edit" or "delete". index: For "edit" and "delete": the constraint's number from list. value: For "edit": the new offset in mm, or angle in degrees. A formula it held is replaced. undo_if_moved: For "edit": put the old value back if any other component would move.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_constraints"
  }
}

Input Schema

NameRequiredDescriptionDefault
indexNo
valueNo
actionNolist
instanceNoWhich connected Inventor to use (list_instances). Leave empty when only one is connected.
undo_if_movedNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.0.1
    • addedInput schema / properties / undo_if_moved
      Added value: +{
      +  "default": false,
      +  "title": "Undo If Moved",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "number"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Value"
      +}
  2. Addedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does it well: it discloses that editing drags other components along, that a formula held by the constraint is replaced, that deleting frees held components and renumbers the remaining ones, and what undo_if_moved does. It stops short of stating irreversibility of delete explicitly or how invalid indices/permissions are reported.

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?

Front-loaded with the three operations before the per-argument breakdown, and each clause carries a distinct fact (error flagging, side effects, renumbering, undo semantics). No filler or restatement of the tool name.

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

Completeness5/5

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

An output schema exists, so return values need not be described; the one parameter it skips (instance) is documented in the schema itself. Side effects, sequencing, and argument interpretation are all covered for an unannotated multi-action mutation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 20% (only 'instance' is documented in the schema), so the description must compensate and does: it explains that index is the constraint's number from list and is required for edit/delete, and that value is a new offset in mm or an angle in degrees, replacing any formula. That adds real meaning beyond the bare parameter titles.

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?

States a specific resource (the active assembly's constraints) and enumerates the three supported operations — list with numbers/offsets and error flags, edit offset or angle, delete — and explicitly routes additions to the sibling tool constrain. An agent can distinguish this from constrain without opening either schema.

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?

Names the alternative for the uncovered case ('To add one use constrain') and gives an explicit sequencing rule: the index comes from list, and you must list again before deleting another because numbers shift. Lacks an explicit when-not case, but the routing guidance is clear and actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.