Skip to main content
Glama

Get Specific Chunks

rlm_get_chunks
Read-onlyIdempotent

Retrieve the actual content of specific chunks from a decomposed context, enabling targeted processing after segmentation.

Instructions

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).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
overlapNoSame overlap used in decompose
strategyNoSame strategy used in decomposefixed_size
chunk_sizeNoSame chunk_size used in decompose
context_idNoContext identifiermain
session_idNoSession ID
chunk_indicesYesIndices of chunks to retrieve
Behavior4/5

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

Annotations already declare the tool read-only, idempotent, and non-destructive. The description adds useful behavioral context by mentioning the 50-chunk limit and the dependency on a prior decompose step, enriching the agent's understanding beyond the annotations.

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 two sentences, with the primary action front-loaded and no wasted words. It is concise and well-structured.

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

Completeness4/5

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

Given the 100% schema description coverage and clear annotations, the description covers the essential usage context and the batch limit. It could have mentioned error behaviors for invalid indices, but overall it is sufficiently complete for a straightforward read-only retrieval tool.

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 baseline is 3. The description does not add additional parameter semantics beyond what the schema already provides; it merely references the batch limit, which is reflected in the schema's maxItems constraint.

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 retrieves content of specific chunks by index, which is a specific action on a specific resource. It distinguishes itself from sibling tools like rlm_get_context_info and rlm_read_context by focusing on chunk-level content retrieval after decomposition.

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

Usage Guidelines4/5

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

The description explicitly says to use this tool after rlm_decompose_context to get actual chunk content for processing. It provides clear context for when to use the tool, though it does not explicitly list when not to use it or name 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