Skip to main content
Glama

rlm_start

Start an RLM exploration session to search or analyze a codebase directory with a query, returning session limits and available functions for controlled exploration.

Instructions

Start an RLM exploration session. Returns session_id, metadata, limits, and available functions. Set include_guidance=true to include strategy/example coaching text.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>",
      "query": "<query>"
    },
    "name": "rlm_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path to the directory to explore
queryYesWhat you want to find or analyze
max_llm_callsNoMaximum model calls (llm_query, rlm_recurse, and evidence gate) for this session
include_guidanceNoInclude strategy/example guidance text in the response (larger payload)
include_metadataNoScan directory and include file counts/types in response (default false for faster startup)
max_memory_bytesNoMaximum in-memory bytes retained for this session
max_output_charsNoMax characters per execute output
max_execute_callsNoMaximum rlm_execute calls for this session
execution_timeout_secondsNoPer-rlm_execute timeout in seconds

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.3
    • changedInput schema / properties / include_metadata / default
      Previous value: -trueNew value: +false
    • changedInput schema / properties / include_metadata / description
      Previous value: -"Scan directory and include file counts/types in response (set false for faster startup)"New value: +"Scan directory and include file counts/types in response (default false for faster startup)"
    • changedInput schema / properties / max_llm_calls / description
      Previous value: -"Maximum llm_query/llm_query_batched calls for this session"New value: +"Maximum model calls (llm_query, rlm_recurse, and evidence gate) for this session"
    • addedInput schema / properties / max_memory_bytes
      Added value: +{
      +  "default": 10000000,
      +  "description": "Maximum in-memory bytes retained for this session",
      +  "maximum": 100000000,
      +  "minimum": 1024,
      +  "title": "Max Memory Bytes",
      +  "type": "integer"
      +}
  2. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions return handles and optional guidance text, but omits session lifecycle and side effects such as whether the session must be ended, whether resources are allocated, and how limits are enforced. It also says metadata is returned while include_metadata defaults to false, creating ambiguity about default behavior.

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 three short sentences: purpose first, then return values, then the key optional flag. There is no filler, and the important information is front-loaded.

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

Completeness2/5

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

This is a stateful nine-parameter session-start tool with no annotations. Although the schema and output schema are rich, the description lacks workflow context connecting the returned session_id to rlm_execute and the need to close the session with rlm_end. The agent is left to infer the session lifecycle.

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 coverage is 100%, so the schema already documents all nine parameters. The description only explains include_guidance and largely duplicates the schema wording; it adds no meaning for parameters like max_llm_calls or execution_timeout_seconds. A baseline 3 is appropriate.

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

Purpose4/5

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

The description states a specific verb and resource: 'Start an RLM exploration session.' It also names key return handles and the include_guidance option. However, it does not explicitly distinguish this tool from rlm_end or rlm_execute beyond the word 'Start', so it falls short of a 5.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance, prerequisites, or alternatives. It only explains how to request guidance text; it does not tell the agent to call this before rlm_execute, when a session is appropriate, or when not to start one.

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

Deploy Server

Other Tools