Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Set Layer Visible

arcgis_pro_set_layer_visible
Idempotent

Set the visibility of a layer in an ArcGIS Pro map to show or hide it. Provide project path, map name, layer name, and boolean value.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
visibleYes
map_nameYes
aprx_pathYes
layer_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the mutation/idempotency profile is covered structurally. The description's added text ("returns verifiable structured results; write and path restrictions depend on service capabilities") is boilerplate that does not say what actually changes, whether the change is persisted to the .aprx, or whether saving is required — so it adds little beyond 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 and front-loaded with the product name, but brevity here is under-specification rather than concision: the second clause is generic filler that does not earn its place, and the one informative word (visibility) is missing entirely.

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

Completeness2/5

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

An output schema exists, so return values need not be described, and annotations carry the safety profile. However, for a 4-required-parameter write operation with 0% schema coverage, the description omits the basic facts an agent needs: what state changes, and how to identify the target layer — a clear completeness gap.

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?

All four parameters (aprx_path, map_name, layer_name, visible) are required and schema description coverage is 0%, so the schema supplies no semantics at all. The description mentions no parameter: it never explains the path format, how map/layer names are resolved, or that 'visible' is a boolean toggle — leaving the agent to guess from titles alone.

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 "ArcGIS Pro: set layer" (设置图层), which restates the domain without naming what is being set — visibility — even though the tool name and title make it explicit. Among ~250 siblings containing set_layer_transparency, toggle_layer_labels, set_layer_scale_range and set_definition_query, a generic "set layer" gives an agent no basis to tell them apart.

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 statement of when to use this tool, no prerequisites (e.g. the project/APRX must be open, the layer must exist in the named map), and no mention of alternatives. The only clause present is a generic service-capability caveat, which is not usage guidance.

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