Skip to main content
Glama
awheeler262
by awheeler262

Set Layer Labeling

set_layer_labeling

Configure labeling for vector layers by enabling or disabling labels, setting the attribute field, font size, and color.

Instructions

Configure labeling for a vector layer. Set enabled=false to disable labels. Set field_name to the attribute field to label with. Optional: font_size (float), color (hex like '#000000').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNo
enabledNo
layer_idYes
font_sizeNo
field_nameNo
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. However, it only mentions configuration parameters and does not disclose side effects, such as whether updating labels triggers a map refresh or affects existing features. The description is minimal in this regard.

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 extremely concise with only two sentences, no fluff, and front-loaded with the core purpose. Every sentence serves a clear purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, no annotations, and 5 parameters (1 required), the description provides basic configuration details but lacks information on return value, error states, or behavior changes. It is adequate but not fully comprehensive.

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 description coverage is 0%, so the description must compensate. It explains 'enabled', 'field_name', 'font_size', and 'color' with example format for color. However, it does not explain the required 'layer_id' parameter, and lacks details like units for 'font_size'. The description adds some meaning but is incomplete.

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 'Configure labeling for a vector layer' with a specific verb ('Configure') and resource ('labeling for a vector layer'). It distinguishes from sibling tools like 'get_layer_labeling' which reads labeling, and others like 'set_layer_style' which configure symbology.

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

Usage Guidelines3/5

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

The description provides basic usage guidance such as 'Set enabled=false to disable labels' and 'Set field_name to the attribute field to label with', but it does not explicitly state when to use this tool versus alternatives like 'get_layer_labeling' for reading or 'set_layer_style' for styling.

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/awheeler262/qgis_mcp'

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