Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Update Legend Items

arcgis_pro_update_legend_items
Idempotent

Update ArcGIS Pro legend items by setting layer visibility for a specified layout and legend, returning structured results for verification.

Instructions

ArcGIS Pro:更新update legend items。返回可验证的结构化结果;写入和路径限制以服务能力为准。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aprx_pathYes
layout_nameYes
legend_nameYes
layer_visibilityYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered structurally. The description only adds generic boilerplate ('返回可验证的结构化结果;写入和路径限制以服务能力为准') that names no concrete behavior, side effect, or failure mode; it does not contradict the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but every sentence is filler: a restatement of the title plus generic disclaimers. Nothing is front-loaded that helps an agent decide or act, so brevity here reflects under-specification rather than efficient structure.

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

Completeness1/5

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

For a mutating tool with four required parameters, one nested object, and 0% schema coverage, the description provides no information about what changes, how layer_visibility maps legend entries to visibility, or what constraints apply. The presence of an output schema excuses explaining return values, but not the near-total absence of invocation-relevant detail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description supplies no parameter information at all, leaving aprx_path, layout_name, legend_name, and the nested layer_visibility map entirely undocumented in both places. This is a serious gap for a tool with a nested-object parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description essentially restates the tool name/title ('更新update legend items') without adding scope, target, or distinguishing detail from the many sibling layout/legend tools. It identifies neither what a legend item is nor what aspects get updated.

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?

There is no when-to-use guidance, no mention of prerequisites (e.g., an open project or layout), and no routing to alternatives such as arcgis_pro_list_layout_elements or arcgis_pro_update_layout_text_element. The reader gets no context for selecting this tool over siblings.

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