Skip to main content
Glama
Onshape MCP

Onshape MCP

onshape_search_documents

Read-onlyIdempotent

Search and list Onshape documents by ownership, sharing, or recency to find CAD files. Returns IDs, names, owners, and workspace info for browsing.

Instructions

Search/list Onshape documents. filter: 0=my docs, 1=created by me, 2=shared with me, 3=trash, 4=public, 6=recently opened. Returns id, name, owner, default workspace and modified date.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "onshape_search_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
filterNo
offsetNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the available filter categories and result fields, but says nothing about pagination limits, ordering, or empty-result behavior.

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 compact sentences, front-loaded with purpose and followed by an inline enum legend. The enumerated return fields duplicate the output schema, slightly redundant but not harmful.

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?

Return values are covered by the output schema, so the description needn't restate them. The gap is pagination and query semantics for a four-parameter listing tool with zero schema documentation.

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 0%, so the description must compensate and does so only partially: it fully enumerates filter values, but limit, offset and query are left unexplained (default page size, offset semantics, whether query matches name, owner or content).

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: "Search/list Onshape documents." That distinguishes it from retrieval-by-id siblings like onshape_get_document, though it doesn't name those siblings explicitly.

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 filter legend implicitly tells the agent which searches are possible (my docs, shared, trash, public, recent), which is useful usage context. However, there is no guidance on when to use this versus onshape_get_document, or on paging through results.

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