Skip to main content
Glama
lutfiArahaman

ArcGIS Pro MCP Bridge

publish_web_layer

Publish a selected layer as a hosted feature service to your active ArcGIS Online or Enterprise portal. Creates or overwrites portal content using your existing ArcGIS Pro sign-in.

Instructions

Publish a layer as a hosted feature service to ArcGIS Online / Enterprise, using whichever portal is currently active in ArcGIS Pro. Always confirm with the user before calling this — it creates or overwrites content on their portal account.

Publishes over REST via the ArcGIS API for Python (reusing your existing Pro sign-in — no separate login needed), not the classic arcpy.server pipeline, which doesn't work reliably from this bridge. Can take up to ~30-60s for typical layers; this is normal, don't treat a slow response as a failure.

Args: layer: Exact layer name as shown in the Contents pane service_name: Name for the hosted feature service (must be unique in the target folder) summary: Short description shown on the portal item (optional) tags: Comma-separated tags for the portal item (optional) public: Share publicly if True; private (owner-only) if False (default: False) overwrite: Overwrite an existing service with the same name if True (default: False)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo
layerYes
publicNo
summaryNo
overwriteNo
service_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well. It discloses destructive/overwrite behavior, portal account side effects, reuse of the existing Pro sign-in with no separate login, the REST implementation path, and a realistic 30-60s latency expectation. This is strong behavioral disclosure.

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 well-structured with a user-confirmation warning and behavioral caveats up front, followed by a clear Args block. Every sentence adds value: the confirmation requirement, safety warning, technical implementation note, latency expectation, and parameter semantics all earn their place. No fluff or tautology.

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

Completeness5/5

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

Given the tool's complexity, six parameters, and no annotation safety signals, the description is complete. It covers prerequisites (active portal, existing Pro sign-in), side effects, timing, defaults, and parameter constraints. The presence of an output schema means return-value details are not required in the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description fully compensates by explaining every parameter. It gives concrete guidance: layer must match the Contents pane name, service_name must be unique, tags are comma-separated, public controls visibility with default false, and overwrite controls replacement with default false. This adds meaning the schema alone completely lacks.

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

Purpose5/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: 'Publish a layer as a hosted feature service to ArcGIS Online / Enterprise.' It clearly states the target portal context and the action, and it is obviously distinct from sibling tools that add/remove/layer/select features rather than publish.

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

Usage Guidelines4/5

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

The description explicitly instructs the agent to confirm with the user before calling, because the tool creates or overwrites portal content. It also notes that the operation can be slow, preventing false failure interpretation. It does not explicitly name alternative tools, but no sibling performs publishing, so the usage context is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lutfiArahaman/MCP_ALAMI1'

If you have feedback or need assistance with the MCP directory API, please join our Discord server