Skip to main content
Glama
muend

arcgis-mcp-bridge

set_layer_visibility

Show or hide a specific layer in an ArcGIS Pro map to control which datasets appear in the final map before export.

Instructions

Show or hide a named layer in a selected ArcGIS Pro map by updating lyr.visible. Use this before layout or map export to control which datasets appear in the final map. This mutates layer visibility in the saved .aprx project when save=true but does not alter the source dataset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations provided, so description carries full burden. States mutation in .aprx when save=true and no alteration of source dataset. Missing details on errors (e.g., layer not found), permissions, or side effects. Adequate but not fully transparent.

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?

Three efficient sentences, front-loaded with action, use case, and behavioral note. No wasted words. Ideal length for quick understanding.

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?

Covers purpose, use case, behavioral impact, but omits map selection detail, required layer existence, and error conditions. Output schema exists but is not shown; description doesn't discuss return values. Acceptable but leaves gaps for an agent.

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

Parameters2/5

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

Description adds minimal parameter info beyond input schema. Does not mention 'save', 'map_name', 'visible' fields or their nuances. Schema descriptions are detailed, but the tool description does not supplement or clarify. Coverage is 0% from description.

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

Purpose5/5

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

Clear verb 'show or hide' and specific resource 'named layer in an ArcGIS Pro map'. Distinguishes from siblings like set_layer_symbology and remove_layer_from_map by focusing on visibility. Includes use case for layout/map export.

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

Usage Guidelines4/5

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

Explicitly says 'Use this before layout or map export' and mutates only visibility, not source data. Lacks explicit when-not-to-use but context implies alternatives (e.g., removal, symbology). Decent guidance.

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/muend/arcgis-mcp-bridge'

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