Skip to main content
Glama

List every chat in one inbox

list_all_chats
Read-onlyIdempotent

Chats across ALL connected accounts in one list, newest first, from Spaces' own copy (it never asks the platform). Each has account_id, channel, name, unread_count, a last_message preview, tags, owner_id, contact_id and reminder_at. Filter by channel, account_id, unread, unanswered (their message is the last one), tag, owner (member id), has_reminder or q (name). Paged: pass next_cursor back as cursor. coverage says per account whether older chats are still loading from the platform; the list fills in over time. Read-only. Pass view: 'summary' or fields for a shorter answer.

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": "list_all_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
tagNo
viewNosummary: a compact item shape (ids, names, times, short text) to save tokens. full (default): everything.
limitNo
ownerNo
cursorNo
fieldsNoComma-separated item fields to keep, such as id,name,last_message. id is always kept.
unreadNo
channelNo
account_idNo
unansweredNo
has_reminderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / fields
      Added value: +{
      +  "description": "Comma-separated item fields to keep, such as id,name,last_message. id is always kept.",
      +  "maxLength": 600,
      +  "type": "string"
      +}
    • addedInput schema / properties / view
      Added value: +{
      +  "description": "summary: a compact item shape (ids, names, times, short text) to save tokens. full (default): everything.",
      +  "enum": [
      +    "summary",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and closed-world safety, yet the description adds real context: results come from Spaces' local copy without hitting the platform, and the coverage field signals that older chats are still backfilling and the list fills in over time. That eventual-consistency caveat is exactly the kind of behavior annotations cannot express.

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?

A single dense paragraph ordered scope → item shape → filters → paging → caveats → option, with the most decision-relevant facts up front. No filler sentences; every clause carries information.

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 12 optional parameters and no output schema, the description compensates by enumerating the returned fields, explaining paging and the summary view. Complete enough to call correctly, with only minor gaps around limit defaults and channel value formats.

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 description coverage is only 17%, so the description carries most of the burden and does: it defines unanswered ('their message is the last one'), clarifies owner takes a member id, q searches name, and explains the cursor round-trip via next_cursor. Only limit and the mechanics of channel/account_id matching go unaddressed.

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 resource and scope: chats across ALL connected accounts, newest first, sourced from Spaces' own copy rather than the platform. That scope wording implicitly separates it from per-inbox siblings like list_messaging_chats, though no sibling is named explicitly.

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?

Usage is conveyed indirectly through the filter menu (channel, unread, unanswered, has_reminder, etc.) and the view/fields guidance, which tells an agent how to shape results. There is no explicit when-to-use vs. when-not or named alternative, so selection still requires inference.

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