Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ATLAS_ROOTNoRoot folder of the project whose Markdown documentation should be indexed. Resolves relative to the client's working directory, so one installation serves every project..

Instructions

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

This server indexes the project's design and architecture documentation. READING: For ANY documentation question use atlas_where or atlas_search first — never open the Markdown sources or .atlas/cache with Read/Grep. Those files are large; the index is faster and returns only the relevant section. Flow: atlas_where('topic') -> atlas_read(anchor) for the full text. ROLE SPLIT: Synced Google Docs (.atlas/cache) are read-only design sources (GDD); local Git Markdown (docs/ARCHITECTURE.md) is the authoritative single source of truth for Work Orders and - [x] checklist steps; Google Sheets hold balancing tables. PLANNING: use atlas_plan to create a new open Work Order with - [ ] steps in docs/ARCHITECTURE.md (it automatically links the matching spec anchor via atlas_where). WRITING: call atlas_set_status and atlas_publish only after tests are green — marking something done is the last step, never the first. Design prose, formulas and Google Docs are read-only; autonomous writes are limited to local Work Order status markers/checkboxes and spreadsheet rows. NEVER write balancing values as a cell coordinate (C14): atlas_sheet_update takes a row_key plus column name and computes the cell itself. DIRECTNESS: one matching tool answers the question in ONE call. Work order status = atlas_status. Open tasks = atlas_tasks. Symbol/file = atlas_code_find. Do NOT additionally run list tools, the CLI, the MCP sources or the index to confirm a result: the tools read the same source and do not lie. A second call is justified only if the first returned an error message. Status and diagnostics are separate: atlas_status returns the work orders, atlas doctor (CLI only, not an MCP tool) checks index health.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
atlas_whereA

Locate the best-matching documentation section for a topic and return its pointer (~60 tokens) without full text.

Use this tool FIRST for 'where is X documented?', 'which file covers Y?', or 'which section defines Z?'.
Follow up with `atlas_read(anchor)` only if you need the section body, or fall back to `atlas_search`
if you need multiple ranked snippets across documents.

Behavior & Output:
- Read-only, deterministic BM25 lookup against the local SQLite FTS5 index (auto-refreshed before query).
- Returns a JSON string with `{found: true, anchor, path, line, heading, breadcrumb, alternatives, read_with}` when matched,
  or `{found: false, hint}` when no section matches.
atlas_searchA

Run a BM25 full-text search across documentation sections and return ranked snippets with anchors.

Use this tool for broad or multi-section topics ('where all is armor mentioned?') or when
`atlas_where` returns no single match. Pass a returned `anchor` to `atlas_read` to inspect the full section.

Behavior & Output:
- Read-only lexical search via SQLite FTS5 (no embeddings; project synonyms come from `.atlas/aliases.yml`).
- Returns a JSON string `{query, count, hits: [{anchor, doc_id, heading, breadcrumb, path, line, snippet, score}]}`.
  Returns `count: 0`, an empty `hits` list, and `hint` if nothing matches.
atlas_readA

Read the Markdown content of a single documentation section by its anchor with character-budget pagination.

Use this tool after obtaining an `anchor` from `atlas_where`, `atlas_search`, or `atlas_outline`.
Never read raw documentation files from disk when `atlas_read` can fetch the exact section.

Behavior & Output:
- Read-only lookup from the local documentation index.
- Returns a JSON string `{anchor, heading, breadcrumb, path, line, chars, total_chars, offset, truncated, body}`
  (plus `next_offset` when `truncated: true`). If the anchor does not exist, returns `{error, suggestions, hint}`.
atlas_outlineA

Return the hierarchical table of contents (headings and section anchors) across indexed documentation.

Use this tool when exploring an unfamiliar project structure, browsing available documents,
or when keyword searches (`atlas_where` / `atlas_search`) did not match your query terms.

Behavior & Output:
- Read-only, side-effect-free query of indexed document headings.
- Returns a JSON string `{outline, docs, truncated}` (or `{outline, truncated: true, hint}` when trimmed),
  where `outline` lists each heading level, title, and `[anchor]` ready for `atlas_read`.
atlas_tasksA

List design and development action items (- [ ] / - [x] checkboxes) extracted from all documentation sections.

Use this tool to inspect granular checklist items embedded in specs. To inspect numbered
high-level Work Orders (`Work Order N — ⬜ OPEN / ✅ DONE`), use `atlas_status` instead.

Behavior & Output:
- Read-only query over indexed Markdown checkboxes.
- Returns a JSON string `{count, tasks: [{anchor, path, line, text, owner, tag, done}]}` (plus `truncated: true` when trimmed).
atlas_linksA

Inspect a documentation section's relationships: linked source files (implements), tags, and sibling sections.

Use this tool to answer 'which code files implement this spec section?' or 'what other sections
belong to the same document as this anchor?'.

