Skip to main content
Glama

find_entities_by_layer

Retrieve all entities assigned to a specific layer name in a CAD drawing, filtering geometry by layer for targeted editing or analysis.

Instructions

Return entities assigned to a specific layer name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layer_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states only that entities are returned, without disclosing read-only safety, behavior for a nonexistent layer, empty-result handling, or any return-format details.

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 definition is a single front-loaded sentence with no wasted words. It is appropriately sized for the tool's simple purpose.

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?

The tool is simple, but no output schema exists and the description does not explain what a returned entity looks like or how layer-name matching works. For an agent calling this tool correctly, the description leaves meaningful behavioral and output interpretation gaps.

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 0% for the single required parameter. The description says 'specific layer name,' which restates the parameter name but adds no detail about matching semantics, case sensitivity, or format, so it does not compensate for the missing schema documentation.

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 states a clear verb ('Return') and resource ('entities assigned to a specific layer name'), immediately distinguishing the filter dimension from generic listing. However, it does not explicitly differentiate itself from siblings such as find_entities_by_property or find_entities_in_region.

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 when-to-use guidance is given. The description offers no context for choosing this tool over list_entities, find_entities_by_property, or find_entities_in_region, and it does not mention prerequisites or exclusions.

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

Deploy Server

Other Tools