Skip to main content
Glama
hajekd
by hajekd

list_whatsapp_chats

Retrieve WhatsApp chat activities from the Daktela contact center with filters for queue, agent, contact, direction, and date range. Returns channel-specific fields for analysis.

Instructions

List WhatsApp activities with channel-specific fields.

Args: queue: Filter by queue internal name (e.g. '10333'). Use list_queues to find names. user: Agent name — pass either a display name (e.g. 'John Doe') or login name (e.g. 'john.doe'). Resolved automatically. contact: Filter by contact internal ID (e.g. 'contact_674eda46162a8403430453'). NOT a person's name — call list_contacts(search='...') first to find the ID. direction: Filter by direction: IN or OUT. date_from: Filter by activity start time on or after this date (YYYY-MM-DD). date_to: Filter by activity start time on or before this date (YYYY-MM-DD). sort: Field to sort by. Useful values: time, duration, wait_time. WARNING: only fields that exist on this endpoint work — do NOT use 'created' or 'edited'. sort_dir: Sort direction: asc or desc (default: desc). skip: Pagination offset (default: 0). take: Number of records to return (default: 50, max: 200).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
skipNo
sortNo
takeNo
userNo
queueNo
contactNo
date_toNo
sort_dirNodesc
date_fromNo
directionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full responsibility for disclosing behavior. It reveals important behavioral details such as the sort field warning ('do NOT use created or edited'), automatic resolution of user display names and login names, default values for sort_dir, skip, and take, and the maximum take of 200. It does not explicitly mention that the operation is read-only, but that is implicit in the list verb and no side effects are described. The disclosure goes beyond the schema and adds valuable operational context.

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?

The description opens with a one-sentence summary followed by a well-organized Args list. Each parameter gets a concise, information-dense line with no filler. The warning about sort fields is relevant and embedded inline. The structure is front-loaded and every sentence earns its place, making it easy for an agent to parse.

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?

Despite high complexity (10 parameters, no annotations, no schema descriptions), the description is remarkably complete. It covers all parameters, defaults, max limits, and behavioral warnings. Since an output schema exists, the absence of return-value explanation is acceptable. The description fully equips an agent to select and invoke the tool correctly, leaving no critical gaps.

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

Parameters5/5

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

The input schema has 0% description coverage, so the description must fully compensate, and it does. Every parameter is explained with examples, formats, and clarifications (e.g., contact is 'NOT a person's name' and requires list_contacts lookup, date_from/date_to specify YYYY-MM-DD, sort lists useful values and warns against invalid ones). This adds significant semantic meaning beyond the raw schema types and defaults.

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?

The description explicitly states 'List WhatsApp activities with channel-specific fields,' which combines a specific verb (list) with a specific resource (WhatsApp activities) and a distinguishing qualifier (channel-specific fields). This clearly sets it apart from sibling tools like list_emails or list_web_chats, and the name itself reinforces the WhatsApp channel focus.

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?

The description provides clear context for when to use this tool by indicating it lists WhatsApp activities with channel-specific fields, implying it is the WhatsApp-specific list variant among siblings. It also gives cross-references to list_queues and list_contacts for resolving parameter values, which guides correct usage. However, it does not explicitly state when not to use it or name alternative tools for other channels, so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hajekd/mcp-daktela'

If you have feedback or need assistance with the MCP directory API, please join our Discord server