atlas_status
Inspect local vector index health, staleness, and indexed repos/languages to diagnose search problems and decide if a reindex is needed.
Instructions
Get diagnostic metadata and health status of the local vector index.
Use this only for explicit diagnostics (e.g. the user asks about index health,
staleness, or which repos/languages are indexed) or to decide whether atlas_index
should be run. It is NOT a precondition for atlas_search/atlas_brief — call those
directly; they raise an actionable error themselves if the index is missing.
Never indexes anything itself.
Returns:
JSON string with index_exists, total_chunks, repos_indexed,
languages_indexed, embedding_model, embedding_backend, storage_backend,
index_path, index_resolution (how the index directory was resolved:
"cli-arg" | "env" | "discovery" | "editor-project-dir" | "roots" |
"roots-fallback" | "editor-project-dir-fallback" | "cwd-fallback" — useful to
diagnose client misconfiguration when index_exists is unexpectedly false),
last_indexed_at,
git_head_sha, is_stale (true when the indexed git HEAD differs from the
workspace's current HEAD), and reindexing (true when another process
currently holds the reindex lock for this index).
Also `resolution_coverage`: which languages had their imports resolved and
how. Either `{scip: [...], treesitter: [...], none: [...], files_unresolved: N}`
— each language in exactly one tier, `none` meaning "indexed and searchable,
but mute about how it connects" — or `{status: "unknown", reason:
"index_version_below_2_2_0"}` for an index built before 2.2.0. Never trust an
absent tier as "nothing to resolve".
And `watch`: whether this server is watching the workspace for changes —
"active" (watching; edits trigger an incremental reindex after a debounce),
"disabled" (ATLAS_WATCH not set — the default), "unavailable" (ATLAS_WATCH
set but the optional `watchdog` dependency is not installed) or "failed"
(the observer could not start; see stderr). Only "active" means the index
keeps itself current while the server runs.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |