Skip to main content
Glama
WhatsApp MCP for Claude Desktop

WhatsApp MCP for Claude Desktop

by Shloimy15e

whatsapp_search_chats

Find a WhatsApp chat by entering a contact name or phone number, so you can locate the right conversation.

Instructions

Search for a chat by name or phone number

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": {
      "query": "<query>"
    },
    "name": "whatsapp_search_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesName or phone number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

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 behavioral burden. Beyond the implicit read-only nature of "search," it says nothing about match semantics (exact vs. fuzzy/partial), whether it returns one best match or a list, or how ambiguity is resolved — all of which materially affect how an agent should invoke and interpret it.

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?

One short, front-loaded sentence with zero filler — nothing is wasted. It is arguably too terse for the behavioral gaps it leaves, but judged purely on economy and structure it is well formed.

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?

For a one-parameter, low-complexity lookup tool with a fully documented schema, the description covers the essentials. With no annotations and no output schema, though, it should say at least whether a list or single chat comes back and how partial matches behave.

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 the single parameter is already documented as "Name or phone number," which the description restates almost verbatim. It adds no syntax detail such as phone format expectations (country code, digits only) or trimming/case behavior, so it does not go beyond 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?

"Search for a chat by name or phone number" names a specific verb (search) and resource (chat), plus the two accepted identifier forms. It is clear enough to distinguish from a plain listing tool like whatsapp_list_chats, though it never explicitly contrasts with that sibling.

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 implies the usage condition by stating the lookup keys (name or phone number), so an agent can infer it should be used when it has an identifier rather than browsing. However, it gives no explicit when-to-use vs. when-not guidance, no mention of whatsapp_list_chats as the alternative for browsing, and no note on what to do when multiple chats match.

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