Skip to main content
Glama
whatsapp-mcp

whatsapp-mcp

by vimal-v-2006

WhatsApp link device

whatsapp_link

Generates a QR code as ASCII and a PNG file path to pair a phone with WhatsApp via Linked devices; scan once and the session persists.

Instructions

Get the QR code to pair a phone (WhatsApp > Settings > Linked devices > Link a device). Returns the QR as ASCII and as a PNG file path. You only scan once; the session persists.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the return payload in two forms (ASCII plus a PNG file path) and the stateful consequence of pairing (session persists after one scan). It omits QR expiry lifetime, which permissions or credentials are needed, and what happens if a session already exists.

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?

Three short sentences, front-loaded with the purpose and the human-facing navigation path, then the return formats, then the persistence caveat. Every sentence adds information; nothing is filler.

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 no-argument tool with no output schema, the description covers input requirements (none), return shape, and the post-call state. Remaining gaps are practical rather than structural: QR validity window, error behavior when already linked, and where the PNG path points.

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?

The tool takes zero parameters, so there is no schema semantics for the description to compensate for; baseline is 4. The description correctly implies a simple no-argument call, which is consistent with the empty input 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 verb and resource: get the QR code to pair/link a phone, with the exact in-app navigation path. It is distinguishable from whatsapp_pairing_code by its emphasis on a scannable QR, but it never names that sibling explicitly, so differentiation is only implicit.

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?

The guidance on when to use is clear: pair a new device via Linked devices. 'You only scan once; the session persists' implies when not to call again, giving a soft exclusion. No alternative (e.g. a pairing-code tool) is named, so 4 rather than 5.

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