Skip to main content
Glama
cafedaily

AutoCAD 2024 MCP

by cafedaily

cad_solid

Destructive

Create editable 3D solid primitives in AutoCAD and apply boolean union, subtract, or intersect operations using WCS coordinates, with each request executed atomically.

Instructions

Create editable AutoCAD 3DSOLID primitives or apply boolean union, subtract, and intersect operations. Coordinates are WCS and one request is atomic.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
axisNo
angleNo
layerNo
actionYes
heightNo
axisPointNo
directionNo
erasePathNo
operationNo
colorIndexNo
eraseToolsNo
pathHandleNo
primitivesNo
startAngleNo
visualModeNoControl AutoCAD screen updates; step presents each created entity
eraseSourceNo
toolHandlesNo
targetHandleNo
zoomToResultNo
profileHandleNo
expectedRevisionNoDrawing revision returned by cad_status
highlightResultsNo
expectedDocumentIdNoDocument id returned by cad_status

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changedv0.1.0
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "create",
      -  "boolean"
      -]New value: +[
      +  "create",
      +  "boolean",
      +  "extrude",
      +  "revolve",
      +  "sweep"
      +]
    • addedInput schema / properties / angle
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / axis
      Added value: +{
      +  "$ref": "#/properties/primitives/items/anyOf/0/properties/origin/anyOf/1"
      +}
    • addedInput schema / properties / axisPoint
      Added value: +{
      +  "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      +}
    • addedInput schema / properties / colorIndex
      Added value: +{
      +  "maximum": 256,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / direction
      Added value: +{
      +  "$ref": "#/properties/primitives/items/anyOf/0/properties/origin/anyOf/1"
      +}
    • addedInput schema / properties / erasePath
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / eraseSource
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / expectedDocumentId
      Added value: +{
      +  "description": "Document id returned by cad_status",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / expectedRevision
      Added value: +{
      +  "description": "Drawing revision returned by cad_status",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / height
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / highlightResults
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / layer
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / pathHandle
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / primitives / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "colorIndex": {
      -        "maximum": 256,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "height": {
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "layer": {
      -        "type": "string"
      -      },
      -      "length": {
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "origin": {
      -        "anyOf": [
      -          {
      -            "items": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "number"
      -              }
      -            ],
      -            "maxItems": 2,
      -            "minItems": 2,
      -            "type": "array"
      -          },
      -          {
      -            "items": [
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "number"
      -              },
      -              {
      -                "type": "number"
      -              }
      -            ],
      -            "maxItems": 3,
      -            "minItems": 3,
      -            "type": "array"
      -          }
      -        ]
      -      },
      -      "type": {
      -        "const": "box",
      -        "type": "string"
      -      },
      -      "width": {
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "origin",
      -      "length",
      -      "width",
      -      "height"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "center": {
      -        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      -      },
      -      "colorIndex": {
      -        "maximum": 256,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "layer": {
      -        "type": "string"
      -      },
      -      "radius": {
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "type": {
      -        "const": "sphere",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "center",
      -      "radius"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "axis": {
      -        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin/anyOf/1"
      -      },
      -      "center": {
      -        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      -      },
      -      "colorIndex": {
      -        "maximum": 256,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "height": {
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "layer": {
      -        "type": "string"
      -      },
      -      "radius": {
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "type": {
      -        "const": "cylinder",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "center",
      -      "radius",
      -      "height"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "axis": {
      -        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin/anyOf/1"
      -      },
      -      "baseRadius": {
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "center": {
      -        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      -      },
      -      "colorIndex": {
      -        "maximum": 256,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "height": {
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "layer": {
      -        "type": "string"
      -      },
      -      "topRadius": {
      -        "minimum": 0,
      -        "type": "number"
      -      },
      -      "type": {
      -        "const": "cone",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "center",
      -      "baseRadius",
      -      "topRadius",
      -      "height"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "colorIndex": {
      +        "maximum": 256,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "height": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "layer": {
      +        "type": "string"
      +      },
      +      "length": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "origin": {
      +        "anyOf": [
      +          {
      +            "items": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "number"
      +              }
      +            ],
      +            "maxItems": 2,
      +            "minItems": 2,
      +            "type": "array"
      +          },
      +          {
      +            "items": [
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "number"
      +              },
      +              {
      +                "type": "number"
      +              }
      +            ],
      +            "maxItems": 3,
      +            "minItems": 3,
      +            "type": "array"
      +          }
      +        ]
      +      },
      +      "type": {
      +        "const": "box",
      +        "type": "string"
      +      },
      +      "width": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "origin",
      +      "length",
      +      "width",
      +      "height"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "center": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      +      },
      +      "colorIndex": {
      +        "maximum": 256,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "layer": {
      +        "type": "string"
      +      },
      +      "radius": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "sphere",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "center",
      +      "radius"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "axis": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin/anyOf/1"
      +      },
      +      "center": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      +      },
      +      "colorIndex": {
      +        "maximum": 256,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "height": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "layer": {
      +        "type": "string"
      +      },
      +      "radius": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "cylinder",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "center",
      +      "radius",
      +      "height"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "axis": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin/anyOf/1"
      +      },
      +      "baseRadius": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "center": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      +      },
      +      "colorIndex": {
      +        "maximum": 256,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "height": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "layer": {
      +        "type": "string"
      +      },
      +      "topRadius": {
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "cone",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "center",
      +      "baseRadius",
      +      "topRadius",
      +      "height"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "axis": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin/anyOf/1"
      +      },
      +      "center": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      +      },
      +      "colorIndex": {
      +        "maximum": 256,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "layer": {
      +        "type": "string"
      +      },
      +      "majorRadius": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "minorRadius": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "torus",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "center",
      +      "majorRadius",
      +      "minorRadius"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "colorIndex": {
      +        "maximum": 256,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "height": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "layer": {
      +        "type": "string"
      +      },
      +      "length": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "origin": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      +      },
      +      "type": {
      +        "const": "wedge",
      +        "type": "string"
      +      },
      +      "width": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "origin",
      +      "length",
      +      "width",
      +      "height"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "axis": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin/anyOf/1"
      +      },
      +      "baseRadius": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "center": {
      +        "$ref": "#/properties/primitives/items/anyOf/0/properties/origin"
      +      },
      +      "colorIndex": {
      +        "maximum": 256,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "height": {
      +        "exclusiveMinimum": 0,
      +        "type": "number"
      +      },
      +      "layer": {
      +        "type": "string"
      +      },
      +      "sides": {
      +        "maximum": 64,
      +        "minimum": 3,
      +        "type": "integer"
      +      },
      +      "topRadius": {
      +        "minimum": 0,
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "pyramid",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "center",
      +      "sides",
      +      "baseRadius",
      +      "height"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / profileHandle
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / startAngle
      Added value: +{
      +  "type": "number"
      +}
    • addedInput schema / properties / visualMode
      Added value: +{
      +  "description": "Control AutoCAD screen updates; step presents each created entity",
      +  "enum": [
      +    "silent",
      +    "batch",
      +    "step"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / zoomToResult
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observedv0.0.3

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the description doesn't need to restate that. The description adds useful context: coordinates are WCS, one request is atomic, and it creates editable primitives. However, it doesn't disclose details like whether boolean operations modify existing entities destructively, what happens to source entities, or any side effects beyond the atomicity note. The description doesn't contradict annotations.

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 a single sentence that packs in the core purpose and two key behavioral facts (WCS, atomicity). It's concise and front-loaded with the main action. However, it could be slightly more structured by separating the create vs boolean operations, but it's still efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 23 parameters, no output schema, and only 13% schema description coverage, the description is far from complete. An agent would not know how to choose between action values, what handles are needed, how boolean operations reference existing solids, or what the expectedRevision/expectedDocumentId are for. The atomicity and WCS notes are helpful but insufficient for a tool this complex.

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

Parameters2/5

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

Schema description coverage is only 13%, so the description must compensate for the 23 parameters. It mentions 'boolean union, subtract, and intersect operations' which maps to the 'operation' enum, and 'primitives' is implied. But it doesn't explain key parameters like action, toolHandles, targetHandle, eraseSource, eraseTools, pathHandle, profileHandle, expectedRevision, expectedDocumentId, visualMode, zoomToResult, highlightResults, etc. The description adds minimal meaning beyond the schema.

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 description clearly states the tool creates editable AutoCAD 3DSOLID primitives and applies boolean operations (union, subtract, intersect). It names specific verbs and resources, and the mention of boolean operations helps distinguish it from generic cad_draw or cad_edit. However, it doesn't explicitly differentiate from cad_model_build or cad_edit, which could overlap in purpose.

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 description implies usage for creating 3D solids and boolean operations, but it doesn't explicitly state when to use this tool versus alternatives like cad_draw, cad_model_build, or cad_edit. It mentions coordinates are WCS and one request is atomic, which gives some context, but no explicit when/when-not guidance or alternative tool names.

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