Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Set Layer Transparency

arcgis_pro_set_layer_transparency
Idempotent

Set the transparency percentage for a layer in an ArcGIS Pro map to control its visibility.

Instructions

ArcGIS Pro:设置图层。返回可验证的结构化结果;写入和路径限制以服务能力为准。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
map_nameYes
aprx_pathYes
layer_nameYes
transparency_percentYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

D1.6/5.0
Behavior2/5

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

Annotations already convey non-destructive, idempotent write semantics, so the bar is lower, but the description adds almost nothing: '返回可验证的结构化结果' and '写入和路径限制以服务能力为准' are boilerplate that restate general safety rather than disclose specifics like whether the .aprx on disk is modified or whether the value is clamped. It does not contradict the annotations, but it leaves the write behavior opaque.

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 brevity here reflects under-specification rather than conciseness. Both sentences are generic filler that could be pasted onto any ArcGIS write tool, so no sentence earns its place.

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 4-required-parameter mutation tool with 0% schema coverage, the description should at minimum state the action and the accepted value domain. An output schema exists so return values need not be described, but the purpose and parameter contract are both missing, making this inadequate.

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 names none of the four required parameters. It never explains that transparency_percent is an integer percentage (range 0–100) or what aprx_path/map_name/layer_name must reference, so there is zero compensation for the schema gap.

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 says only '设置图层' (set layer), which restates the tool family rather than stating the specific action. It never mentions transparency or the transparency_percent parameter, so the actual operation is inferable only from the tool name. It does not distinguish itself from siblings like arcgis_pro_set_layer_visible or arcgis_pro_set_layer_scale_range.

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

Usage Guidelines1/5

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

No guidance on when to use this tool, no prerequisites (e.g. project/map must be open, layer must exist), and no mention of alternatives such as arcgis_pro_layer_properties or arcgis_pro_update_layer_cim for adjusting transparency. The generic trailing clause gives no usage direction.

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