Skip to main content
Glama
Fusion360 MCP Server

Fusion360 MCP Server

by shinobi81

Draw Rectangle

draw_rectangle

Draw a rectangle in the active or named Fusion 360 sketch by specifying width, height, and optional origin coordinates.

Instructions

Draw a rectangle in the most recent sketch, or in sketch_name

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": {
      "width": "<width>",
      "height": "<height>"
    },
    "name": "draw_rectangle"
  }
}

Input Schema

NameRequiredDescriptionDefault
widthYes
heightYes
origin_xNo
origin_yNo
origin_zNoIgnored: sketch curves lie in the sketch plane. Leave at 0 and use create_sketch(z_offset=...) to move the plane itself.
sketch_nameNoSketch to draw into (default: the most recent sketch).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changedv0.7.0
    • addedInput schema / properties / sketch_name
      Added value: +{
      +  "description": "Sketch to draw into (default: the most recent sketch).",
      +  "type": "string"
      +}
  3. First observedv0.4.1

TDQS

B3.1/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, so the safety profile is covered. The description adds the useful fact that it targets the most recent sketch by default, but says nothing about preconditions (an existing sketch is required), whether repeated calls stack duplicate geometry, or units.

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?

A single compact sentence with the target stated up front and no filler. It is efficient, though the brevity leaves no room for the parameter meaning the schema omits.

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

Completeness2/5

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

For a 6-parameter mutation tool with no output schema and low schema coverage, the description is thin: it omits the required existing-sketch precondition, the meaning of the origin parameters, and units. An agent could call it, but not confidently predict the resulting geometry.

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

Parameters2/5

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

Schema description coverage is only 33%, and the description compensates for just one parameter (sketch_name). width, height, origin_x, and origin_y are undocumented in both places, leaving ambiguous whether origin is a corner or center and what units are used; only origin_z carries an explicit schema explanation.

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?

States a concrete verb and resource ("Draw a rectangle") plus the target container (the most recent sketch, or sketch_name), which an agent can distinguish from draw_arc, draw_circle, and draw_line. It stops short of explicitly contrasting with any sibling, so it is clear but not fully differentiated.

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: it must be called against an existing sketch, and the default-to-most-recent behavior is the sole guidance. There is no statement about when to prefer this over other sketch primitives, or what happens if no sketch exists.

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