Skip to main content
Glama
whatsapp-export-mcp

whatsapp-export-mcp

Chat statistics

chat_stats
Read-only

Calculate per-person message, voice message, and attachment counts, monthly message totals, and busiest days from a WhatsApp chat export.

Instructions

Messages, voice messages and other attachments per person, messages per month, and the busiest days.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "chat_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the WhatsApp export: the .zip from Export chat, or the .txt
date_orderNoDate order of the export. Leave as auto unless open_export reported a guess that looks wrong

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds what the output dimensions are, which is genuinely useful, but says nothing about cost on large exports, failure modes for malformed paths, or result format.

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?

A single compact sentence with zero filler, and the highest-value information (what the stats cover) comes first. It is a noun phrase rather than a complete statement of action, which slightly weakens front-loading of intent.

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?

With only two fully documented parameters and read-only annotations, the main remaining gap is that there is no output schema, so the description is the only signal about what comes back; its metric list partially fills that role but does not describe structure or aggregation format. Adequate, not complete.

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 both 'path' and the 'date_order' enum are fully documented in the schema, including the open_export cross-reference. The description contributes no additional parameter meaning, so the baseline 3 applies.

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 enumerates the concrete aggregates produced (per-person message/voice/attachment counts, per-month volume, busiest days), which makes it distinguishable from get_messages or search_messages that return individual records. It stops short of naming a verb or explicitly contrasting with those siblings, so it is clear but not maximally sharp.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives such as get_messages or search_messages. The only usage hint lives in the schema ('Leave as auto unless open_export reported a guess that looks wrong'), not in the description itself.

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