Skip to main content
Glama
Knight60
by Knight60

set_layer_renderer

Change the symbology of a map layer using simple, unique values, or graduated color renderers with customizable colors and breaks.

Instructions

Change layer symbology. renderer_type: simple (with RGB color like [255, 0, 0]), unique_values (needs field), graduated_colors (needs field; optional color_ramp name like "Viridis" and break_count).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorNo
fieldNo
map_nameNo
color_rampNo
layer_nameYes
break_countNo
outline_colorNo
renderer_typeNosimple

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It mentions RGB color format but does not state whether changes are destructive, reversible, require permissions, or trigger recalculation. It also doesn't describe output or side effects like overwriting existing symbology.

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 sentences with no waste. It front-loads the purpose and then details each renderer type's parameters efficiently. Every sentence earns its place.

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?

The tool has 8 parameters, 0% schema coverage, and no annotations. The description covers core semantics but omits outline_color and map_name. It doesn't mention prerequisites like layer existence or error conditions. With an output schema present, return values are handled, but gaps remain for a complete understanding.

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?

The description adds meaning for 5 out of 8 parameters (renderer_type, color, field, color_ramp, break_count) with examples like RGB arrays and 'Viridis'. It does not explain outline_color or map_name, but these are less critical. Given 0% schema coverage, this is valuable.

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 clearly states 'Change layer symbology', which is a specific verb-resource pair. It distinguishes from sibling tools like set_layer_visibility and set_definition_query by focusing on symbology. However, it could be more explicit about what 'symbology' encompasses (colors, symbols, etc.).

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 guidance on when to use each renderer type (simple, unique_values, graduated_colors) and their required parameters. However, it does not mention when not to use this tool or compare it to alternatives like zoom_to_layer or select_features. It implies usage context but lacks explicit exclusions.

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/Knight60/ArcGIS-MCP'

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