Skip to main content
Glama
C48H74

AutoCAD MCP Server

by C48H74

check_layer_standard

Read-only

Audit AutoCAD drawings before delivery by identifying entities on layers outside your standard. Get counts, types, and sample handles per non-standard layer.

Instructions

Relata entidades do espaço modelo em camadas FORA do padrão informado (não altera nada).

QUANDO USAR: auditoria de desenho antes da entrega ("tem algo fora das camadas do padrão?"). Parâmetros: allowed_layers (nomes ou padrões com * e ?, ex. ["PIPE-", "SUPORTES"]), ignore_layers (padrão ["0", "Defpoints"]), limit (máx. de entidades de amostra por camada). Retorna, por camada fora do padrão: contagem, tipos e handles de amostra; e as camadas do padrão que não existem no desenho. Não verifica o conteúdo interno de blocos. Exemplo: check_layer_standard(["PIPE-", "SUPORTES", "EIXOS"]).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
ignore_layersNo
allowed_layersYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description reinforces this with 'não altera nada'. It adds useful behavior beyond annotations: the return contents (count, types, sample handles, missing standard layers) and the limitation that it does not check internal block content.

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?

The text is well-structured and front-loaded: core purpose first, then usage, parameters, return details, limitation, and a concrete example. Every sentence serves a purpose without redundancy.

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 the tool's complexity, 0% schema coverage, and the presence of an output schema, the description provides all necessary context: parameter semantics, return format, and behavioral boundaries. An agent has enough information to invoke it correctly.

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

Parameters5/5

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

With 0% schema description coverage, the description fully compensates by explaining all three parameters: allowed_layers accepts names or wildcard patterns with an example, ignore_layers has a clear default, and limit defines the maximum sample entities per layer.

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?

States a specific verb ('Relata') and resource ('entidades do espaço modelo em camadas FORA do padrão informado'), with clear scope and no ambiguity. It distinguishes itself from general audit siblings by focusing exclusively on layers outside a given standard.

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

Usage Guidelines4/5

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

Provides a clear 'QUANDO USAR' section with the exact scenario: design audit before delivery. However, it does not name alternative tools (e.g., dxf_audit) or state when not to use this tool.

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