Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Gp Truncate Table

arcgis_pro_gp_truncate_table
DestructiveIdempotent

Clear an ArcGIS Pro table by deleting all rows, with optional expected-count confirmation and verifiable structured output.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
in_tableYes
confirm_allNo
expected_countNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the destructive and repeatable nature is covered. The description adds that results are verifiable/structured and that write/path restrictions depend on service capabilities, but it does not explain what exactly is destroyed, what permissions are needed, or how confirm_all/expected_count affect safety.

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?

The description is short and front-loads the core action ('清空表'). The second clause is somewhat generic boilerplate but remains compact, so it is efficient overall.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive GP tool with three parameters and no schema descriptions, the definition is too thin. Although annotations and the output schema cover safety signals and return structure, the description omits when to use truncation, how to call confirm_all/expected_count safely, and what truncation preserves or removes.

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?

Schema description coverage is 0% for three parameters (in_table, confirm_all, expected_count), and the description provides no explanation of any parameter. It therefore fails to compensate for the schema gap, leaving important safety parameters such as confirm_all and expected_count 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?

The description states a specific verb and resource: '清空表' (empty/truncate table) within ArcGIS Pro. It is clear but does not differentiate this operation from sibling destructive tools such as arcgis_pro_gp_delete_dataset, arcgis_pro_gp_delete_features, or arcgis_pro_da_delete_where.

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 explicit when-to-use guidance, no conditions for choosing truncation over delete/remove alternatives, and no prerequisite or exclusion notes. The only constraint-like clause, '写入和路径限制以服务能力为准', is a vague service-capability caveat rather than actionable usage direction.

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