Skip to main content
Glama
Fusion360 MCP Server

Fusion360 MCP Server

by shinobi81

Draw Spline

draw_spline

Create fit-point or control-point splines in the active sketch to define curved geometry through points or along a control polygon.

Instructions

Draw a spline in the most recent sketch. Use fit_points for a curve through points, or control_points for a control-polygon spline.

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": {
      "spline_type": "<spline_type>",
      "points": "<points>"
    },
    "name": "draw_spline"
  }
}

Input Schema

NameRequiredDescriptionDefault
degreeNoSpline degree (only for control_points, 3 or 5)
pointsYesArray of [x,y] or [x,y,z] points. Ignored: 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).
spline_typeYes

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

A3.8/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive mutation, so safety is covered. The description adds the useful constraint that geometry lands in the most recent sketch, but says nothing about what happens if no sketch exists, whether a new entity is created each call (relevant given idempotentHint=false), or what is returned.

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?

Two sentences, zero waste, with the target sketch front-loaded before the mode guidance. Every clause carries information an agent needs to pick spline_type correctly.

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 4-parameter geometry-creation tool with no output schema this is close, but key behaviors are unstated: the outcome when no sketch exists, whether sketch_name supersedes "most recent sketch", and what the caller gets back to reference the new entity. These matter for a non-idempotent creation call.

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?

With 75% schema coverage the schema already documents degree, points, and sketch_name thoroughly. The description adds real semantic value the enum alone doesn't convey: what fit_points versus control_points actually mean geometrically. The sketch_name default is only implied by "most recent sketch" rather than stated explicitly.

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 specific verb and resource ("Draw a spline") and immediately scopes it to the most recent sketch, which distinguishes it from siblings like draw_line and draw_arc. It also names the two creation modes, though it doesn't explicitly contrast itself against those sibling drawing tools.

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 explicit routing guidance between the two modes: fit_points for a curve through points, control_points for a control-polygon spline. It lacks any when-not guidance (e.g., when to prefer draw_arc or draw_line instead) and doesn't mention the optional sketch_name override path.

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