Skip to main content
Glama
danielproxd2

MCP_CAD

by danielproxd2

get_feature_inventory

Generate a complete inventory of every feature and cut in the part tree, including bore details from geometry, to verify feature consistency before making modifications.

Instructions

Inventario completo de operaciones — one read of EVERY feature in the tree.

Per feature: name, type, dimensions, plus per-cut detail (kind, through, depth, diameter, internal) and the source of each value ('feature' | 'geometry' | 'addin'). On cuts, unknowns are explicit (through=None over COM, named in unverified); on non-cut features the N/A cut fields are omitted. occluded:true cuts cannot be verified by an iso render — check them with capture_views(section=...) / list_faces.

Also returns bores: a GEOMETRY-FIRST inventory of every cylindrical bore in the solid (Ø, axis, center, through/blind, and split=True when a slot crosses the bore — a clevis/fork, not a solid-hub hole), read from face geometry, not the feature tree. This catches what per-feature detail can't: a split pin hole, a bore shared across features, two bores in one cut.

USE BEFORE modifying any multi-feature part: enumerate every cut, change one, re-call, then confirm feature_count + the OTHER features are unchanged. The inventory is a contract. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses behavior: it is a read-only operation that reads every feature and returns specific details. It mentions handling of unknowns ('through=None') and occluded cuts, and explicitly states 'Read-only.' There are no contradictions.

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?

The description is relatively long but well-structured with clear sections: overall purpose, feature details, bore info, and usage advice. Every sentence adds necessary information, though some redundancy could be trimmed. It is front-loaded with the main purpose.

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?

Given no output schema, the description provides a thorough explanation of all returned data: per-feature fields, per-cut details, source of values, handling of unknowns and occluded cuts, and the bore inventory. This ensures the AI agent understands exactly what to expect.

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?

The tool has zero parameters, so the description does not need to explain parameter meaning. According to the rubric, 0 parameters warrants a baseline of 4. The description adds value by explaining the output structure, which is helpful for understanding what the tool returns.

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 clearly states that the tool provides a complete inventory of every feature in the tree with detailed per-feature and per-cut information, plus a geometry-based bore inventory. It distinguishes itself from siblings like 'describe_feature' and 'list_faces' by offering a comprehensive overview suitable for before-modification verification.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit guidance is given: 'USE BEFORE modifying any multi-feature part: enumerate every cut, change one, re-call, then confirm feature_count + the OTHER features are unchanged.' This clearly indicates when to use the tool and the intended workflow. The description also notes that occluded cuts require a different tool ('capture_views'), providing when-not-to-use context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danielproxd2/solidworks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server