Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
index_repoA

Ingest a repository and build the hybrid (dense + BM25) index.

Args: path: absolute path to the repo root to index.

statusA

Report index size and the active embedding backend.

search_codeA

Search the indexed codebase and return the top matching definitions.

Args: query: natural-language or keyword query. k: number of results. hybrid: True = dense + BM25 fusion; False = dense only. rerank: True = retrieve a wide pool and reorder with a cross-encoder (higher precision, slower; needs the [embeddings] extra).

get_contextA

Retrieve a ready-to-cite context bundle for answering a question.

Returns the source of the top matches (reranked by a cross-encoder when rerank=True, plus one-hop call-graph neighbors when expand_graph=True) with file:line citations, so the client model can answer grounded and cite spans.

impact_radiusA

Given a chunk id (from search results), list callers — the blast radius.

Args: chunk_id: id like 'pkg/mod.py::ClassA.method' (the qualname shown in results).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/azraf122312/RepoSage'

If you have feedback or need assistance with the MCP directory API, please join our Discord server