Skip to main content
Glama
wa-memory-mcp

wa-memory-mcp

by corneliu10

whatsapp_list_attachments

Read-only

List WhatsApp attachments newest first with captions and download status, filtered by chat, media type and date range to find pictures, videos, documents or voice notes in a local archive.

Instructions

List attachments (pictures, videos, documents, voice notes, stickers, locations), newest first, with captions and whether they were already downloaded. Filter by chat, type and dates.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "whatsapp_list_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatNoChat name, contact name, phone number or chat_id
afterNoYYYY-MM-DD or YYYY-MM-DDTHH:MM (local time)
limitNoDefault 30, max 200
beforeNoYYYY-MM-DD or YYYY-MM-DDTHH:MM (local time)
media_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish this as a read-only, closed-world operation, and the description adds value beyond that: results are ordered newest first, each entry carries captions and an already-downloaded flag, and the listing itself does not fetch media content. It stops short of describing result shape or pagination behavior beyond what the schema states.

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 with no filler: the first front-loads what is listed, the ordering, and what comes back; the second covers filtering. Every clause carries information an agent would otherwise have to guess.

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?

With no output schema, the description carries the burden of return semantics and does so partially by naming captions, the downloaded flag, and ordering. Pagination behavior (default 30, max 200) is left entirely to the schema, and the relationship to the content-fetching sibling is unaddressed, leaving minor gaps for a five-parameter tool.

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

Parameters4/5

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

Schema coverage is already 80%, so most parameters are self-documenting. The description still adds grouping semantics by framing chat, media_type, and the date bounds as the three filter axes, which helps an agent see how the five parameters combine, though it does not clarify the limit/paging behavior or the date format syntax.

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 uses a specific verb and resource ("List attachments") and enumerates the item types covered (pictures, videos, documents, voice notes, stickers, locations), along with ordering and return content. It never names or fences off the sibling whatsapp_get_attachment, so an agent must infer that fetching actual attachment content belongs to a different tool.

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?

"Filter by chat, type and dates" signals the common filtering scenarios, which implies when to reach for it. However there is no explicit when-not guidance and no pointer to whatsapp_get_attachment for downloading the files it lists, nor to whatsapp_search for content-based lookups, leaving the agent to infer the boundaries.

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