Skip to main content
Glama
gpambrozio

onshape-mcp

by gpambrozio

List document versions

onshape_list_versions
Read-only

Retrieve the immutable version history of an Onshape document, sorted newest to oldest, to identify or restore specific versions.

Instructions

List the immutable versions of a document, newest first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docYesDocument id — the <doc> in cad.onshape.com/documents/<doc>/w/<ws>/e/<elem>.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

The readOnlyHint annotation already covers the safety profile, and the description adds useful context: versions are immutable and the list is newest-first. Still, it does not disclose return format, pagination, or limits. This is comparable to a simple read-only list tool where annotations carry the main safety burden.

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?

One short sentence with the verb and object front-loaded. Every word earns its place, and there is no filler or redundant restating of the tool name.

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

Completeness5/5

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

For a one-parameter, read-only listing tool, the description is complete: the schema documents the parameter, the annotation declares read-only behavior, and the description supplies ordering and version nature. Nothing needed to invoke it correctly is missing.

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?

The input schema already provides 100% coverage of the single 'doc' parameter, including its exact URL pattern. The description adds no additional parameter semantics, so the baseline of 3 is appropriate.

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?

The description states a specific verb ('List') and resource ('versions of a document'), and further characterizes them as 'immutable' and ordered 'newest first'. This clearly distinguishes it from sibling tools like onshape_create_version or onshape_list_documents.

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?

The intended use is implied: retrieve the immutable version history of a document. However, the description gives no explicit guidance on when to choose this over related tools such as onshape_list_documents, onshape_get_document, or onshape_create_version.

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