Skip to main content
Glama

set_map_frame_extent

Aim an ArcGIS Pro layout's map frame at a layer, explicit extent, or fixed scale, with optional rotation and selection-only zoom.

Instructions

Point a layout's map frame at a layer, an extent or a scale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scaleNoFixed scale denominator.
extentNoExplicit extent to show.
rotationNoFrame rotation in degrees.
layer_nameNoZoom the frame to this layer.
layout_nameYesLayout name.
zoom_to_allNoZoom to all layers in the frame's map.
map_frame_nameNoMap frame element name.Map Frame
selection_onlyNoZoom to the layer's selected features only.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It hints at three alternative modes but does not disclose side effects on the layout, whether the project must be saved, precedence when multiple mode parameters are supplied, or what happens on invalid layer/layout names.

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, front-loaded sentence with no filler. It is efficient, though arguably too terse for an 8-parameter mutation tool.

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?

With 8 parameters, a mode-selector design, and no annotations, the description leaves real ambiguity — an agent cannot tell whether scale, extent, layer_name, and zoom_to_all can be combined or are exclusive. An output schema exists, so return values need not be described, but the invocation semantics are under-specified.

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 documents all eight parameters, and the baseline is 3. The description's mention of 'layer, an extent or a scale' loosely mirrors three of those parameters but adds no format or precedence information beyond the schema.

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 ('Point') and resource ('a layout's map frame') and enumerates the three things it can be aimed at (layer, extent, scale). It is clear, but it does nothing to distinguish it from close siblings like add_map_frame or set_layout_element.

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?

The three target modes are listed, implying they are alternatives, but there is no explicit when-to-use guidance and no statement that scale/extent/layer_name/zoom_to_all are mutually exclusive modes. An agent gets no help choosing between this tool and set_map_view, zoom_to_layer, or add_map_frame.

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