Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Da Delete Where

arcgis_pro_da_delete_where
DestructiveIdempotent

Delete records from a dataset using a where_clause, with destructive-operation gating enabled and an exact expected_count required to prevent unintended data loss.

Instructions

按 where_clause 删除数据集记录;必须启用破坏性门禁并提供精确 expected_count。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataset_pathYes
where_clauseYes
expected_countYes
max_rows_deletedNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds non-obvious operational behavior: a destructive gate must be enabled and an exact expected_count is required, implying a safety guard against mass deletion. It does not mention what happens on count mismatch or the max_rows_deleted cap, keeping it below 5.

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 tight sentence pair separated by a semicolon; the action is front-loaded and the safety precondition follows. No filler text, though it is terse enough that some needed detail is omitted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 the destructive-gate plus exact-count requirements cover the critical safety context for a delete. The main gap is the undocumented max_rows_deleted cap and mismatch behavior.

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

Parameters3/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 compensate. It conveys the meaning of where_clause and expected_count (exactness matters), but says nothing about dataset_path format or max_rows_deleted (default 1000), leaving half the parameters undocumented.

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?

States a specific verb and resource ('按 where_clause 删除数据集记录') with the filtering mechanism, which lets an agent distinguish it from sibling deletes like da_delete_selected, gp_delete_features, and gp_truncate_table that operate on selections or whole tables. It does not explicitly name those alternatives, so it stops short of a 5.

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?

Prerequisites are stated (destructive gate must be enabled, expected_count must be exact), which is real usage context, but there is no guidance on when to choose this over da_delete_selected or gp_delete_features. Usage is implied by the where-clause mechanism rather than spelled out.

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