Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ARCGIS_DOCS_DATANoAbsolute path to the index file (data/pages.json). Optional if the server is run with the project as its working directory.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Local, read-only index of ArcGIS Maps SDK for JavaScript documentation. Call search_docs first, then get_page with the returned URL. Cite the page URL in answers. Use get_api for class or function references. If a page is missing, the index is probably stale: ask the user to run npm run index.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_docsA

Full-text search over the locally indexed ArcGIS Maps SDK for JavaScript documentation. Returns titles, URLs, page kinds, scores, and snippets. Use this before get_page.

get_pageA

Return the indexed Markdown content for a documentation URL. Use a URL returned by search_docs. Long pages are truncated to maxChars.

get_apiA

Search API reference pages for a class, function, or module name (for example MapView, FeatureLayer, geometryEngine, reactiveUtils). Returns the best reference pages with snippets; follow up with get_page.

list_sourcesA

Return index counts by page kind, the newest fetch time, and the data file in use. Useful for checking whether the local index is present and fresh.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
llms-txtA compact list of every indexed page, grouped by kind.
index-summaryCounts by page kind, freshness, and data file location.

TDQS

A4/5.0

Scored across 4 tools

Disambiguation4/5

The tools are mostly distinct: search_docs is general full-text search, get_api targets API reference pages, get_page retrieves content, and list_sources reports index metadata. search_docs and get_api have some overlap in search behavior, but the descriptions clarify their intended scopes.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: search_docs, get_page, get_api, list_sources. The convention is predictable and readable.

Tool Count5/5

Four tools is well-scoped for a local documentation retrieval server. Each tool has a clear role: search, retrieve, API lookup, and index status.

Completeness4/5

The surface covers the core documentation workflow: search, fetch page content, search API references, and check index freshness. Minor gaps exist, such as no direct browse/list-pages operation, but agents can work around this via search.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues