RLM MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| rlm_load_contextA | Load text content into the RLM session for processing. This is typically the first step in RLM processing. Load your long context here, then use other tools to decompose, search, and analyze it. The context is stored in the session and can be referenced by its ID in other tools. Example workflow:
|
| rlm_get_context_infoA | Get metadata and preview of a loaded context. Returns:
Use this to understand the context before deciding how to process it. |
| rlm_read_contextA | Read a specific portion of the context. Modes:
Use this to examine specific sections without loading the entire context. |
| rlm_decompose_contextA | Split context into chunks using various strategies. Strategies:
Returns chunk metadata (indices, offsets). Use rlm_get_chunks to retrieve content. |
| rlm_get_chunksA | Retrieve content of specific chunks by index. Use after rlm_decompose_context to get the actual content of chunks you want to process. You can request multiple chunks at once (up to 50). |
| rlm_search_contextA | Search context using regex patterns. Returns matches with surrounding context and line numbers. Use this to find relevant sections before reading in detail. Examples:
|
| rlm_find_allA | Find all occurrences of a substring (faster than regex for simple searches). Returns character offsets of all matches. |
| rlm_execute_codeA | Execute JavaScript code in the session's REPL environment. Available functions:
Use this for custom data manipulation and aggregation. |
| rlm_set_variableA | Store a variable in the session for later use. Use this to save intermediate results during RLM processing. |
| rlm_get_variableA | Retrieve a variable from the session. |
| rlm_set_answerA | Set or update the answer for the current RLM task. Call this to build up your answer incrementally:
The answer can be retrieved later with rlm_get_answer. |
| rlm_get_answerA | Get the current answer state. Returns the content and whether it's marked as ready/complete. |
| rlm_create_sessionA | Create a new isolated RLM session. Use this when you need multiple independent processing contexts. Most use cases can use the default session. |
| rlm_get_session_infoA | Get information about a session including loaded contexts and variables. |
| rlm_clear_sessionA | Clear all data from a session (contexts, variables, history). |
| rlm_suggest_strategyA | Get a suggested decomposition strategy based on the context's structure. Analyzes the content type and size to recommend the best chunking approach. |
| rlm_get_statisticsB | Get detailed statistics about a context. Returns length, line/word/sentence/paragraph counts, and averages. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/win10ogod/RLM-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server