Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Assign Domain To Field

arcgis_pro_assign_domain_to_field
Idempotent

Assign an attribute domain to a field in an ArcGIS Pro dataset, optionally limiting it to a subtype code to enforce valid values.

Instructions

把属性域分配给字段,可限定一个子类型代码。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
field_nameYes
domain_nameYes
dataset_pathYes
subtype_codeNo

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 disclose this is a non-read-only, idempotent, non-destructive, non-open-world mutation, and the description does not contradict them. However, it adds nothing beyond the annotations: it does not say what gets altered (the dataset schema), whether the change overwrites an existing domain assignment, or what permissions/preconditions apply.

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 wasted words, which is good. But for a 4-parameter schema-mutating tool it is arguably under-specified rather than genuinely concise, so it lands at the minimum-viable level.

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, but this is a mutation tool with zero schema description coverage and only annotation-level behavioral disclosure. It omits preconditions, the effect on existing assignments, and parameter meaning, leaving real gaps for correct invocation.

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 carries the burden but only hints at the optional subtype_code constraint. dataset_path, field_name, and domain_name are self-evident from their names, but subtype_code's meaning (a subtype code value used to scope the assignment) is barely conveyed.

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+resource ('assign domain to field') and notes the subtype-code scoping, so an agent can tell this is a schema-editing operation distinct from read-only domain listing. It does not, however, differentiate itself from the sibling arcgis_pro_remove_domain_from_field or the other domain tools, so a 4 rather than 5.

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 prerequisite (e.g. that the domain must already exist via arcgis_pro_create_domain), and no mention of alternatives such as arcgis_pro_remove_domain_from_field. The only conditional hint is that subtype_code may optionally narrow the assignment.

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