Behavior & Output:
- Read-only lookup against the local section index and frontmatter metadata (`implements`, `tags`).
- Returns a JSON string `{anchor, heading, path, implements, tags, siblings: [{anchor, heading}]}`
  or `{error, suggestions, hint}` if the anchor is unknown.
atlas_briefA

Assemble a self-contained Markdown task brief for a coding agent or subagent (for one Work Order, or the full open queue via all_open=True).

Use this tool before starting or delegating a feature task. Call `atlas_brief()` with no arguments to
automatically brief the next open (or `🚧` in-progress) Work Order, or pass `all_open=True` (`atlas next+`)
to generate a sequential execution queue for all open Work Orders.

Behavior & Output:
- Read-only aggregation of indexed documentation sections, Work Order steps, and code metadata.
- Returns a formatted Markdown brief string ready to follow or paste into a subagent prompt.
atlas_publishA

Append a new Work Order status entry to local Git documentation (docs/ARCHITECTURE.md) — gated by a code-wiring check and verified by read-back.

Use this tool as the FINAL step after tests pass to record a new Work Order in `docs/ARCHITECTURE.md`
(synced Google Docs remain read-only design sources by default). If the Work Order heading already exists
and you only need to flip `⬜ OPEN` to `✅ DONE`, use `atlas_set_status` instead.

Behavior & Output:
- Pre-write wiring gate: when `status='done'`, verifies that every symbol in `verify_symbols` (and
  `.atlas/wo-symbols.yml`) is both defined and referenced/called (`calls + references > 0`). If any
  symbol is dead code, returns `{written: false, refused: true, refusal: "..."}` without touching disk/network.
- Atomic verified write: appends the formatted status line, reads the document back to confirm presence,
  logs to `.atlas/mutations.log`, and returns `{written: true, verified: true, wo, line}`.
atlas_planA

Create a new ⬜ OPEN Work Order in local documentation, automatically linking the matching spec section (atlas_where), implements: files, and - [ ] checklist steps.

Use this tool when planning a new feature or breaking a user request into structured steps before coding.
Unlike `atlas_publish` (which records a finished result), `atlas_plan` assigns the next free Work Order
number, looks up the relevant spec anchor via BM25 search, and writes a checkable `- [ ]` step list.

Behavior & Output:
- Queries the documentation index for `topic`, attaches `Spec <anchor> (<path>:<line>)` and any `implements:` files.
- Writes `Work Order <N> — ⬜ OPEN (<topic>): ...` plus `- [ ] <step>` lines into `docs/ARCHITECTURE.md`.
- Pre-records `verify_symbols` in `.atlas/wo-symbols.yml` when provided.
- Returns JSON `{written, verified, wo, title, spec_anchor, spec_origin, implements, steps, line}`.
atlas_set_statusA

Flip the status marker of an existing Work Order (⬜ OPEN <-> ✅ DONE) or Markdown checkbox task (- [ ] <-> - [x]) in local Git documentation (docs/ARCHITECTURE.md).

Use this tool as the final step when completing an existing open Work Order (`wo=N`) or a checkbox
step (`task='...'`). Legacy GDD-only Work Orders are automatically promoted into `docs/ARCHITECTURE.md`
without mutating read-only Google Docs. To append a brand-new Work Order entry, use `atlas_publish` instead.

Behavior & Output:
- Pre-write wiring gate: when `status='done'`, checks that all symbols in `verify_symbols` (and
  `.atlas/wo-symbols.yml`) are defined and have at least one caller/reference. Refuses with
  `{changed: false, refused: true, refusal: "..."}` if any symbol is unwired.
- Verified local update: updates the status marker or checkbox in `docs/ARCHITECTURE.md`, verifies
  by reading back from disk, and returns JSON `{changed, verified, status}`.
atlas_sheet_updateA

Update specific cells of an existing spreadsheet row by row_key and column header name (never by cell coordinate).

Use this tool to modify balancing values, implementation markers, or metadata in an existing row.
To add a brand-new row to a tab, use `atlas_sheet_append`. If unsure of tab names, call `atlas_sheets` first.

Behavior & Output:
- Resolves the exact cell range from `row_key` + header names, preventing off-by-one row overwrites.
- If a column name is unknown, aborts without writing and returns the list of valid column headers.
- Returns JSON `{ok, sheet, tab, row, key, changes, verified, resynced, dry_run}` and refreshes the local search index.
atlas_sheet_appendA

Append a new row to a spreadsheet tab by mapping column header names to values.

Use this tool when adding a new entry (e.g. a new unit, item, or parameter row) to a bound spreadsheet.
To modify cells of an existing row, use `atlas_sheet_update` instead.

Behavior & Output:
- Not idempotent: each non-dry-run call appends a new row at the bottom of the table and verifies it by read-back.
- Validates all keys in `values` against the tab's header row before writing.
- Returns JSON `{ok, sheet, tab, values, range, verified, resynced, dry_run}` and updates the local search index.
atlas_sheetsA

List all spreadsheets bound to the project along with their worksheet tab names.

