Skip to main content
Glama
whatsapp-mcp

whatsapp-mcp

by OmarYousef95

WhatsApp connection status

get_connection_status

Check whether the WhatsApp session is connected and paired before sending messages. Returns connection state, QR scan need, and synced contact count to diagnose failed sends.

Instructions

Check whether the WhatsApp session is connected and paired. Returns the connection state, whether a QR scan is needed, and how many contacts are synced. Call this first if a send fails unexpectedly or before a batch of sends.

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": "get_connection_status"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden well by disclosing what the call returns: connection state, QR-scan requirement, and synced-contact count. 'Check' implies a read-only probe, but it does not explicitly state there are no side effects, which is the main remaining gap.

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 followed by return contents and usage conditions. Every sentence adds value and there is no redundant restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool with no output schema, the description supplies the essential return fields and the operational trigger for calling it. Nothing critical is missing for an agent to invoke it correctly.

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 has zero parameters, so the baseline is 4. There is no parameter meaning the description needs to add, and it correctly mentions no inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Check') and resource ('WhatsApp session is connected and paired'), and the diagnostic intent is clearly distinct from the send/read/list siblings. An agent can tell this is a status probe, not a messaging operation, without inspecting the schema.

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?

It gives explicit when-to-call guidance: first after an unexpected send failure and before a batch of sends. No alternatives or when-not conditions are named, but for a zero-parameter diagnostic tool the guidance is clear and actionable.

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