Skip to main content
Glama

thread

Read-only

Fetches the next messages (default 5) after a given message ID in a session as search lines, so you can continue from the last ID.

Instructions

The next n messages (default 5) after message id in its session, as search lines. Continue from the last id.

Input Schema

NameRequiredDescriptionDefault
nNo
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context by stating the default n=5, session scoping, and continuation pattern, but it does not explain what happens at the end of a thread or any other edge case.

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 short sentences with no wasted words. The core behavior and pagination guidance are front-loaded and easy to parse.

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 simple two-parameter read tool with annotations covering safety, the description gives enough to call it correctly: purpose, default, session scope, and continuation. The phrase 'as search lines' is slightly vague about the exact return format, but no output schema exists and the core semantics are present.

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 description coverage is 0%, so the description must carry parameter meaning. It explains that n is the number of messages (default 5) and that id is the message id to continue after, compensating well for the schema gap, though it omits the schema's 1–30 bounds.

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 resource and scope: the next n messages after a given message id within its session. It is clear enough to distinguish from a broad search, though it does not explicitly name or contrast with siblings like search or read_message.

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 one concrete usage instruction: 'Continue from the last id,' which explains pagination behavior. However, it does not say when to use this tool versus search, view, or read_message, nor does it state any exclusions.

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