Skip to main content
Glama

update_features

Updates attributes and/or geometry for rows matching a SQL where clause in ArcGIS Pro, enabling edit mode when required and optionally saving edits.

Instructions

Update attributes and/or geometry of rows matching a where clause. Switches editing on if the project requires it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "layer_name": "<layer_name>"
    },
    "name": "update_features"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoStop after this many rows (0 = no limit).
whereNoSQL where clause selecting the rows to update.
geometryNoNew geometry as WKT, applied to every match.
map_nameNoMap to act on; defaults to the active map.
attributesNoField/value pairs to write.
layer_nameYesLayer or table name as shown by get_layers, or a full dataset path.
save_editsNoCommit the edits immediately instead of leaving them pending.
allow_update_allNoRequired confirmation when no where clause is given.
use_edit_sessionNoWrap in an edit session.
geometry_spatial_referenceNoWKID of the geometry.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully notes that editing may be switched on, but it omits important mutation behavior such as destructive updates, pending versus committed edits, and confirmation for updating all rows.

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

Conciseness5/5

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

The description is two efficient sentences with the core action front-loaded and no unnecessary wording. The second sentence adds a useful operational note without bloating the definition.

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

Completeness3/5

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

This is a complex mutation tool with ten parameters, but the rich input schema and output schema compensate for much of the short description. However, for a write operation with no annotations, the description should say more about edit-session and commit 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 100%, so the schema already explains all ten parameters in detail. The description reinforces that attributes, geometry, and a where clause are involved but adds no syntax or semantics beyond what the schema provides.

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 uses a specific verb and resource: updating attributes and/or geometry of rows matching a where clause. It is clearly a feature-update operation, though it does not explicitly distinguish itself from siblings such as insert_features or delete_features.

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?

It implies the tool is for row updates but gives no explicit when-to-use guidance versus insert, delete, or select tools. The only operational note is that editing is switched on if the project requires it, which is 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