Skip to main content
Glama

wa_list_chats

List known direct messages, groups, and channels seen by the current session, ordered most recent first.

Instructions

List known chats (DMs, groups, channels) seen by this session, most recent first.

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

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the ordering (most recent first) and session scope, which is useful, but says nothing about pagination behavior, whether results are read-only, or what happens when limit is omitted. It is adequate for a simple list but not rich.

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 compact sentence, front-loaded with the action and resource, then scope and ordering. No filler or redundancy.

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

Completeness3/5

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

The tool is simple (one optional parameter, no output schema), and the description covers what is listed and in what order. However, it omits the only parameter entirely and provides no indication of result shape, leaving meaningful gaps for an agent invoking it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is one parameter (limit, 1-500, optional) with 0% schema description coverage, and the description never mentions it. An agent must guess that 'limit' caps the number of chats returned and what the default/max behavior is, so the description fails to compensate for the schema gap.

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 ('List') and resource ('known chats') with a clarifying parenthetical enumerating DMs, groups and channels plus a defined ordering. It does not distinguish itself from overlapping siblings such as wa_list_groups or wa_broadcast_chats, which keeps it below a 5.

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?

The scope 'seen by this session, most recent first' implies when the tool is appropriate, but there is no explicit when-to-use or when-to-prefer wa_list_groups / wa_broadcast_chats guidance. Usage must be inferred from the parenthetical resource types.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.