Skip to main content
Glama

get_whatsapp_chat_statistics

Figures of the team for a period: chat and message volumes, response and resolution times, and what was in the inbox at the end of the period, optionally compared with an earlier period.

Same as analyze_whatsapp_chats with action "statistics".

Input Schema

NameRequiredDescriptionDefault
deviceYesWhatsApp device ID connected to Wassenger (24 character hexadecimal string)
toDateNoEnd of the period. Defaults to now
fromDateNoStart of the period, e.g. 2026-09-11T00:00:00+02:00. Defaults to 7 days before toDate
compareToDateNoStatistics only: end of the earlier period to compare with
compareFromDateNoStatistics only: start of an earlier period to compare with. Requires compareToDate

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the returned metric categories and the comparison capability, but says nothing about whether the tool is read-only, permission requirements, or result size — gaps for an unannotated tool, though the read-only nature is strongly implied by "figures".

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 tight sentences with no filler, and the substantive return-value content is front-loaded. The trailing cross-reference sentence is useful but slightly ambiguous about how the two tools differ.

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?

There is no output schema, so the description must carry the return-value burden, and it does so by listing the metric categories and the comparison option. Minor gaps remain on result structure and on the requirement that compareFromDate needs compareToDate (left to the schema).

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 coverage is 100%, so the schema already documents device, fromDate/toDate defaults, and the compare pair. The description's only added value is confirming that comparison is optional and period-based; it adds no format or constraint detail beyond the schema.

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 names the resource and enumerates the exact metrics returned (chat/message volumes, response and resolution times, ending inbox snapshot), which lets an agent distinguish this statistics tool from the message/chat listing siblings. It does not state a crisp verb, but the scope is unambiguous.

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?

It notes the optional period-over-period comparison and points to analyze_whatsapp_chats with action "statistics", implying an alternate route. However it never says which one to prefer or when, so the routing decision is left to 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