Skip to main content
Glama

List Inbox conversations

list_conversations
Read-onlyIdempotent

A site's Inbox conversations (WhatsApp, website chat, SMS, phone calls), newest activity first. Each row: the conversation and contact ids, the customer's first name, channel, stage, the AI lead read (temperature, score and its one-line reason, whether and why the customer is waiting for a reply), message count, a short preview of the customer's last message and of the last reply, last activity, and the conversation summary when there is one. Filter by channel, lead_stage, temperature, needs_reply, an activity window (active_after / active_before, ISO date-times with offset) or contact_id. To COUNT ("how many hot WhatsApp chats this week"), filter and read total with limit 1: never count a page of rows. Read a chat's messages with get_conversation. Customers' own words are PERSONAL DATA: use them to answer the owner's question and do not copy them into site content or anywhere else. Only chats the calling member may see in the Inbox are returned.

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": {
      "site_id": "<site_id>"
    },
    "name": "list_conversations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page (default 20, max 50)
offsetNo
channelNoOnly WhatsApp, website chat (web), SMS or phone-call conversations
site_idYesThe site whose Inbox to read
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.
contact_idNoOnly this contact's chats (an id from list_contacts)
lead_stageNoOnly chats at this stage (chat_only, signed_up, designs, building, live_unpaid, checkout, paying)
needs_replyNotrue: only chats where the customer is waiting for an answer
temperatureNoOnly chats the AI lead read rated hot, warm, cold or not_a_lead
active_afterNoOnly chats active on or after this date-time (ISO with offset)
active_beforeNoOnly chats last active before this date-time (ISO with offset)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive behavior, so the description is not burdened there. It adds genuinely new context beyond them: member-level visibility scoping, the counting caveat that a page of rows is not a total, and a personal-data handling rule for customer message text.

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 sort order, then return fields, then filters, then usage rules. The row-field enumeration is long but earns its place because there is no output schema; a little tightening is possible but nothing is padding.

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

Completeness5/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 compensates by enumerating the returned fields (ids, channel, stage, lead temperature, needs_reply, previews, last activity, summary). Together with filter and counting guidance, an agent has enough to call this correctly and interpret the result.

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 already 91%, so a baseline of 3 would apply. The description adds value by naming the filter set together and specifying that activity windows use ISO date-times with offset, though it does not explain limit/offset paging or user_goal.

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?

States the resource (a site's Inbox conversations), the channels it spans, and the sort order (newest activity first). It is clearly distinguishable from get_conversation, which it names as the message-level reader.

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 explicit routing: use this to list and to count (via `total` with limit 1, never counting a page of rows), and use get_conversation to read a chat's messages. It also states the access constraint that only chats visible to the calling member are returned.

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