Skip to main content
Glama

apply_symbology_from_layer

Copy symbology from a .lyrx file or another layer to standardize map styling. Apply consistent symbols without manual reconfiguration.

Instructions

Copy symbology from a .lyrx file or another layer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
map_nameNoMap to act on; defaults to the active map.
layer_nameYesLayer or table name as shown by get_layers, or a full dataset path.
symbology_sourceYesPath to a .lyrx file, or the name of another layer.
update_symbologyNoMAINTAIN, UPDATE or DEFAULT -- how to handle differing field values.MAINTAIN

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but discloses almost nothing beyond the copy action. It does not say whether existing symbology is overwritten, what permissions are needed, or how the update_symbology option affects behavior.

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?

A single sentence with zero waste, front-loading the verb and resource immediately. Every word 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 is a moderate-complexity mutation on layer symbology with no annotations. The output schema covers return values, and the input schema is fully documented, but the description omits behavioral context such as overwrite semantics or required map state.

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 100%, so the schema already explains all four parameters. The description adds no extra parameter meaning beyond restating that symbology_source can be a .lyrx file or another layer. Baseline 3 applies.

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 specific verb ('Copy symbology') and resource, and names the possible sources (.lyrx file or another layer). It is clear but does not explicitly differentiate from siblings like get_layer_symbology or set_layer_renderer.

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, when-not-to-use, prerequisites, or alternative tools are mentioned. The agent gets only the action itself, not the context for selecting this tool over related symbology tools.

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