Skip to main content
Glama

AI CAD Hub MCP

parse_cad_prompt

Parse a natural-language CAD description into a validated bracket, spacer, adapter, or open-box parametric spec in millimeters.

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": {
      "prompt": "<prompt>"
    },
    "name": "parse_cad_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
familyNoOptional explicit part family override.
promptYesPart description with millimeter, cm, or inch dimensions (e.g. "L bracket 60 x 40 x 35 mm, 4 mm thick, M4 holes").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose two useful traits: output is validated and normalized to millimeters. It stops short of explaining what validation entails, how ambiguous or unsupported descriptions are handled, whether the caller gets an error or a best-effort spec, and whether parsing has any side effects.

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

Conciseness5/5

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

It is a single well-formed sentence with the action front-loaded and the output guarantees and units placed at the end where they are easy to scan. No filler, no restatement of the title, and nothing that could be trimmed without losing information.

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?

There is no output schema and no annotations, so the description must stand alone, and it does convey the input domain and output units. It remains incomplete about the shape of the returned spec and about failure modes, which matter for a parser that must 'validate' arbitrary natural-language input.

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 coverage is 100%, so both parameters are already documented, and the baseline for this dimension is 3. The description reinforces the unit handling implicit in the prompt parameter ('in millimeters') but adds no detail on how the optional family override interacts with family detection from the text.

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 names a specific verb (Parse), a concrete input (natural-language CAD description), and a concrete output (a validated bracket, spacer, adapter, or open-box parametric spec in millimeters). It enumerates the supported part families, so an agent can immediately tell whether a given request belongs to this tool rather than to the gear, fastener, or dimension sibling tools.

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?

Usage is implied by the phrase 'natural-language CAD description' and the listed part families, which scope the tool to text-to-spec parsing. However, the description never states when to prefer this tool over the sibling tools, nor when not to use it (e.g. non-CAD text, unsupported families, or requests that already have explicit geometry).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.