Skip to main content
Glama
U-C4N
by U-C4N

Select Entities By Layer

analysis_select_by_layer
Read-only

Select all entities on a specified layer and retrieve their handles for further analysis or manipulation.

Instructions

Get all entities on a specific layer. Returns entity list with handles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layer_nameYesLayer name to select entities from

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is known. The description adds that it returns 'entity list with handles', which is useful but incomplete. It does not disclose behavior for non-existent layers or whether order is guaranteed. With annotations, a score of 3 is appropriate.

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 description is two short sentences, no redundant words. Every sentence adds value: what it does and what it returns. Highly concise.

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?

The tool is simple (one param, read-only) and has an output schema, so it does not need to detail return values. The description covers the essential purpose and return type. Slightly higher than 3 due to output schema existing.

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?

Schema coverage is 100%, so the parameter 'layer_name' is fully described in the schema. The description does not add any additional meaning or examples. Baseline 3 is correct.

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 clearly states the tool's purpose: 'Get all entities on a specific layer.' It uses a specific verb and resource, distinguishing it from sibling tools like 'entity_list' (all entities) and 'analysis_select_by_type' (by type).

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention when not to use it or compare to sibling tools like 'analysis_layer_stats' or 'entity_select_smart'. Usage context is only implied.

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

Install Server

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/U-C4N/Autocad-MCP'

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