Skip to main content
Glama

get_whatsapp_chats_by_date_range

Retrieve WhatsApp chats that were active within a specific date range. Perfect for analyzing conversation patterns and generating reports.

Same as get_whatsapp_chats with action "by_date_range".

Input Schema

NameRequiredDescriptionDefault
pageNoResults page, starting at 0
sortNoResult order. Defaults to the API order (most recent activity first)
limitNoNumber of WhatsApp chats per call (max 100)
deviceYesWhatsApp device ID connected to Wassenger (24 character hexadecimal string)
toDateNoEnd date (for by_date_range and archived actions)
fromDateNoStart date (for by_date_range and archived actions)
activityTypeNoWhich date the range applies to: last message of any side, first message ever, or last message received from the customerlastMessage

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. "Retrieve" implies a read operation, but the description does not explicitly confirm read-only behavior, mention side effects, describe permissions or rate limits, or explain pagination/return behavior. For a tool with zero annotation coverage, this is a notable gap.

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?

The description is short and front-loads the core purpose in the first sentence. The second sentence is somewhat generic marketing language ("Perfect for analyzing..."), while the third provides useful equivalence information. It is structurally efficient overall but contains minor filler.

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 schema is rich and fully documented, and the description identifies the date-range purpose and its relationship to get_whatsapp_chats. However, with no output schema and many sibling tools, it does not describe returns, pagination behavior, or when to use this versus alternatives. It is adequate but incomplete for an agent navigating a crowded toolset.

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 description coverage is 100%, so parameters like device, fromDate, toDate, activityType, page, limit, and sort are already documented in the schema. The description only reinforces that the tool operates on a date range and does not add parameter-specific meaning beyond the schema. A baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource plus the date-range qualifier: retrieving WhatsApp chats active in a specific date range. It also maps the tool to get_whatsapp_chats with action "by_date_range," which helps distinguish it from the generic chat listing. It does not, however, clarify why to choose this over date-related siblings like archived chats.

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 description gives a broad use case (analyzing conversation patterns and generating reports) and relates the tool to get_whatsapp_chats with a specific action. It does not explicitly state when to prefer this over sibling tools such as get_whatsapp_chats, get_whatsapp_archived_chats, or search_whatsapp_chats_by_name. Usage is therefore implied rather than fully guided.

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