Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

whatsappConversationActions

Destructive

Take over a WhatsApp conversation to pause the AI agent for human replies, or hand it back so the agent answers the next message.

Instructions

Take a conversation from the agent so your team answers, or hand it back to the agent.

Set action to pick what to do.

take_over: Take the conversation from the agent, so it stops replying and your team answers.

Repeating it changes nothing. Hand it back with whatsappConversationActions with action hand_back when the person is done.

hand_back: Give the conversation back to the agent and clear any pause.

The agent answers the customer's next message. Repeating it changes nothing.

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": {
      "action": "<action>",
      "conversation_id": "<conversation_id>"
    },
    "name": "whatsappConversationActions"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYesWhat to do: take_over, hand_back.
conversation_idYesA conversation id: the number id, a dash, then the customer's phone digits, such as `412-919876543210`. From [listWhatsappConversations](/docs/api-reference/whatsapp/listWhatsappConversations).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds real behavioral detail the annotations cannot convey: the agent stops replying on take_over, hand_back clears any pause and the agent answers the next message, and both operations are idempotent. It omits auth/permission requirements and error behavior, keeping it below a 5.

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?

Front-loaded with the overall purpose, then per-action detail; no filler sentences. The idempotency note is repeated under both actions and the trailing 'Hand it back with whatsappConversationActions...' sentence partially duplicates the hand_back section, which is mild redundancy.

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?

A two-parameter, fully required control tool with no output schema needs only to explain the state transition and idempotency, both of which are covered, and conversation_id sourcing is handled by the schema. Missing only edge-case behavior such as what happens on an unknown or closed conversation id.

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?

Schema coverage is 100% and conversation_id already documents its format and source tool, so the schema carries most weight. The description nonetheless adds semantic meaning to the action enum values by explaining the effect of each, which the one-line schema description does not.

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?

The opening sentence states a concrete verb pair (take over / hand back) on a concrete resource (a WhatsApp conversation), and the two action modes are spelled out separately. It does not name any sibling (e.g. getWhatsappConversation for reading state), so the differentiation is implicit rather than explicit.

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?

Each action mode is given a clear situational trigger: take_over when your team will answer, hand_back when the person is done. There are no exclusions or prerequisites (permissions, whether the conversation must be open), and no guidance on when to read the conversation first.

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

Deploy Server

Other Tools