Recursive Language Model MCP server that handles 10M+ token contexts by treating them as external variables. Based on MIT research (arxiv 2512.24601).
RLM server has well-structured tool definitions with complete schemas and descriptions for all 9 tools. Naming follows verb_noun convention (rlm_load_context, rlm_inspect_context, etc.). All tools have descriptions (avg ~120 chars) and input schemas with typed parameters. However, output schemas are not documented, LLMs cannot predict return structure. Error handling is minimal; tools lack recovery guidance. Parameter descriptions are adequate but lack format constraints (e.g., chunk_size bounds, provider enum rationale). Security concerns: rlm_exec allows arbitrary Python execution despite sandbox claims; blocked imports list is incomplete (missing 'eval', 'compile', 'globals', 'locals'). No pagination support for list_contexts despite potential for large result sets.
Split a loaded context into chunks for parallel processing. Supports chunking by lines, tokens, or sentences.
Delete a loaded context from memory and disk storage.
Execute sandboxed Python code with access to loaded contexts. Blocked imports prevent file system, network, and process access.
Retrieve a specific chunk from a chunked context by index.
Get metadata about a loaded context without loading the full content into memory. Returns size, line count, and hash.
List all loaded contexts with their metadata.
Load a large text context into external storage for recursive processing. Stores content on disk and in memory for sub-queries.
Output schemas not documented. LLMs cannot predict return structure for any tool. rlm_sub_query, rlm_sub_query_batch, rlm_chunk_context, rlm_get_chunk, rlm_list_contexts all lack documented return types.
rlm_exec sandbox is incomplete. Blocked imports list missing 'eval', 'compile', 'globals', 'locals', 'vars', 'dir', 'getattr', 'setattr', 'delattr', all enable code execution or introspection bypasses. Regex-based import checking is fragile (e.g., 'import os as operating_system' bypasses check).
No error handling guidance. Tools lack recovery hints. E.g., rlm_sub_query fails silently on invalid provider; rlm_chunk_context fails on invalid strategy without suggesting valid options. No actionable error messages.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2026-07-28+ | v2 |
Execute a sub-query against a loaded context using a specified LLM provider. Supports recursive depth limiting.
Execute multiple sub-queries in parallel against different chunks of a context.
Parameter constraints missing. chunk_size has no min/max bounds (could be 0 or 1M+). max_depth unbounded. No format validation for context 'name' parameter (could contain path traversal like '../../../etc/passwd').
rlm_list_contexts lacks pagination. No limit/offset parameters. Could return unbounded results, exhausting context window. Baseline: production tools cap list results at 20-50 items.