Skip to main content
Glama
C48H74

AutoCAD MCP Server

by C48H74

dxf_get_entity

Read-only

Retrieve full DXF entity details by handle from a drawing file so AI assistants can inspect specific geometry and attributes after running a query.

Instructions

Devolve os detalhes completos de uma entidade do DXF pelo handle.

QUANDO USAR: depois de dxf_query, para ver geometria/atributos de uma entidade específica. Parâmetros: path; handle (hexadecimal, ex. "2A3"). Exemplo: dxf_get_entity(path="a.dxf", handle="2A3")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
handleYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds the handle format convention but says nothing about behavior when the handle is missing/unknown, permissions, or performance on large drawings. With annotations carrying the safety profile, this is adequate but thin.

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?

Front-loaded one-line purpose followed by a labeled usage block, parameter note and runnable example. No filler sentences; every line either routes the agent or pins a parameter format.

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?

With an output schema present, return values need no explanation, and both required parameters plus their usage ordering are covered. The only gap is failure modes for invalid handles, which is minor for a read-only lookup.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does: 'path' is named and 'handle' is qualified as hexadecimal with a concrete example ('2A3') plus a full call example. It stops short of 5 only because path's format/expected file location is not clarified.

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?

States a specific verb+resource ('Devolve os detalhes completos de uma entidade do DXF') and the lookup key ('pelo handle'). This distinguishes it from broader siblings like dxf_query, though it doesn't explicitly contrast with get_entity or dxf_read_attributes.

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?

The 'QUANDO USAR' block gives explicit ordering guidance ('depois de dxf_query') and the intent ('ver geometria/atributos de uma entidade específica'), naming the sibling that precedes it. It lacks when-not conditions or alternatives among the create/query/modify siblings, so it stops short of 5.

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