Skip to main content
Glama

List threads

threads_list
Read-onlyIdempotent

List threads

Threads in inbox order, filtered by folder and by contact CRM state.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "threads_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoSearches profile display names and usernames, the contact's name and the activity preview, with typo tolerance. Lists the best 1,000 matches, following `order`, not relevance.
tagNoThreads whose contact has one of these tags. Repeat the key to match any of several.
viewNoA view's `id` from List views: lists the threads that view lists, in place of `folder`. Every other filter narrows it, except `includeArchived`. A cursor issued for a saved view is `invalidCursor` once the view changes.
limitNoPage size, from 1 to 100. Defaults to 50.
orderNoSort direction by inbox order: `activity.at`, or `createdAt` for a thread with no activity. A reminder or an accepted message request moves a thread up until its next message, without changing `activity.at`. Defaults to `desc`, newest first.
cursorNoThe previous page's `nextCursor`. Opaque, and valid only with the filters it was issued for.
expandNoRelated resources to embed next to their ID field, one path per key, at most 4.
folderNoDefaults to `inbox`, threads that are neither archived nor requests, leaving out conversations a platform keeps outside the inbox, such as chats with bots. `noReply` is `inbox` with `awaitingReply=true`. `requests` holds unarchived threads where `isRequest` is true. `archived` includes requests. `all` spans every thread, including chats kept out of the inbox. Every other filter narrows the folder, except `includeArchived`. Each folder is also a view: `inbox`, `awaitingReply` for `noReply`, `requests`, `archived` and `all`.
statusNoThreads whose contact has one of these statuses. Repeat the key to match any of several.
unreadNo`true` keeps threads unread for the agent's member, as `unread` shows them. A thread marked read moments ago may still be listed, with its current `unread`. Agents only: an API token has no member and gets `memberRequired`.
platformNoRepeat the key to match any of several.
contactIdNoThreads with these contacts. With `accountLinkId`, finds the thread between an account and a contact. Repeat the key to match any of several.
assigneeIdNoThreads whose `assigneeId`, the thread's own assignee or else its contact's, is one of these members. Repeat the key to match any of several.
campaignIdNoThreads these campaigns sent a message in. Campaign sends archive the thread, so pair it with `folder=archived`, `folder=all` or `includeArchived=true`. Repeat the key to match any of several.
unassignedNo`true` keeps threads with no assignee, including through their contact. Not combinable with `assigneeId`.
accountLinkIdNoThreads of these account links. Repeat the key to match any of several.
awaitingReplyNo`true` keeps threads whose latest activity is inbound, the inbox's No reply.
includeArchivedNo`true` adds the view's or folder's archived threads back, the inbox's With archived. A view that tests archived inside an any-of or a not-group keeps that test. No effect when the scope already includes archived threads.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $defs / Platform / description
      Previous value: -"The platform. Every team can use twitter, linkedin, whatsapp; a team may have others enabled."New value: +"The platform. Every team can use twitter, linkedin, whatsapp, telegram; a team may have others enabled."
    • changedInput schema / $defs / Platform / examples
      Previous value: -[
      -  "twitter",
      -  "linkedin",
      -  "whatsapp"
      -]New value: +[
      +  "twitter",
      +  "linkedin",
      +  "whatsapp",
      +  "telegram"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / folder / description
      Previous value: -"Defaults to `inbox`, threads that are neither archived nor requests. `noReply` is `inbox` with `awaitingReply=true`. `requests` holds unarchived threads where `isRequest` is true. `archived` includes requests. `all` spans every folder. Every other filter narrows the folder, except `includeArchived`. Each folder is also a view: `inbox`, `awaitingReply` for `noReply`, `requests`, `archived` and `all`."New value: +"Defaults to `inbox`, threads that are neither archived nor requests, leaving out conversations a platform keeps outside the inbox, such as chats with bots. `noReply` is `inbox` with `awaitingReply=true`. `requests` holds unarchived threads where `isRequest` is true. `archived` includes requests. `all` spans every thread, including chats kept out of the inbox. Every other filter narrows the folder, except `includeArchived`. Each folder is also a view: `inbox`, `awaitingReply` for `noReply`, `requests`, `archived` and `all`."
  3. Changed6 schema fields changed
    • addedInput schema / properties / awaitingReply
      Added value: +{
      +  "description": "`true` keeps threads whose latest activity is inbound, the inbox's No reply.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / campaignId / description
      Previous value: -"Threads these campaigns sent a message in. Campaign sends archive the thread, so pair it with `folder=archived` or `all`. Repeat the key to match any of several."New value: +"Threads these campaigns sent a message in. Campaign sends archive the thread, so pair it with `folder=archived`, `folder=all` or `includeArchived=true`. Repeat the key to match any of several."
    • changedInput schema / properties / folder / description
      Previous value: -"Defaults to `inbox`, threads that are neither archived nor requests. `noReply` is the `inbox` threads whose latest activity is inbound. `requests` holds unarchived threads where `isRequest` is true. `archived` includes requests. `all` spans every folder. Every other filter narrows the folder. Each folder is also a view: `inbox`, `awaitingReply` for `noReply`, `requests`, `archived` and `all`."New value: +"Defaults to `inbox`, threads that are neither archived nor requests. `noReply` is `inbox` with `awaitingReply=true`. `requests` holds unarchived threads where `isRequest` is true. `archived` includes requests. `all` spans every folder. Every other filter narrows the folder, except `includeArchived`. Each folder is also a view: `inbox`, `awaitingReply` for `noReply`, `requests`, `archived` and `all`."
    • addedInput schema / properties / includeArchived
      Added value: +{
      +  "description": "`true` adds the view's or folder's archived threads back, the inbox's With archived. A view that tests archived inside an any-of or a not-group keeps that test. No effect when the scope already includes archived threads.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / unread
      Added value: +{
      +  "description": "`true` keeps threads unread for the agent's member, as `unread` shows them. A thread marked read moments ago may still be listed, with its current `unread`. Agents only: an API token has no member and gets `memberRequired`.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / view / description
      Previous value: -"A view's `id` from List views: lists the threads that view lists, in place of `folder`. Every other filter narrows it. A cursor issued for a saved view is `invalidCursor` once the view changes."New value: +"A view's `id` from List views: lists the threads that view lists, in place of `folder`. Every other filter narrows it, except `includeArchived`. A cursor issued for a saved view is `invalidCursor` once the view changes."
  4. Changed3 schema fields changed
    • changedInput schema / properties / folder / description
      Previous value: -"Defaults to `inbox`, threads that are neither archived nor requests. `noReply` is the `inbox` threads whose latest activity is inbound. `requests` holds unarchived threads where `isRequest` is true. `archived` includes requests. `all` spans every folder. Every other filter narrows the folder."New value: +"Defaults to `inbox`, threads that are neither archived nor requests. `noReply` is the `inbox` threads whose latest activity is inbound. `requests` holds unarchived threads where `isRequest` is true. `archived` includes requests. `all` spans every folder. Every other filter narrows the folder. Each folder is also a view: `inbox`, `awaitingReply` for `noReply`, `requests`, `archived` and `all`."
    • changedInput schema / properties / q / description
      Previous value: -"Searches profile display names, usernames and the activity preview. Results follow `order`, not relevance."New value: +"Searches profile display names and usernames, the contact's name and the activity preview, with typo tolerance. Lists the best 1,000 matches, following `order`, not relevance."
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "A view's `id` from List views: lists the threads that view lists, in place of `folder`. Every other filter narrows it. A cursor issued for a saved view is `invalidCursor` once the view changes.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  5. Changed2 schema fields changed
    • changedInput schema / $defs / Platform / description
      Previous value: -"The platform. Every team can use twitter, linkedin; a team may have others enabled."New value: +"The platform. Every team can use twitter, linkedin, whatsapp; a team may have others enabled."
    • changedInput schema / $defs / Platform / examples
      Previous value: -[
      -  "twitter",
      -  "linkedin"
      -]New value: +[
      +  "twitter",
      +  "linkedin",
      +  "whatsapp"
      +]
  6. Changed2 schema fields changed
    • changedInput schema / $defs / Platform / description
      Previous value: -"The platform. Every team can use twitter; a team may have others enabled."New value: +"The platform. Every team can use twitter, linkedin; a team may have others enabled."
    • changedInput schema / $defs / Platform / examples
      Previous value: -[
      -  "twitter"
      -]New value: +[
      +  "twitter",
      +  "linkedin"
      +]
  7. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description adds only the ordering trait ("inbox order"), and says nothing about pagination, cursor invalidation, or the interaction between filters that the schema itself documents in depth.

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?

Two short lines with no filler, and the ordering/filtering scope is front-loaded. It is efficient, though for an 18-parameter tool the terse one-liner borders on under-specification rather than tight writing.

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

Completeness2/5

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

For an 18-parameter list tool with no output schema, a single descriptive sentence leaves significant gaps: nothing about what a thread object contains, pagination behavior, or how cursor, expand and includeArchived interact. The rich schema compensates for parameter meaning, but the description itself is too thin for this complexity.

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 all 18 parameters are already precisely documented in the input schema, including folder defaults, cursor opacity, and ordering semantics. The description's reference to folder and CRM state adds no meaning beyond that, so the baseline 3 applies.

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 and resource ("List threads") plus the two axes of scope: inbox ordering and filtering by folder and contact CRM state. It is clear what the tool returns, but it never distinguishes itself from siblings like threads_search or threads_count, so an agent must guess which one is appropriate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance is given, and no alternative is named. The clause about folder and CRM-state filtering merely restates schema capabilities rather than telling the agent under what circumstances to pick this tool over threads_search or threads_count.

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