Skip to main content
Glama
agy-session-search

agy-session-search

by ctx-o1

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AGY_BRAIN_DIRSNoReplace the default scan directories. Environment paths use `;` on Windows and `:` elsewhere. Default scan directories are `~/.gemini/antigravity/brain/` and `~/.gemini/antigravity-cli/brain/`.
AGY_SEARCH_ENGINENoChoose SQLite FTS5 or pure-JavaScript BM25. Values: `sqlite` or `memory`. SQLite is the default, with automatic fallback to memory.
AGY_SESSION_SEARCH_DBNoSet the SQLite cache path, or `:memory:` for a nonpersistent index.

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 publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_sessionsA

Full-text BM25 search across local Google Antigravity chat sessions, transcripts, and markdown artifacts. Supports keywords, "exact phrases", prefix*, and project/date/role filters. Excludes noisy tool outputs by default unless include_tools=true.

list_sessionsA

List recent Google Antigravity chat sessions with their title, inferred project/workspace, timestamps, turn count, and artifact names.

read_sessionA

Read a slice of turns/steps from a specific Antigravity session. Defaults to 11 steps, with at most 101 per call. Use around_step (from a search hit) or start_step/end_step. Continue with start_step set to the last returned step + 1.

read_artifactB

List or read markdown artifacts (such as implementation_plan.md, task.md, walkthrough.md) saved inside an Antigravity session.

reindex_sessionsA

Incrementally sync (or force rebuild) the local Antigravity session search index and return index statistics.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool occupies a distinct slot in the workflow: enumerate (list_sessions), maintain the index (reindex_sessions), query (search_sessions), read transcript content (read_session), and read attached markdown files (read_artifact). The only near-pair, read_session vs read_artifact, is clearly separated by the descriptions (turns/steps vs markdown artifacts). No two tools could plausibly be swapped for the same task.

Naming Consistency5/5

All five names follow a strict snake_case verb_noun pattern (list_, reindex_, search_, read_, read_) with the shared 'session(s)'/'artifact' domain nouns. Verb choices accurately reflect the operation type, making the pattern predictable for an agent.

Tool Count5/5

Five tools is a tight, well-earned surface for a session search server: one to index, one to browse, one to search, and two to read results at different granularities. Nothing is redundant and nothing feels padded.

Completeness4/5

The lifecycle is covered end-to-end: build/refresh the index, list sessions, search, then drill into turns and artifacts, including pagination guidance for long transcripts. Minor gaps exist — no direct fetch of a single session's metadata by id, no cross-session artifact listing, and no index cleanup/delete — but these are workaroundable via search and list.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues