Skip to main content
Glama

customers_chats

Read-onlyIdempotent

Website chats in Customers' Inbox, newest first: each one's conversation number, status, who it's with, the start of its last message and who it's assigned to. status: open (waiting on the team), waiting (on the visitor), closed or all. query: words said anywhere in them (any message, however old), their title or a call's summary, or the customer's name, address or number. conversation (its number) instead: that one chat, who it's with, its status and every message in order (from visitor, member, ai or note; a draft, Mojo's or an agent's, is marked draft and wasn't sent). Reading leaves them unread for the team.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
statusNoopen
conversationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, so the bar is lower, but the description adds a genuinely non-obvious trait: 'Reading leaves them unread for the team', warning that reading does not mark chats read. It also discloses what each message is (visitor, member, ai or note) and that drafts are marked and unsent. It omits pagination/ordering behavior beyond 'newest first' and any note on the 50-item default.

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?

Dense but front-loaded: the primary listing behavior comes first, then per-parameter filtering, then the single-conversation mode, then the unread caveat. The fragmentary, run-on sentence style ('...who it's with, the start of its last message and who it's assigned to') is heavier than necessary, but nearly every clause carries information an agent would need.

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 adequately substitutes by enumerating the fields returned in both modes and the message provenance values. Combined with annotations covering safety, the only meaningful gap is the undocumented `limit` parameter and any pagination/truncation behavior.

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 0%, so the description must carry parameter meaning, and it does for three of four: `status` with all four values spelled out, `query` with searchable fields (messages, title, call summary, customer name/address/number), and `conversation` as the single-chat selector with its full return shape. `limit` is never mentioned, leaving its default 50 and paging implications undocumented.

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 opens with a specific verb+resource and scope ('Website chats in Customers' Inbox, newest first') and clearly delineates two modes: listing chats and, via the `conversation` parameter, reading one chat's full message history. It does not name sibling tools (e.g. customers_chat_draft, customers_chat_status) as alternatives, so differentiation is inferred from the mode description rather than stated.

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

Usage Guidelines4/5

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

It gives concrete guidance on selecting between modes: use `query` to search words 'anywhere in them (any message, however old)', or pass `conversation` (its number) to fetch that one chat instead. It also defines every `status` value including the 'all' catch-all. It stops short of exclusions or pointing to sibling tools for drafting or closing chats.

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.