Skip to main content
Glama

Sendbird MCP by usefulapi

List messages

sendbird_list_messages
Read-only

List messages in a channel, anchored at a timestamp or message id. Provide EITHER message_ts (unix ms) OR message_id. Platform API: GET /{channel_type}/{channel_url}/messages. Returns { messages[] }.

Input Schema

NameRequiredDescriptionDefault
includeNoInclude the anchor message itself.
reverseNoReturn in reverse chronological order.
user_idsNoComma-separated sender user ids to filter on.
message_idNoAnchor message id. Provide this OR message_ts.
message_tsNoAnchor timestamp in unix milliseconds. Provide this OR message_id.
next_limitNoNumber of messages after the anchor, 0-200.
prev_limitNoNumber of messages before the anchor, 0-200.
channel_urlYesChannel URL (percent-encoded automatically).
channel_typeYesChannel type: group_channels (member-based) or open_channels (public, participant-based).
custom_typesNoComma-separated message custom types to filter on.
message_typeNoFilter by message type: MESG (text), FILE, or ADMM (admin).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The readOnlyHint annotation already covers the safety profile, so the bar is lower. The description adds incremental behavior: the mutual exclusivity of the anchor parameters, the underlying endpoint shape, and that the result is a { messages[] } payload. It does not explain pagination behavior (how next_limit/prev_limit interact), ordering defaults, or the include/reverse interactions.

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 tight sentences, front-loaded with purpose, then the anchor rule, then the endpoint/return shape. No filler and nothing buried.

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?

With 11 parameters fully documented in the schema and a read-only annotation, the description only needs to orient the agent, which it does. The main residual gap is that no output schema exists and the return description is minimal ('{ messages[] }'), so nothing explains the shape of individual message entries.

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 schema already documents all 11 parameters including the anchor alternatives and enum meanings. The description restates the message_ts/message_id exclusivity and unit (unix ms) but adds nothing about the pagination limits or filters. Baseline 3 is appropriate when the schema carries the parameter burden.

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 gives a specific verb+resource+scope ('List messages in a channel') and adds the anchoring concept, so an agent immediately knows what the tool does. It never names or contrasts a sibling tool, but the resource is distinct enough from send_message/list_users that confusion is unlikely.

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 states one important usage rule clearly: 'Provide EITHER message_ts (unix ms) OR message_id.' That is a real constraint on invocation, but there is no guidance on when to use this tool versus other ways of retrieving messages, and no mention of prerequisites such as channel membership or permissions.

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.