Skip to main content
Glama
whatsapp-mcp

whatsapp-mcp

by vimal-v-2006

List WhatsApp contacts

whatsapp_list_contacts

Lists known WhatsApp contacts from synced history, returning each contact's JID and name with an optional limit.

Instructions

List known contacts (from synced history) with JID and name.

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_contacts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax contacts to return (default 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the data source (synced history) and the shape of each result (JID and name), which are useful behavioral facts. It is silent on pagination behavior beyond the limit parameter, what happens when nothing has been synced, and result ordering, so a read-only listing tool has notable remaining gaps.

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?

A single sentence with the core purpose front-loaded and zero filler. The parenthetical is used efficiently to convey data provenance without extra clauses.

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 simple one-parameter read tool with no annotations and no output schema, the description covers purpose, source, and returned fields adequately. It falls short on whether a sync/pairing is a prerequisite and on behavior for large or empty contact sets, which an agent would need to know.

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% for the single limit parameter (min 1, max 500, default 100), so the schema already documents it fully. The description adds nothing about limit semantics or defaults, which is acceptable at this coverage level but earns no bonus.

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?

Specific verb plus resource: "List known contacts" with the data source parenthetically scoped ("from synced history") and the returned fields named (JID, name). This distinguishes it implicitly from the singular whatsapp_get_contact and from chat-listing siblings, though it never names a sibling explicitly.

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 whatsapp_get_contact for a single contact or whatsapp_list_chats for conversations. The only contextual hint is the "from synced history" scope, which tells the agent where contacts come from but not when to prefer this tool over its siblings.

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