Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Clip Map Layers

arcgis_pro_clip_map_layers
Idempotent

Clip the current map's displayed layers, including basemap, to a polygon layer's outline without changing data; clear layer_name to cancel.

Instructions

按多边形图层轮廓裁剪当前地图的图层显示(含底图),不改数据。layer_name 为空则取消裁剪。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aprx_pathYes
selectionNoALL
layer_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

注解已声明 readOnlyHint=false、destructiveHint=false、idempotentHint=true,说明这是非破坏性且幂等的操作;描述进一步补充了“不改数据”“含底图”以及“layer_name 为空则取消裁剪”等行为细节。这些是注解未覆盖的有价值上下文,但未说明裁剪状态是否持久化等其他行为。

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?

仅两句话,信息前置且无冗余,第一句说明核心动作和约束,第二句说明取消条件。表述紧凑,直接服务于工具调用。

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?

已有输出 schema,因此描述无需解释返回值;注解也提供了安全性和幂等性信息。但参数 schema 覆盖率为 0%,而描述只解释了 layer_name,未说明 selection 和 aprx_path 的用法,对完整调用而言仍有关键缺口。

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?

参数 schema 描述覆盖率为 0%,描述必须承担解释参数的责任。描述只说明了 layer_name 为空时的语义,未解释必需的 aprx_path,也未说明 selection 参数的作用及默认值 ALL,三个参数中仅覆盖了一个。

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?

明确说明了具体动作、对象和范围:按多边形图层轮廓裁剪当前地图的图层显示(含底图),且不改数据。与 arcgis_pro_gp_clip 等数据裁剪工具的差异也通过“不改数据”和“图层显示”被清晰区分。

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

Usage Guidelines3/5

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

给出了 layer_name 为空时取消裁剪的条件,属于使用上下文,但未明确说明何时该用本工具而非 arcgis_pro_gp_clip 等替代工具。使用场景主要是隐含的,而非显式引导。

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