Skip to main content
Glama
Fusion360 MCP Server

Fusion360 MCP Server

by shinobi81

Draw Line

draw_line

Draws a straight line between two XY coordinates in the most recent Fusion 360 sketch or a named sketch; Z values are ignored because curves lie in the sketch plane.

Instructions

Draw a line 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": {
      "start_x": "<start_x>",
      "start_y": "<start_y>",
      "end_x": "<end_x>",
      "end_y": "<end_y>"
    },
    "name": "draw_line"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_xYes
end_yYes
end_zNoIgnored: sketch curves lie in the sketch plane. Leave at 0 and use create_sketch(z_offset=...) to move the plane itself.
start_xYes
start_yYes
start_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.3/5.0
Behavior3/5

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

The annotations already declare that this is a non-read-only, non-idempotent, non-destructive operation. The description adds the default-target behavior, but it does not explain what happens if no sketch exists or whether the line is added as a sketch entity. There is no contradiction with the annotations.

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?

The description is a single front-loaded sentence with no wasted wording. It is sparse, but the conciseness dimension is about clarity and structure rather than completeness.

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?

No output schema exists, so return values need not be described, and the annotations cover the basic safety profile. Still, for a seven-parameter mutation tool the description leaves important context implicit, including sketch prerequisites and coordinate meaning.

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 coverage is only 43%, and the schema already documents that start_z/end_z are ignored and that sketch_name defaults to the most recent sketch. The description repeats the sketch_name default but adds no coordinate, unit, direction, or failure semantics for the four required x/y parameters, so it does not compensate for the low schema coverage.

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 states a specific verb and resource: draw a line, with the target being the most recent sketch or a named sketch. It is clear as a drawing primitive, but it does not explicitly distinguish itself from sibling drawing tools such as draw_arc or draw_rectangle.

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?

It gives the default target sketch and an optional named sketch, which implies basic usage. However, it gives no explicit when-to-use guidance versus sibling draw tools and no exclusions or prerequisites.

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