Skip to main content
Glama
Codemod3

CAD MCP Server

by Codemod3

List DXF Layers

dxf_list_layers
Read-onlyIdempotent

List all layers in a DXF file, showing name, color, linetype, lineweight, and on/frozen state to inspect CAD drawing structure.

Instructions

List all layers in a DXF file with their properties.

Returns each layer's name, color, linetype, lineweight, and on/frozen state.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYesFileInput with file_path to the .dxf file.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds the output scope ('all layers') and property list, but does not disclose behaviors such as error handling, file-not-found behavior, or layer ordering. This is adequate though not rich.

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?

Two short sentences with the main action front-loaded and the return content summarized in the second sentence. There is no filler or repetition of the schema.

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 single-parameter read-only list operation with annotations and an output schema, the description is nearly complete. It could be stronger by naming a sibling (e.g., dxf_get_layer_entities) to disambiguate scope, but nothing critical is missing for a correct call.

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 only parameter, file_path, is fully described in the schema as 'Absolute path to the .dxf file', and schema coverage is 100%. The description adds no additional parameter-level meaning beyond naming the file type, so baseline 3 is appropriate.

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 uses a specific verb ('List') and resource ('all layers in a DXF file'), and specifies the returned properties (name, color, linetype, lineweight, on/frozen state). This clearly differentiates it from sibling tools aimed at blocks, entities, text, and dimensions.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives such as dxf_summary or dxf_get_layer_entities. The description implies utility when an agent needs layer names/properties, but it gives no exclusions or selection criteria.

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