Skip to main content
Glama
Cliff MCP Server

Cliff MCP Server

Official
by cliff-hq

upload_file

Upload a CAD model or PDF print from your computer by file path to quote it, split it into parts, or send it to a shop; returns the uploaded file ID.

Instructions

Upload a model (STEP, STL, OBJ, 3MF, or native CAD) or a PDF print from this computer, to quote it, split it into its parts or send it to a shop. path is the file's path ('~/Desktop/Bracket.step'); name, if given, is what to call it (default: the file's own name). From SolidWorks or any CAD tool: save or export STEP, then upload that path. Returns its file id. 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": {
      "path": "<path>"
    },
    "name": "upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoWhat to call it (default: the file's own name).
pathYesThe file's path on this computer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does notable work: it discloses the return value ('returns its file id') and the auth requirement ('needs an API key'). It omits size limits, duplicate/overwrite behavior, and error modes, which keeps it short of a 5.

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?

Front-loaded with the action and accepted formats, then usage intent, then parameter notes, then return/auth. Every sentence carries distinct information with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter upload tool with no output schema and no annotations, the description covers formats, parameters, return value, and auth. Missing operational details such as file-size limits or failure behavior keep it from being fully complete.

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?

Schema coverage is 100%, so the baseline is 3; the description adds a real example of path syntax ('~/Desktop/Bracket.step') and clarifies that name is optional and defaults to the file's own name. It does not clarify whether relative paths, tilde expansion, or URLs are accepted, which would be the remaining gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (upload) plus the accepted resource types (STEP, STL, OBJ, 3MF, native CAD, or PDF print) and the downstream intent (quote, split into parts, send to a shop). An agent can tell this apart from download_file or convert_file without opening any schema.

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 concrete usage context: use it when you want to quote a model, decompose it, or route it to a shop, and a workflow note for CAD tools ('save or export STEP, then upload that path'). It does not say when to prefer a sibling like convert_file, but the guidance is otherwise clear.

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