Skip to main content
Glama
muend

arcgis-mcp-bridge

closest_facility

Find nearest facility routes for incident points using ArcPy Network Analyst. Matches demand locations to hospitals, stations, or other candidate facilities by network travel cost.

Instructions

Find nearest facility routes for incident points using ArcPy Network Analyst MakeClosestFacilityAnalysisLayer. Use this to match demand or incident locations to hospitals, stations, schools, depots, stores, or other candidate facilities by network travel cost. Requires a Network Analyst license; supports facilities_to_find and writes solved route features to out_features.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description must fully disclose behavior. It states it uses ArcPy Network Analyst and writes to out_features, but it does not explain side effects (e.g., overwrite behavior, if input data are modified), performance considerations, or what happens if the license is missing. This is insufficient for safe invocation.

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 sentences, front-loads the core purpose, and avoids unnecessary details. Every sentence adds value, earning a top score.

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?

Despite having an output schema, the description lacks critical context for a network analysis tool: prerequisites (beyond license), input data requirements, error scenarios, and differences from similar tools. This leaves gaps that could lead to incorrect usage.

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?

The input schema already provides detailed descriptions for all parameters. The description adds a brief summary of functionality ('supports facilities_to_find and writes solved route features'), but no meaningful extra semantics beyond the schema. Given high schema coverage, a score of 3 is appropriate.

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 clearly states it finds nearest facility routes for incident points using ArcPy Network Analyst. It lists example facility types (hospitals, stations, etc.), which adds specificity. However, it does not explicitly distinguish from sibling tools like od_cost_matrix or near_analysis, leaving some ambiguity.

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

Usage Guidelines3/5

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

The description mentions the license requirement and suggests use for matching incidents to facilities, providing some context. But it lacks explicit guidance on when not to use this tool or how it compares to alternatives, leaving the agent to infer usage boundaries.

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

Install Server

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/muend/arcgis-mcp-bridge'

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