Skip to main content
Glama
Cliff MCP Server

Cliff MCP Server

Official
by cliff-hq

decompose_file

Splits a CAD assembly STEP file into distinct parts, identifies stock items and quantities, exports individual STEP files, and checks manufacturability by milling, turning, sheet, or printing.

Instructions

An assembly (a STEP export from SolidWorks, Fusion, Onshape, Inventor...) split into its parts: each distinct part once with how many the assembly uses, the stock part its name says it is (a Toolbox screw, a bearing by number or size) with the words it was read from, each other part as its own uploaded STEP file, and Cliff's check of it as milled, turned, sheet and printed (can it, what blocks it, Cliff's estimate). bom_lines go to price_bom once you add each made line's process and material (choose from its processes; ask the person when the material matters). Read once and kept. Needs an API key.

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": {
      "file_id": "<file_id>"
    },
    "name": "decompose_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full load. It does disclose two non-obvious traits: 'Read once and kept' (results are cached/persisted) and 'Needs an API key' (authentication required). It does not say whether the operation is expensive or slow, what happens on an invalid or non-assembly file_id, or what permissions/ownership are needed before decomposing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Nearly every clause carries real information (dedup with counts, stock-part matching with provenance words, manufacturability verdicts, downstream price_bom routing), so there is little pure waste. But it is delivered as one sprawling sentence with stacked parentheticals that buries the action and the prerequisites; restructuring into short, front-loaded statements would materially improve it.

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?

This is a complex tool (assembly decomposition plus manufacturability analysis) with no annotations and no output schema, so the description must carry a lot — and it does describe the return shape well, including per-part counts, matched stock parts with the source words, separate STEP files, and Cliff's can-it/blockers/estimate verdict. Still missing: input file constraints, cost or latency expectations, failure behavior, and the meaning of the sole required parameter.

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?

There is one parameter, file_id, at 0% schema description coverage, so the description must compensate and does not — it never says what file_id refers to (presumably an upload from upload_file), what format it takes, or whether it must be an assembly. The mention that parts become 'its own uploaded STEP file' hints at the upload/file model but adds no meaning to the parameter itself.

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 names a specific operation on a specific resource: an assembly (STEP export from SolidWorks/Fusion/Onshape/Inventor) split into distinct parts, deduplicated with usage counts, stock parts identified by name/number, remainder as separate STEP files, plus a manufacturability check. An agent can distinguish this from analyze_file or convert_file. It loses a point because the action is expressed as a description of output ('An assembly... split into its parts') rather than a front-loaded verb, and no sibling is explicitly excluded.

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?

Downstream routing is explicit: 'bom_lines go to price_bom once you add each made line's process and material (choose from its processes; ask the person when the material matters)', which tells the agent what to do after the call and what prerequisite work is needed. However, there is no guidance on when to choose this over siblings like analyze_file or get_bom, and no stated exclusions or preconditions for this tool itself.

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