Skip to main content
Glama

How to export a WhatsApp chat

how_to_export
Read-onlyIdempotent

Step-by-step instructions to export a WhatsApp chat as a .zip from an iPhone or Android phone, with the menu labels WhatsApp shows. Use when the user has not exported the chat yet or asks how to get the file. Returns the matching zap2doc.com guide: answer from it and link it.

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": {
      "phone": "<phone>"
    },
    "name": "how_to_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYesThe user's phone: iphone or android.
languageNoLanguage to answer in (ISO 639-1 code). Guides missing in that language come back in English.en

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world behavior, so the bar is lower. The description adds what the annotations cannot: the tool returns the matching zap2doc.com guide, and the agent should answer from it and link it. That post-call expectation is the key behavioral payload.

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?

Two sentences, no filler: the capability comes first, then the usage condition, then the return/usage contract. Every clause carries information.

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?

For a two-parameter, read-only guidance tool with no output schema, the description covers purpose, trigger, and what to do with the returned guide. Minor gap: it does not say what to do if the guide does not resolve the user's situation, which is where the troubleshooting sibling would matter.

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% and both enums are documented in the schema, so the description is not required to explain them. It adds only slight color ("with the menu labels WhatsApp shows") reinforcing that platform-specific steps differ; language handling is left entirely to 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?

States a specific action and resource: step-by-step instructions to export a WhatsApp chat as a .zip from iPhone or Android. The clause "use when the user has not exported the chat yet" implicitly separates it from the fix_export_problem sibling, though the sibling is not named explicitly.

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?

"Use when the user has not exported the chat yet or asks how to get the file" gives a clear trigger condition, and that condition implicitly excludes already-exported or broken-export cases. It stops short of naming the alternative tool for those situations.

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