Skip to main content
Glama
Codemod3

CAD MCP Server

by Codemod3

Add Layer

cad_add_layer

Add a new layer to an editable DXF copy, optionally set its ACI color, and save the changes in place.

Instructions

Create a new layer on the editable copy and save it in place.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4/5.0
Behavior4/5

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

Annotations already signal that the tool is not read-only and not destructive; the description adds the meaningful behavior that changes are written back in place to the editable copy rather than producing a separate output. It does not disclose duplicate-name behavior or failure modes, but that is a minor gap for a simple mutation.

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?

One sentence with no filler. The core verb and target are front-loaded, and the persistence detail is packed in without redundancy. Every clause earns its place.

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?

For a simple mutation with a well-described nested schema and an output schema, the description covers the object, target, and persistence behavior. It could add explicit sequencing guidance about requiring an existing editable copy, but nothing essential for invoking the tool 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?

The description does not explain name, color, or file_path, but the nested input schema already documents all three explicitly, including 'Path to the editable .dxf copy' and 'ACI color index 0-256'. The description only reinforces the editable-copy semantic, so it adds little beyond the schema.

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 states a specific action ('Create a new layer'), names the target scope ('on the editable copy'), and adds persistence ('save it in place'). This clearly distinguishes it from read-only layer tools and the other cad_add_* entity 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?

The phrase 'on the editable copy' implies the prerequisite workflow after cad_create_editable_copy, but the description never explicitly says when to use this tool versus alternatives or how to handle pre-existing layers. No exclusions or alternative tool names are given, so usage guidance is mostly implicit.

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

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/Codemod3/CAD-MCP'

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