arcgis-docs
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ARCGIS_DOCS_DATA | No | Absolute 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| llms-txt | A compact list of every indexed page, grouped by kind. |
| index-summary | Counts by page kind, freshness, and data file location. |
TDQS
Scored across 4 tools
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.
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.
Four tools is well-scoped for a local documentation retrieval server. Each tool has a clear role: search, retrieve, API lookup, and index status.
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.