Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DOCS_DIRNoPath to the folder of Markdown documentation to index. Alternatively, the path can be passed as a positional command-line argument (e.g. `node dist/index.js /path/to/docs`). If neither is provided, the server serves `./corpus`../corpus

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
list_documentsA

List every indexed markdown document with its title and number of sections.

search_docsA

BM25 keyword search over documentation sections. Returns section ids usable with read_section.

read_sectionA

Return the full text of one section by id, e.g. 'query-params.md#defaults'.

answer_questionA

Retrieve the top-k sections for a question and answer with numbered citations. Uses MCP sampling when the client supports it; otherwise returns the grounded context for the caller's model.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation4/5

List, search, and read operate on clearly different granularities (corpus, section index, single section) and are easy to distinguish. answer_question is a composite that overlaps with search_docs for retrieval, but its citation/synthesis behavior makes its niche clear enough.

Naming Consistency5/5

All four tools use a consistent verb_noun snake_case pattern (list_documents, search_docs, read_section, answer_question). Verb choices map predictably to the operation performed.

Tool Count5/5

Four tools is a tight, well-scoped surface for a read-only documentation search server. Each tool covers a distinct retrieval step and none feels redundant or missing.

Completeness4/5

The discover-search-read-answer lifecycle is fully covered for a read-only docs server. Minor gaps exist (no document-level metadata fetch or stats beyond section count, no filtering by path/tag), but agents can work around these with search_docs.