Skip to main content
Glama
dudu1111685

WAHA MCP Server

by dudu1111685

ask_user_via_whatsapp

Get user input via WhatsApp when AI assistants need decisions, missing requirements, or credentials to continue work without stopping progress.

Instructions

🤖 IMPORTANT FOR AI ASSISTANTS: Use this tool instead of stopping work when you need user input!

WHEN TO USE:

  • You need architectural decisions (REST vs GraphQL, etc.)

  • You need missing requirements or specifications

  • You need API keys, credentials, or configuration values

  • You encounter ANY question that would normally block your progress

  • You need user approval or preference for a decision

DO NOT:

  • Stop and wait for manual console input

  • Ask the user to provide information manually

  • Halt progress when this tool can unblock you

HOW IT WORKS:

  1. Send your question via WhatsApp

  2. This tool WAITS (blocking) for the user's reply

  3. Returns the reply text to you

  4. You continue working with the answer

EXAMPLE USAGE: const answer = await ask_user_via_whatsapp({ question: "Should I use REST or GraphQL for this API?", chatId: "1234567890@c.us", timeoutMinutes: 30 }); // Parse answer and continue working

USER EXPERIENCE: User gets WhatsApp notification → replies from phone → you continue instantly

This enables truly autonomous AI development!

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
questionYesThe question to ask the user
chatIdYesChat ID to send question to (e.g. "1234567890@c.us")
sessionNoSession namedefault
timeoutMinutesNoHow long to wait for reply (in minutes)
pollIntervalSecondsNoHow often to check for new messages (in seconds)
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by explaining key behavioral traits: it's a blocking operation that waits for user replies, has timeout and polling mechanisms, and enables autonomous continuation. It doesn't cover error handling or rate limits, but provides substantial operational context beyond basic functionality.

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?

The description is well-structured with clear sections (WHEN TO USE, DO NOT, HOW IT WORKS, EXAMPLE USAGE, USER EXPERIENCE) and uses bold formatting effectively. While slightly verbose at 14 sentences, every section adds value and the information is front-loaded with the most critical guidance first.

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 complex tool with 5 parameters, no annotations, and no output schema, the description provides substantial context about behavior, usage scenarios, and workflow. It explains the blocking nature and user experience well. The main gap is lack of output format details, but overall it's quite complete for enabling effective tool use.

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 the schema already documents all 5 parameters thoroughly. The description's example usage shows parameter application but doesn't add significant meaning beyond what the schema provides. Baseline 3 is appropriate when schema does the heavy lifting.

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 explicitly states the tool's purpose: to send questions to users via WhatsApp and wait for replies, enabling AI assistants to continue working autonomously. It clearly distinguishes this from sibling tools (all WhatsApp-related operations) by focusing on user interaction for unblocking progress, not messaging functions like waha_send_text.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance with 'WHEN TO USE' and 'DO NOT' sections, listing specific scenarios (architectural decisions, missing requirements, API keys, etc.) and alternatives to avoid (stopping work, manual input). It clearly defines when this tool should be used versus other approaches.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dudu1111685/waha-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server