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
rlm.session.createB

Create a new RLM session for processing large contexts.

Args: name: Human-readable session name config: Session configuration (max_tool_calls, max_chars_per_response, etc.)

rlm.session.infoB

Get session statistics and configuration.

Args: session_id: Session ID to query

rlm.session.closeB

Mark session complete and persist index metadata.

Args: session_id: Session ID to close

rlm.docs.loadC

Load documents into the session context.

Args: session_id: Session to load into sources: List of source specs (type, path, content, etc.)

rlm.docs.listC

List documents in session.

Args: session_id: Session to query limit: Max documents to return offset: Pagination offset

rlm.docs.peekA

View a portion of a document. Enforces max_chars_per_peek.

Args: session_id: Session containing document doc_id: Document ID to peek start: Start offset (inclusive) end: End offset (exclusive), -1 for end of doc

rlm.chunk.createB

Chunk a document using a specified strategy.

Args: session_id: Session containing document doc_id: Document ID to chunk strategy: Chunking strategy (type, chunk_size, line_count, delimiter, overlap)

rlm.span.getC

Retrieve the content of one or more spans. Enforces max_chars_per_response.

Args: session_id: Session containing spans span_ids: List of span IDs to retrieve

rlm.search.queryC

Search documents. BM25 index is lazy-built on first use.

Args: session_id: Session to search query: Search query string method: Search method (bm25, regex, literal) doc_ids: Optional list of doc IDs to limit search limit: Max matches to return context_chars: Characters of context around each match

rlm.artifact.storeA

Store a derived artifact with provenance.

Args: session_id: Session to store artifact in type: Artifact type (summary, extraction, classification, custom) content: Artifact content span_id: Optional span ID for provenance span: Optional span reference (doc_id, start, end) - creates span if needed provenance: Optional provenance metadata (model, prompt_hash)

rlm.artifact.listA

List artifacts for a session or span.

Args: session_id: Session to query span_id: Optional span ID filter type: Optional type filter

rlm.artifact.getB

Retrieve artifact content.

Args: session_id: Session containing artifact artifact_id: Artifact ID to retrieve

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/adrianwedd/rlm-mcp'

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