Skip to main content
Glama
Fusion360 MCP Server

Fusion360 MCP Server

by shinobi81

Post Process

cam_post_process

Generates NC code (G-code) by post-processing CAM toolpaths from a Fusion 360 setup or operation.

Instructions

Post-process toolpaths to generate NC code (G-code)

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": {
      "setup_name": "<setup_name>"
    },
    "name": "cam_post_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
setup_nameYesSetup to post-process
output_unitsNomm
output_folderNoOutput directory (default: ~/Desktop)
operation_nameNoSpecific operation (omit to post all in setup)
post_processorNoPost processor short name ('fanuc', 'grbl', 'haas') resolved against the local post folder when the Fusion build provides one, or a full path to a .cps file (required on cloud-post builds)fanuc

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.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, so the safety profile is covered. The description adds the G-code output context but does not disclose that it writes files to disk, whether existing output is overwritten, or how post-processor resolution failures behave — meaningful gaps for a file-producing operation.

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 front-loaded sentence with zero filler that names the action and output immediately. It is efficient, though so terse that it leaves behavioral detail unaddressed.

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 5-parameter mutation tool with no output schema, the definition covers the core action but omits file-output side effects, overwrite behavior, and failure modes. Combined with the already-rich schema, it is adequate but not complete.

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 high (80%), so the schema already documents setup_name, output_folder, operation_name, and post_processor. The description adds no parameter-level detail beyond the schema, so the baseline 3 applies.

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 (post-process) and resource (toolpaths) plus the concrete output (NC code/G-code), which distinguishes it from generation-time siblings like cam_generate_toolpath. It stops short of explicitly naming a sibling or stating the boundary, so a 4 rather than a 5.

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: 'post-process toolpaths' suggests it runs after toolpaths exist, but there is no explicit when-to-use, prerequisite, or when-not guidance. An agent must infer that this is the final CAM step from the phrase alone.

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