Takes no parameters. Call this tool before `atlas_sheet_update` or `atlas_sheet_append`
whenever you need to discover the exact `sheet` name/ID or valid `tab` names.

Behavior & Output:
- Read-only metadata lookup; returns spreadsheet and tab names without dumping cell contents.
- Returns JSON `{spreadsheets: [{name, id, tabs: [...]}]}` or `{spreadsheets: [], hint: "..."}`
  when no spreadsheet has been synced yet.
atlas_code_findA

Locate function or class definitions across the codebase (file, line, signature, and optional body) and inspect call sites.

Use this tool BEFORE reading source files to find where a symbol lives (~30 tokens per signature vs.
thousands of tokens for a full file), set `include_body=True` to read just that function's implementation,
or set `usage=True` to check if a symbol is actually called before marking a task done. Supports GDScript
(`.gd`/`.tscn`), Python, TypeScript/JavaScript, Rust, C#, Go, Java, Kotlin, and Swift.

Behavior & Output:
- Read-only static scan of project source files; ignores build directories and `.atlas/`.
- Returns a formatted summary of matching definitions (`path:line — signature`), optional function body,
  and, when `usage=True`, the caller/reference count and file:line call sites for each symbol.
atlas_lintA

Audit indexed documentation for structural and formatting problems that degrade retrieval quality.

Takes no parameters. Checks managed documentation for duplicate headings, heading level jumps,
empty headings/sections, oversized sections (>5,000 chars), TOC navigation lines, export escapes,
and Work Orders missing a status marker (`⬜`/`🚧`/`✅`). Use this tool after editing documentation
or running `atlas init`.

Behavior & Output:
- Read-only structural check; respects `.atlas/managed.json` (separating managed docs from legacy discovered docs).
- Returns a JSON string `{ok, sections, counts, issues, managed_issues, discovered_issues, truncated}` detailing each issue by file and line.
atlas_statusA

Return the complete list of documented Work Orders (⬜ OPEN, 🚧 IN PROGRESS, ✅ DONE) and index freshness.

Call with no parameters for a fast read-only progress overview (with local `docs/ARCHITECTURE.md`
authoritative over read-only GDD cache), or pass `reconcile=True` to consolidate unindexed audit-log
and legacy GDD Work Orders into `docs/ARCHITECTURE.md` in one step.
For granular Markdown checkboxes (`- [ ]`), use `atlas_tasks` instead.

Behavior & Output:
- Queries all Work Order headings/entries in the index (up to 60 orders).
- Returns a human- and agent-readable summary starting with the index freshness timestamp,
  total counts (`done` / `open`), and one line per Work Order (`WO # — status — title (anchor)`).

Prompts

Interactive templates invoked by user choice

NameDescription
atlas_onboardLoad the project documentation outline, Work Order progress, and open checkbox tasks in one step so a fresh agent session has complete context without reading raw files.
atlas_task_briefAssemble a self-contained task brief with relevant documentation sections, linked source files, guardrails, and the verified Work Order closing step.
atlas_pre_commit_auditVerify that all symbols recorded for completed Work Orders remain defined and called, and audit documentation structure before committing or closing a task.

Resources

Contextual data attached and managed by the client

NameDescription
resource_outlineFull document structure as text.

TDQS

A4.1/5.0

Scored across 16 tools

Disambiguation4/5

The read path (atlas_where → atlas_search → atlas_read → atlas_outline) and the Work Order write path (atlas_plan / atlas_publish / atlas_set_status) are heavily overlapping in surface, but the descriptions explicitly cross-reference each other and state when to prefer which. The closest pair is atlas_plan vs atlas_publish, both of which append a new Work Order line to ARCHITECTURE.md, distinguished only by 'planning vs recording a finished result'. atlas_tasks vs atlas_status is clearly separated by the checkbox/work-order distinction.

Naming Consistency4/5

All tools use a consistent snake_case `atlas_` prefix, which makes the family obvious. However, the suffix convention mixes bare nouns (atlas_where, atlas_links, atlas_tasks, atlas_status, atlas_outline, atlas_brief, atlas_sheets) with verb_noun forms (atlas_code_find, atlas_sheet_append, atlas_set_status), and atlas_sheet_* vs atlas_sheets is slightly irregular. Minor deviations only; names remain readable and predictable.

Tool Count4/5

16 tools is at the upper edge of comfortable, but they cluster into four coherent sub-areas (doc retrieval, Work Order lifecycle, code symbol lookup, spreadsheet sync), each with a small earned set. No single tool looks redundant with a duplicate in the same sub-area. A slightly smaller surface (e.g. folding atlas_links or atlas_lint) would be tidier.

Completeness3/5

Retrieval, status, and spreadsheet-append/update are well covered, but the write surface is one-directional: there is no tool to delete or retract a Work Order, task, or appended spreadsheet row, and no tool to edit documentation body text (only status markers and appends). Spreadsheets can be listed and written to but not read back cell content directly, leaving a gap for agents verifying state.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues