Skip to main content
Glama

Read a Ranla thread

ranla_get_thread
Read-only

Read a Ranla thread: its messages (role, text, tools used, artifacts by id, approvals waiting on ranla_approve), newest page first. Pass earlierBefore as before for older messages.

Input Schema

NameRequiredDescriptionDefault
beforeNoISO timestamp from earlierBefore: the page of messages older than it.
threadIdYesFrom ranla_list_threads or ranla_open_thread.

Output Schema

NameRequiredDescriptionDefault
threadYes
messagesYesOldest first within the page
earlierCountNoMessages older than this page
earlierBeforeNoPass as before for the page of older messages; null when there are none

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/non-open-world, so the safety profile is covered. The description adds real behavior beyond that: results are ordered newest page first and older pages are reached via the before cursor, plus it surfaces that approvals appear inline and route to ranla_approve.

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?

A single dense sentence front-loads the verb and resource, the parenthetical enumerates content, and the trailing clause covers pagination. No filler and nothing misplaced.

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?

For a two-parameter read tool with an output schema, the description covers what the thread holds, the ordering, and how to page backward, so an agent has what it needs. Only explicit sibling routing and any auth/permission notes are missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema does not fully convey by tying the output field earlierBefore to the input parameter before, clarifying the pagination contract between the two fields.

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?

States a specific verb ('Read') and resource ('a Ranla thread') and enumerates what the thread contains (role, text, tools used, artifacts by id, approvals). An agent can distinguish it from a list tool, though it never explicitly names ranla_list_threads or ranla_open_thread as alternatives.

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

Usage Guidelines3/5

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

It gives pagination guidance ('Pass earlierBefore as before for older messages') which is useful procedural context. However, it never says when to reach for this tool over ranla_list_threads or ranla_open_thread, so selection between siblings is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources