Skip to main content
Glama
Onshape MCP

Onshape MCP

onshape_list_versions

Read-onlyIdempotent

List named versions of an Onshape document to review revision history and identify a specific version for reference or export.

Instructions

List named versions of a document.

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

Input Schema

NameRequiredDescriptionDefault
didYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral detail — that only *named* versions are returned, not the full history — but says nothing about pagination, ordering, or what happens if the document has no named versions.

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?

One sentence with no filler, and the key scope word ('named') is front-loaded. It is efficient, though the terseness is part of why the parameter and usage gaps exist.

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?

An output schema exists, so return values need not be explained, and the annotations cover safety. What is missing is clarification of the 'did' parameter and any hint about version-related siblings, which is a meaningful gap for an agent deciding between listing tools.

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% for the single parameter 'did', so the schema contributes nothing beyond a name that could ambiguously mean document ID or something else. The description does not clarify the parameter at all, failing to compensate for the coverage gap.

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 ('List named versions of a document'), and the 'named' qualifier hints at a narrower scope than raw version history. It does not, however, distinguish itself from siblings such as onshape_create_version or onshape_list_workspaces, so an agent must infer when this list applies.

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 stated purpose implies the usage context (retrieving version metadata for a document), but there is no explicit when-to-use guidance, no prerequisites, and no mention of how this differs from related listing tools. Adequate but leaves routing to inference.

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