Skip to main content
Glama
lutfiArahaman

ArcGIS Pro MCP Bridge

set_workspace

Sets the default folder or geodatabase for geoprocessing inputs and outputs, so tools can run without specifying full file paths.

Instructions

Set arcpy.env.workspace — the default location for inputs/outputs when no full path is provided to geoprocessing tools.

Args: workspace: Full path to folder or GDB (e.g. C:/data or C:/data/mydb.gdb)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states that the tool mutates the global arcpy.env.workspace and explains the practical consequence for future geoprocessing calls. It omits edge cases like invalid path validation or persistence scope, but the core behavioral effect is clearly conveyed.

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 tightly structured as two sentences: the first states the operation and its effect, the second documents the single argument with format examples. There is no filler or repetition, and the most important information is front-loaded.

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

Completeness4/5

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

For a tool with one required parameter and an output schema, the description adequately covers the what, why, and how of the workspace parameter. It doesn't elaborate on session persistence or validation behavior, but these are minor for a simple setter and the existing context is sufficient for an agent to call it correctly.

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?

The schema has zero description coverage for the workspace parameter, so the description compensates with an explicit 'Args' section. It specifies 'Full path to folder or GDB' and gives concrete examples, adding crucial meaning beyond the bare string type in the schema.

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 opens with a specific verb and resource: 'Set arcpy.env.workspace', and immediately clarifies its purpose as the default location for inputs/outputs when no full path is provided. This clearly differentiates it from its sibling get_workspace and precisely identifies the object being modified.

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 conditional phrase 'when no full path is provided to geoprocessing tools' gives a clear and contextual usage scenario. It does not explicitly name alternatives or exclusions, but for a simple setter the intended use before geoprocessing operations is strongly implied.

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