Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Refresh Layer

arcgis_pro_refresh_layer
Idempotent

Refresh a map view in ArcGIS Pro to show updated data for a given layer. Provide the project path, map name, and layer name to redraw the visible map.

Instructions

刷新 ArcGIS Pro 当前窗口中包含指定图层的可见地图视图。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the agent knows the operation is a non-destructive, repeatable, local refresh. The description adds the useful scoping detail that the refresh targets the visible map view in the current window, but says nothing about side effects, required project state, or what happens if the layer is not visible.

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

Conciseness4/5

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

A single front-loaded sentence that states the action and target with no filler. It is efficient, though it is arguably too terse given the undocumented parameters.

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?

An output schema exists, so return values need not be explained. However, with three required and fully undocumented parameters and no usage guidance, the description is only minimally sufficient for an agent to call this tool correctly in the right situation.

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?

All three parameters (aprx_path, map_name, layer_name) have 0% schema description coverage, so the schema provides no meaning, and the description only obliquely implies a layer and a map. It never explains what aprx_path expects, whether the names must match exactly, or how they relate to the currently open project.

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 (刷新/refresh) and resource (the visible map view containing the specified layer in the current ArcGIS Pro window), which lets an agent distinguish it from layer-editing siblings like set_layer_visible or rename_layer. It is clear but does not explicitly contrast itself with refresh-like siblings such as arcgis_pro_sdk_refresh_view or arcgis_pro_refresh_map_series.

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 or when-not-to-use guidance, and no alternative is named. The agent must infer that this is the tool for repainting a map view after making layer changes rather than, say, arcgis_pro_sdk_refresh_view or arcgis_pro_reload_project.

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