Skip to main content
Glama
SolidWorks-MCP

SolidWorks-MCP

list_dimensions

Lists every dimension in the current SolidWorks part with name, feature, value, and unit; use optional text filtering to locate dimensions in large parts.

Instructions

List every dimension in the current part: name (for set_dimension), feature, value, unit.

For a part opened from disk, or when the names the tools returned are gone. contains (e.g. 'Sketch3' or 'Pad') keeps those whose name or feature holds that text; use it on a large part, whose full list is too long to read.

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": "list_dimensions"
  }
}

Input Schema

NameRequiredDescriptionDefault
containsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.17.0
    • addedInput schema / properties / contains
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Contains"
      +}
  2. Addedv0.5.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It discloses the return fields and that the scope is the current part, and "list" implies a read-only operation, but it says nothing about side effects, ordering, result limits, or what happens when no part is open. Adequate but thin for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the structure is damaged: the second sentence is a verbless fragment ("For a part opened from disk, or when the names the tools returned are gone.") whose meaning has to be guessed, and the parenthetical about set_dimension interrupts the field list. The content is dense but not front-loaded cleanly.

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?

With no annotations and no output schema, the description does cover return fields and the single parameter, which is the minimum needed. It leaves gaps around preconditions (must a part be active?), stale-name refresh semantics, and result size, which matter for a listing tool on large parts.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must explain `contains`, and it does: it is a text filter that keeps dimensions whose name or feature matches, with concrete examples ('Sketch3', 'Pad') and a recommended usage context. Matching semantics (substring vs. exact) are left unstated, keeping it below a 5.

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 first sentence gives a specific verb and resource ("List every dimension in the current part") and even enumerates the returned fields (name, feature, value, unit), which distinguishes it from siblings like list_features or list_equations. It stops short of an explicit sibling comparison, and the follow-on fragment about parts opened from disk muddies an otherwise crisp statement.

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?

There is some when-to-use signal — "For a part opened from disk, or when the names the tools returned are gone" — plus advice to use `contains` on large parts. But the sentence is a dangling fragment with no stated alternative (e.g. when to prefer list_features or set_dimension), so the guidance is implied rather than actionable.

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