Skip to main content
Glama

Get Thread Messages Tool

get_thread_messages

Get the messages in one inbox thread (visitor), oldest first. Returns the most recent messages by default; use offset with has_older to page back through long threads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax messages per page (default 100, max 200).
offsetNoSkip this many of the most recent messages to page further back (default 0).
chatbot_idYesThe chatbot id.
visitor_idYesThe thread/visitor id (from list_inbox_threads).

TDQS

A4.2/5.0
Behavior3/5

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

No annotations provided, so description carries full burden. Discloses ordering and pagination behavior but mentions 'has_older' which is not in schema and does not describe error handling, rate limits, or auth requirements.

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?

Two sentences with zero waste. Front-loads the purpose and then provides pagination guidance efficiently.

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?

Adequately covers core functionality and pagination for a read tool. Could mention response format or limitations of offset/limit, but overall complete given no output schema.

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%, baseline 3. Description adds meaning beyond schema: explains offset skips most recent messages, limit is max per page, and visitor_id comes from list_inbox_threads.

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?

Describes the tool with specific verb 'Get', resource 'messages in one inbox thread (visitor)', and ordering 'oldest first'. Distinguishes from sibling tools like list_inbox_threads which list threads, not messages.

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?

Provides clear guidance on default behavior (returns most recent messages) and how to paginate (use offset with has_older). However, does not explicitly compare with alternatives or state when not to use.

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.

TDQS

A3.8/5.0
Disambiguation5/5

Each tool targets a distinct resource and action (sources, suggested messages, chatbots, inbox, leads, analytics, insights). There is no ambiguity between tool purposes.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (add_, get_, list_, recrawl_, update_). The naming convention is uniform and predictable.

Tool Count5/5

15 tools is well-scoped for a chatbot manager. The set covers all key functional areas without being excessive or insufficient.

Completeness3/5

The tool surface is largely complete but lacks delete operations: there is no 'remove_suggested_message' (though referenced in a description) and no way to delete a source. These are notable gaps.

Resources