Skip to main content
Glama
caoguanqiu1-alt

CAD-CAE-Agent SolidWorks MCP Server

lookup_api_method

Verifies a SolidWorks API method or property exists on a given COM interface, returning sibling members for context. Use to validate interface members before calling them.

Instructions

Look up one SolidWorks API method or property by interface + name.

Confirms the member is indexed on that interface and returns its sibling members for context. The local index stores names only, so full signatures (parameters, return type) are not available here - use search_solidworks_api_help or help.solidworks.com for those.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_dataNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does useful work: it discloses that the local index stores names only, that signatures are unavailable, and that sibling members are returned for context. It omits things like index freshness or error behavior on a miss, but the data-scope disclosure is genuinely valuable.

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?

Three short sentences, front-loaded with what the tool does, then the return behavior, then the limitation and fallback. Efficient and well-ordered, though the middle clause about sibling members could be folded more tightly.

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?

An output schema exists, so return values needn't be described, and the description correctly focuses on the names-only limitation and the limitation's workaround. Complete for selection; only the sibling disambiguation 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?

Schema description coverage registers 0% at the top level, but the description only restates 'by interface + name' and adds no syntax, format, or optionality guidance (year, index_file go unmentioned). The nested property descriptions carry the real detail, so baseline 3 is appropriate rather than penalizing further.

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 (Look up) and resource (one SolidWorks API method or property) scoped by interface + name. Clear enough to distinguish from search_solidworks_api_help, which it explicitly defers to for signatures, but it never contrasts itself with the closely related sibling find_related_api_members.

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?

It implies usage ('Confirms the member is indexed on that interface and returns its sibling members') and points to search_solidworks_api_help / help.solidworks.com when signatures are needed. However, it gives no explicit when-to-use vs the overlapping siblings lookup_api_interface and find_related_api_members, leaving selection to inference.

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