Skip to main content
Glama

List DM conversations

list_conversations
Read-onlyIdempotent

Lists the social media DM conversations of a brand in the replient.ai inbox, one row per conversation with its contact, status, read state, sentiment, team and AI tags, the latest automation run, the team member it is assigned to, the number of team notes and the message facts (first and last message, last brand and last contact message, message count). Ordered by the time of the last message (rows without messages by creation time), newest first by default. With updatedSince, rows are ordered by updatedAt instead, for incremental sync; it also matches conversations assigned or given a team note since then. search matches contact names, message texts and team tags; without "from", search looks back 90 days. include=contact adds the contact picture, opt-in and contact tags; include=lastMessage adds the newest message (MCP: contact and lastMessage always); include=notes the latest 5 team notes per row (limit at most 100). Messages of one conversation: list_messages. Needs the Inbox in the brand plan. Reading never marks a conversation as read. get_account lists the brands and the usage guide.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "brand": "<brand>"
    },
    "name": "list_conversations"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly conversations whose last message is at or before this time; a plain date covers the whole day.
fromNoOnly conversations whose last message is at or after this time.
readNotrue: only read conversations; false: only unread ones.
tagsNoTeam or AI tags; matches conversations that carry all of them.
brandYes
limitNo
orderNodesc
cursorNo
searchNo
statusNoall
includeNo
assigneeNo"me": conversations assigned to the calling user. "unassigned": assigned to nobody (or to someone who left the team). Or a team member's user id or name: assigned to them.
hasNotesNotrue: only conversations with team notes; false: only those without.
languageNoISO language codes, e.g. ["de", "en"]: conversations with at least one message in one of them.
timeZoneNo
contactIdNoOnly conversations with this contact.
mentionedNo"me" or a team member's user id or name: conversations with a team note that mentions that person.
platformsNo
sentimentNo
assignedByNo"me" or a team member's user id or name: conversations that person assigned (to anyone on the team).
channelIdsNoOnly these channels (get_account sources).
automationIdNoOnly conversations in which this automation ran.
updatedSinceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already establish read-only/idempotent/non-destructive, but the description adds genuinely non-obvious behavior: reading never marks a conversation as read, ordering falls back to creation time for rows without messages, updatedSince also matches conversations assigned or noted since then, and include=notes is capped at 100. It also discloses the MCP-specific override that contact and lastMessage are always included, which the schema does not say.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and row shape, then ordering, then filters/includes, then alternatives — a sensible priority order. The field enumeration is long and runs as a single clause-heavy sentence, but since there is no output schema that inventory earns its place.

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 no output schema, the description correctly compensates by describing the row payload, ordering, and incremental-sync behavior, plus a plan prerequisite and cross-tool routing. The remaining gap is paging and filtering semantics for roughly half the parameters, which neither the schema nor the description covers.

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?

For the parameters it touches, it adds real meaning beyond the schema — search scope and lookback, include semantics, updatedSince ordering side effects, and the `from` interaction with search. However, with 23 parameters and only ~52% schema description coverage, a large set (limit, order, cursor, status, timeZone, platforms, sentiment, tags, read, hasNotes, language) receive no explanation anywhere, leaving the agent to infer behavior for paging and filtering.

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?

Opens with a specific verb and resource ("Lists the social media DM conversations of a brand") and immediately scopes the grain ("one row per conversation"), then enumerates the returned fields so the agent knows exactly what entity is produced. It also explicitly separates itself from list_messages ("Messages of one conversation: list_messages"), so sibling selection is unambiguous.

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?

Gives concrete when-to-use conditions: default newest-first ordering vs. updatedSince for incremental sync, search's implicit 90-day window when no `from` is supplied, and opt-in includes with their costs. It also routes the agent to alternatives — list_messages for message-level data and get_account for brand discovery and the usage guide — and states the plan prerequisite (Inbox in the brand plan).

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