Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Layer Replace Data Source

arcgis_pro_layer_replace_data_source
Idempotent

Replace an ArcGIS Pro layer's data source by pointing it to a specified workspace and dataset, with optional validation to confirm the new source works.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
map_nameYes
validateNo
aprx_pathYes
layer_nameYes
dataset_nameYes
dataset_typeYes
workspace_pathYes

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 declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false. The only behavioral statement, '写入和路径限制以服务能力为准', is generic boilerplate that adds no concrete information about what is modified, auth requirements, or the validate flag's effect.

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, but every clause is vacuous boilerplate ('returns verifiable structured results') that does not earn its place against such a consequential operation.

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 six-required-parameter mutation tool that repoints a layer's data source, the description supplies essentially nothing an agent needs. The presence of an output schema covers return values, but the omission of purpose, parameter meaning, and usage context leaves the definition severely incomplete.

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?

Seven parameters with 0% schema description coverage and no enums, yet the description explains none of them. Critical distinctions like dataset_type values, workspace_path formats, and what the default validate=true does are left entirely undocumented.

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 'ArcGIS Pro:layer图层' merely restates the domain and the word 'layer', adding no verb or operation detail beyond the tool title and name. It never states that the tool swaps a layer's underlying data source with a new workspace/dataset, so purpose is essentially tautological.

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 when-to-use guidance, no prerequisites, and no mention of alternatives such as arcgis_pro_repair_layer_source, arcgis_pro_table_replace_data_source, or arcgis_pro_add_layer_from_path. The agent must infer selection entirely from the name.

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