Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Sdk Edit Undo

arcgis_pro_sdk_edit_undo
Idempotent

Undo the last edit operation on the active map in ArcGIS Pro. Requires SDK editing enabled, a valid lease, and explicit confirmation.

Instructions

执行活动地图原生 Undo;需要 SDK 编辑开关、有效租约和 confirm=true。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNo
sdk_session_refYes
expected_map_uriYes
expected_edit_generationYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare the safety profile (not read-only, idempotent, non-destructive). The description adds behavior not in annotations: it requires a valid lease and a confirm=true flag, and it performs the map's *native* undo (state-mutating despite destructiveHint=false). These are genuine extra disclosures.

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: the action first, then prerequisites separated by semicolons. No filler, though the semicolon-packed prerequisites are a little dense for readers.

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, and annotations cover the safety profile. However, with 0% parameter coverage and three undocumented required parameters, the definition leaves an agent guessing about the session/generation guards before invoking a map-state mutation.

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 description coverage is 0%, so the description must carry the parameter burden. It only clarifies one of four parameters (confirm must be true) and says nothing about sdk_session_ref, expected_map_uri or expected_edit_generation — the concurrency/guard semantics that matter most for a state-changing undo.

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 and resource: "执行活动地图原生 Undo" (execute the active map's native Undo). This distinguishes it from the edit-family siblings save/discard/redo. It stops short of explicitly naming those alternatives, so it is clear but not fully differentiated.

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?

It gives explicit preconditions for invocation — SDK 编辑开关 (edit switch enabled), 有效租约 (valid lease) and confirm=true. This is usable context for deciding when the call is valid, though it does not state when to prefer Undo over redo/save/discard.

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