Skip to main content
Glama
gpambrozio

onshape-mcp

by gpambrozio

Measure the model

onshape_measure
Read-only

Measure body count, bounding box in inches, and total volume to verify a model's dimensions before exporting.

Instructions

Body count, overall bounding box in inches and total volume. Use this to check a model matches its intended dimensions before exporting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wsYesWorkspace id — the <ws> segment of the document URL.
docYesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.
elemYesElement id (tab) — the <elem> segment of the document URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint=true, the read-only safety profile is already covered by annotations. The description adds useful behavioral detail about the measured quantities, which is sufficient for a simple measurement tool, though it does not describe error behavior or response details.

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?

The description is two short, purposeful sentences: the first lists measured outputs and the second gives the use case. There is no filler or repetition of schema information.

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 simple three-parameter, read-only tool, the description plus the fully documented schema is largely complete. The only meaningful gap is the lack of explicit guidance for choosing this tool over overlapping siblings such as onshape_mass_properties.

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 100%, with doc, ws, and elem fully documented in the input schema. The description adds no parameter-specific guidance, so the high-coverage baseline of 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?

The description clearly states what the tool returns: body count, overall bounding box in inches, and total volume. It also gives the intended use case, checking dimensions before export, but it does not explicitly distinguish itself from overlapping sibling tools such as onshape_mass_properties.

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?

"Use this to check a model matches its intended dimensions before exporting" provides clear invocation context. However, it does not mention exclusions or alternatives, so it stops short of a fully explicit when-to-use/when-not-to-use guideline.

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

Deploy Server

Other Tools