Skip to main content
Glama
Fusion360 MCP Server

Fusion360 MCP Server

by shinobi81

Auto-Constrain Sketch

auto_constrain

Automatically adds geometric constraints and dimensions to fully constrain a sketch, with options for thorough, fast, or tolerance-based constraint solving.

Instructions

Automatically add geometric constraints and dimensions to fully constrain a sketch (Fusion 2026+ AutoConstrain API). result_option: 1 = thorough/slow (default), 2 = fast, 3 = may move geometry within tolerance.

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": "auto_constrain"
  }
}

Input Schema

NameRequiredDescriptionDefault
sketch_nameNoSketch name (default: most recent)
result_optionNo1 = most thorough (slowest), 2 = fastest, 3 = adjusts geometry within tolerance

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.4.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only mark this as a non-read-only, non-idempotent, non-destructive mutation. The description goes beyond that by warning that result_option 3 'may move geometry within tolerance', which is exactly the kind of side effect an agent needs before choosing a mode, and by flagging the Fusion 2026+ API requirement. It does not cover behavior on failure or on an already-constrained sketch.

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?

The core purpose is front-loaded in one sentence, with the mode meanings kept as a compact trailing list. The result_option recap is slightly redundant against the schema enum, but nothing is padded or buried.

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 zero-required-parameter mutation with no output schema, the definition supplies what matters: what it does, the version prerequisite, and the trade-offs between the three modes including the tolerance-based geometry movement. Remaining gaps (return value, behavior on an already-constrained sketch, whether it targets the active sketch by default) are minor.

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 100%, so the schema already fully documents sketch_name and the result_option enum. The description's restatement of the three result_option meanings adds nuance ('thorough/slow', 'may move geometry within tolerance') but largely duplicates the enum descriptions. Baseline 3 is appropriate since the schema does the heavy lifting.

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 names a specific verb+resource pair — automatically adding geometric constraints AND dimensions to fully constrain a sketch — which distinguishes it in spirit from the manual add_constraint/add_dimension siblings. It stops short of explicitly naming those siblings, so the differentiation must be inferred from the word 'automatically'.

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?

Usage is only implied: an agent can infer this is the one-shot alternative to manually adding constraints and dimensions. The 'Fusion 2026+' note is a useful prerequisite, but there is no explicit statement of when to prefer this over add_constraint/add_dimension, nor when not to run it (e.g. on an already-constrained sketch).

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