Skip to main content
Glama

Load Context

rlm_load_context
Idempotent

Load long text content into a session for RLM processing. Store it with a context ID to enable decomposition, search, and analysis.

Instructions

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:

  1. rlm_load_context - Load your document

  2. rlm_get_context_info - Understand structure and size

  3. rlm_decompose_context - Split into manageable chunks

  4. rlm_search_context - Find relevant sections

  5. rlm_read_context - Read specific portions

  6. rlm_set_answer - Build up your response

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contextYesThe text content to load
context_idNoUnique identifier for this context (default: "main")main
session_idNoSession ID. If not provided, uses default session
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already disclose idempotency and non-destructiveness. The description adds valuable behavioral context on top: the context is stored in the session and can be referenced by its ID, which is not apparent from the annotations. It also implies session-scoped state, which is useful for the agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured and front-loaded with the core purpose. The example workflow is concise and each step adds strategic context, helping the agent understand sequencing without being verbose or redundant. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's simplicity and the rich annotations/schema, the description is complete. It explains the tool's role, session storage, and integration with other tools. No output schema is needed, and the description covers all essential operational context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents all three parameters. The description adds little beyond the schema, only mentioning that context can be referenced by its ID (which maps to context_id). No additional parameter semantics are provided, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function with a specific verb+resource: 'Load text content into the RLM session for processing.' It also distinguishes itself from sibling tools by positioning it as the typical first step in RLM processing, which is a unique role.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use guidance: 'This is typically the first step in RLM processing.' It also gives a concrete numbered workflow showing how rlm_load_context fits with other tools, making it clear when to use this tool versus alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/win10ogod/RLM-MCP'

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