Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Generate Spatial Weights Matrix

arcgis_pro_generate_spatial_weights_matrix
Idempotent

Generates a .swm spatial weights matrix from input features using a chosen conceptualization, distance method, and neighbor settings.

Instructions

以固定 conceptualization 和参数白名单生成新 .swm 空间权重矩阵。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exponentNo
output_swmYes
environmentNo
in_featuresYes
distance_methodNoEUCLIDEAN
unique_id_fieldYes
conceptualizationYes
threshold_distanceNo
number_of_neighborsNo
row_standardizationNoROW_STANDARDIZATION

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.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, and destructiveHint=false, so the safety profile is covered. The description adds only a vague 'parameter whitelist' note and says nothing about where the .swm is written, whether an existing file is overwritten, or what authorization it needs.

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 with no padding, front-loading the action and artifact. It is efficient, though its brevity is partly under-specification rather than disciplined compression.

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 10-parameter geoprocessing tool with zero schema coverage, the description should at minimum clarify key parameter choices and output behavior. The output schema covers return values, but parameter meaning and preconditions for a mutating tool are effectively absent.

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% across 10 parameters, so the schema alone documents nothing. The description names 'conceptualization' but does not explain its valid values, nor any of the other 9 parameters (exponent, threshold_distance, number_of_neighbors, distance_method, row_standardization, etc.). The burden is entirely unmet.

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 (generate) and resource (.swm spatial weights matrix), which no sibling tool duplicates — the nearest siblings are near-table/distance tools, but none make a spatial weights matrix. Clear enough to distinguish, though it doesn't name any sibling to avoid.

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?

No indication of when to use this tool versus alternatives, nor prerequisites (e.g. does it need a projected coordinate system, an ArcGIS Pro session, or specific licenses?). The 'fixed conceptualization' note is a constraint, not usage guidance.

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