Skip to main content
Glama
Fusion360 MCP Server

Fusion360 MCP Server

by shinobi81

Sweep

sweep

Creates geometry by moving a sketch profile along a path curve, applying cut, join, or intersect to a named target body when specified.

Instructions

Sweep a sketch profile along a path (sketch curve). A cut/join/intersect applies to target_body when named; without it Fusion applies the operation to every body the sweep reaches.

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": {
      "profile_index": "<profile_index>",
      "path_sketch_name": "<path_sketch_name>"
    },
    "name": "sweep"
  }
}

Input Schema

NameRequiredDescriptionDefault
operationNonew_body
sketch_nameNoSketch holding the profile (default: the most recent sketch)
target_bodyNoBody the cut/join/intersect applies to. Without it Fusion applies the operation to every body the sweep reaches.
profile_indexYesIndex of the profile in the chosen sketch (sketch_name, default the most recent one)
path_curve_indexNo
path_sketch_nameYesName of the sketch containing the sweep path

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed3 schema fields changedv0.7.0
    • addedInput schema / properties / profile_index / description
      Added value: +"Index of the profile in the chosen sketch (sketch_name, default the most recent one)"
    • addedInput schema / properties / sketch_name
      Added value: +{
      +  "description": "Sketch holding the profile (default: the most recent sketch)",
      +  "type": "string"
      +}
    • addedInput schema / properties / target_body
      Added value: +{
      +  "description": "Body the cut/join/intersect applies to. Without it Fusion applies the operation to every body the sweep reaches.",
      +  "type": "string"
      +}
  3. First observedv0.4.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false. The description adds genuinely useful behaviour: a cut/join/intersect hits only target_body when supplied, otherwise every body the sweep reaches. That scoping disclosure is valuable, but it stops short of saying whether the operation is undoable, what happens on failure, or what the call returns, and the 'affects every body reached' scope sits somewhat uneasily with destructiveHint=false without being clarified.

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?

Two sentences, both load-bearing, with the core action stated first and the risky side effect (unbounded target scope) second. No filler or restated title. Minor cost: the second sentence duplicates schema text, so it is partially redundant rather than wasted.

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

Completeness3/5

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

For a six-parameter, non-idempotent geometry mutation with no output schema, the definition covers the key scoping behaviour but leaves real gaps: which profile is picked when profile_index is out of range, whether path_sketch_name may equal sketch_name, and what the caller gets back. Adequate to invoke, not complete enough to invoke confidently.

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 coverage is 67%, so the baseline is 3. The description ties the path to a sketch curve and restates the target_body scoping rule, but that rule is already verbatim in the schema's target_body description, so it adds little. profile_index, path_curve_index, sketch_name defaulting and the operation enum values receive no explanation in the description.

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 first sentence names a specific CAD verb and resources: sweep a sketch profile along a path sketch curve. That is unambiguous and far beyond the bare title 'Sweep'. It does not differentiate itself from any sibling, but the listed siblings (create_box, chamfer, boolean_operation, etc.) do not overlap enough for that to be a meaningful gap.

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 implied rather than stated: you call it when you want a swept solid, and the second sentence clarifies behaviour depending on the operation chosen. There is no explicit when-not guidance, no prerequisites (e.g. whether the path must be a single continuous curve), and no routing to an alternative approach for path-based geometry.

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