Skip to main content
Glama

search_whatsapp_chat_files

Search and list received files from WhatsApp chats (inbound files). These are media files that were sent to your WhatsApp number by other users. Supports filtering by chat, file type, date range, and more.

Input Schema

NameRequiredDescriptionDefault
chatNoFilter by specific chat IDs
flowNoFilter by message flow direction
pageNoPage number for pagination (0-based)
sizeNoNumber of files to return per page
sortNoSort order for resultsdate:desc
typeNoFilter by file media types
afterNoFilter files received after this date (ISO 8601 format)
beforeNoFilter files received before this date (ISO 8601 format)
deviceYesWhatsApp device ID connected to Wassenger (24 character hexadecimal string)
searchNoSearch files by filename or content

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.4/5.0
Behavior3/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. It usefully defines what counts as a match ('media files sent to your WhatsApp number by other users') and implies a read-only listing, but says nothing about permissions, result ordering defaults, or whether returned entries include a ready-to-use file URL versus requiring a separate download call.

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?

Three short sentences with the inbound scoping constraint front-loaded, which is the key disambiguator. The trailing 'and more' is slightly vague but costs little.

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 ten parameters, no annotations, and no output schema, the description must cover the remaining gaps and partially does so via the inbound definition. It never addresses what a result record contains or how pagination/sorting defaults behave beyond the schema, which is the main thing an agent still has to guess.

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 every one of the ten parameters is already documented, including defaults for page/size/sort and the ISO 8601 date formats. The description only restates the filter surface ('chat, file type, date range, and more') without adding syntax or constraints, so 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?

States a specific verb (search/list) and resource (received files from WhatsApp chats) and pins the scope to inbound media, which implicitly separates it from the sibling search_whatsapp_outbound_files. It does not name that sibling explicitly, so an agent must infer the pairing from the '(inbound files)' parenthetical.

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?

Usage is only implied: the inbound qualifier tells an agent this is the tool for files sent to its number, and the filter list suggests exploratory retrieval. There is no explicit when-to-use/when-not, no mention of download_whatsapp_chat_file or get_whatsapp_chat_file_details for actually fetching content, and no prerequisites (e.g., needing a valid device).

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