Skip to main content
Glama
Onshape MCP

Onshape MCP

onshape_create_document

Create a new Onshape document and return its document ID and default workspace ID, so you can start organizing CAD data or immediately begin adding parts and features.

Instructions

Create a new Onshape document. Returns its id and default workspace id.

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

Input Schema

NameRequiredDescriptionDefault
nameYes
is_publicNo
descriptionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so the safety profile is covered. The description adds that the call returns an id and a default workspace id, which is mildly useful, but says nothing about authentication requirements, side effects, or what happens on duplicate names.

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?

Two short, front-loaded sentences with no filler. The return-value sentence partly duplicates the existing output schema, which is the only wasted clause.

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?

Because an output schema exists, the return values need no elaboration. However, for a mutating create tool with zero parameter documentation and no guidance on defaults such as visibility, the description leaves the agent under-informed about how the call behaves.

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 description coverage is 0% across three parameters, so the description carries the full burden and provides nothing. The meaning of is_public (visibility semantics, default false) and description (where it surfaces) is left entirely undocumented, and only name is indirectly implied.

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 and resource ("Create a new Onshape document") plus the key return values. It is clearly distinguishable from onshape_get_document and the create_*_studio tools, though it never names a sibling explicitly.

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 when-to-use or when-not-to-use guidance, and no mention of alternatives such as onshape_get_document for reading existing documents or onshape_create_part_studio for creating content inside one. The agent must infer that this is the entry point for a new document.

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