Skip to main content
Glama
Fusion360 MCP Server

Fusion360 MCP Server

by shinobi81

Trim Curve

trim_curve

Removes the sketch curve segment nearest a specified point, cutting it at intersections to clean up geometry.

Instructions

Trim a sketch curve at its intersections. The segment nearest to the given point is removed.

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": {
      "curve_index": "<curve_index>",
      "point_x": "<point_x>",
      "point_y": "<point_y>"
    },
    "name": "trim_curve"
  }
}

Input Schema

NameRequiredDescriptionDefault
point_xYesX near the segment to remove
point_yYesY near the segment to remove
curve_indexYesIndex of the curve to trim
sketch_nameNo

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

B3.3/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 description's main added value is the precise disclosure of what is removed: 'the segment nearest to the given point.' That resolves the key ambiguity of a trim operation. It still omits prerequisites and edge behavior (e.g. what happens when the curve has no intersections or the point is ambiguous), which matters for a non-idempotent mutation.

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 short sentences, both earning their place: the first states the operation and its trigger geometry, the second states the outcome. The critical selection rule is front-loaded with zero redundant wording.

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 mutation with no output schema, the definition covers the core mechanics but leaves gaps: the role of sketch_name is unexplained, no preconditions or failure modes are given, and there is no indication of whether the operation is undoable or what it returns. Adequate to attempt the call, incomplete for calling it correctly in edge cases.

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 75%, so the schema already explains curve_index, point_x and point_y. The description's phrase 'the segment nearest to the given point' reinforces how point_x/point_y are interpreted (proximity selection, not exact hit), which adds modest meaning, but it says nothing about the undocumented optional sketch_name parameter.

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 uses a specific verb and resource ('Trim a sketch curve') and names the operative geometry ('at its intersections'), which distinguishes it from the sibling trim_surface by explicitly scoping to sketch curves. It stops short of naming that sibling or extend_curve as the inverse operation, so it is clear but not maximally differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance: nothing says the curve must actually intersect other geometry, that the user must be in a sketch edit context, or why one would choose this over extend_curve or trim_surface. The agent must infer the applicability conditions entirely from the tool name.

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