Skip to main content
Glama
652036

ArcGIS Pro MCP

by 652036

Set Label Font

arcgis_pro_set_label_font
Idempotent

Set label font properties (name, size, color, bold, italic) for a layer in an ArcGIS Pro project. Specify the project, map, and layer to update its label class.

Instructions

ArcGIS Pro:设置标注。返回可验证的结构化结果;写入和路径限制以服务能力为准。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boldNo
italicNo
map_nameYes
aprx_pathYes
font_nameNo
font_sizeNo
font_colorNo
layer_nameYes
label_class_nameNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

D1.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. The description adds only a generic statement that write/path restrictions depend on service capabilities, with no concrete behavior such as which label class is affected or what errors may occur.

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

Conciseness2/5

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

The text is short, but the second sentence is boilerplate that could apply to many tools. It is not front-loaded with the font-specific action or required path/map/layer inputs.

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

Completeness1/5

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

For a 9-parameter mutation tool with no schema descriptions, the description omits required inputs, font semantics, and scope. An output schema exists, so return values need not be explained, but the input side is entirely inadequate.

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 9 parameters, and the description mentions no parameter names or meanings. Required inputs like aprx_path, map_name, layer_name and optional font settings such as font_name, font_size, bold, italic, and label_class_name are completely undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says only 'set labels' (设置标注), not 'set label font', so it fails to name the specific resource/action and does not distinguish this tool from sibling label tools such as arcgis_pro_upsert_label_class or arcgis_pro_toggle_layer_labels.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool, no prerequisites, and no alternative label-related tools are mentioned. An agent cannot infer when this is the right call versus the other label-management siblings.

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