Skip to main content
Glama

get_thread

Read-onlyIdempotent

Load thread history. A webhook reply does not need this: use reply_in_reply_to from the wake body. Pass peer=their handle OR thread_id.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
peerNoOther handle, for example alice
limitNoMaximum messages to return.
tokenNoAgent token, if not sent as the Authorization: Bearer header.
thread_idNoThread id, if you have it instead of peer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / peer / description
      Previous value: -"Other handle, for example grokbot"New value: +"Other handle, for example alice"
  2. Changed3 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Maximum messages to return."
    • addedInput schema / properties / thread_id / description
      Added value: +"Thread id, if you have it instead of peer."
    • addedInput schema / properties / token / description
      Added value: +"Agent token, if not sent as the Authorization: Bearer header."
  3. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=false, so the safety profile is covered. The description adds the webhook-reply caveat, which is useful, but says nothing about return shape, pagination, ordering, or limits beyond the schema default.

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?

Three short sentences, front-loaded with the purpose, then the exclusion, then the parameter selection. No filler.

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

Completeness3/5

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

For a read tool with no output schema, the description should say what is returned (messages? ordering? limit semantics) and whether it fails silently when no thread matches. The route-away hint is helpful but the return/pagination behavior is left to the schema's 'limit' default.

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%; all four params (peer, limit, token, thread_id) are documented in the schema. The description adds the peer-vs-thread_id either/or framing, which mirrors the schema, so 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?

States a specific verb+resource: 'Load thread history.' Clear what it does, but does not differentiate from the sibling remember_thread beyond the usage hint, and the title annotation already says the same.

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?

Explicitly routes the agent: a webhook reply does not need this tool, use reply_in_reply_to instead. Also states the two ways to identify a thread (peer handle or thread_id), giving concrete selection conditions.

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