Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Create Relationship Class

arcgis_pro_create_relationship_class

Creates a relationship class between origin and destination tables in the ArcGIS Pro geoprocessing output root, then verifies the output exists.

Instructions

在 GP 输出根中创建关系类并核验输出存在。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
attributedNo
cardinalityYes
origin_tableYes
forward_labelYes
backward_labelYes
destination_tableYes
message_directionYes
relationship_typeYes
origin_foreign_keyYes
origin_primary_keyYes
out_relationship_classYes
destination_foreign_keyNo
destination_primary_keyNo

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 this is a non-read-only, non-destructive, non-idempotent operation, so the safety profile is partly covered. The description adds two genuinely useful behavioral facts beyond that: output is written under the GP output root, and the tool verifies the output exists after creation. It still omits permission requirements, overwrite behavior, and whether a failed verification rolls back the created class.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no padding, which is structurally clean. However, the brevity is under-specification rather than efficiency for a 13-parameter mutation tool, so it cannot score high.

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?

An output schema exists, so return values need not be explained, and the description does note output verification. But for a 13-parameter, 10-required operation with zero parameter documentation, the definition leaves too much to inference to be considered complete.

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?

13 parameters with 0% schema description coverage and no enums, so the schema provides bare titles only. The description supplies no meaning for any parameter — not the cardinality/relationship_type value domains, not the label semantics, not the optional attributed/destination_* keys. It fails to compensate for a severe coverage gap.

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 (创建/create) and resource (关系类/relationship class) plus the target location (GP 输出根), which separates it from arcgis_pro_delete_relationship_class and the read-only arcgis_pro_relationship_classes. It does not explicitly name those siblings, but the create action is unambiguous.

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 when-to-use guidance, no statement of prerequisites (e.g. that origin/destination tables must exist and share key fields), and no mention of when to prefer this over the generic arcgis_pro_gp_run_tool. The agent must infer all invocation context.

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