RLM-MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 12 tools
Each tool targets a distinct resource (artifact, chunk, doc, session, span) and action, with clear descriptions. No ambiguity between tools.
All tools follow a consistent `rlm.<resource>.<action>` dot-separated pattern, improving predictability for agents.
12 tools cover the necessary operations for a document processing server without being excessive or insufficient.
The tool set covers core lifecycle operations (session creation/close, document loading/peeking, artifact storage/retrieval, search), but lacks delete or update operations for several resources, which may be intentional but limits completeness.