Skip to main content
Glama

wa_block_user

Block or unblock a WhatsApp user from the connected account by specifying their JID or phone number and choosing the block or unblock action.

Instructions

Block or unblock a WhatsApp user from the connected account..

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": {
      "jid": "<jid>",
      "action": "<action>"
    },
    "name": "wa_block_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
jidYesUser JID or phone number
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and mostly fails it. It does not say what blocking actually does (stop inbound messages, hide presence, remove from contact list), whether it is reversible, what permissions or session state are required, or what a successful response looks like. 'From the connected account' is the only contextual hint and is too vague to be actionable.

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?

One short sentence, front-loaded with the verb and resource, with no rambling. Minor waste remains in the trailing 'from the connected account' filler and a stray double period, but the sentence is otherwise tight.

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

Completeness2/5

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

This is a simple two-parameter mutation tool with no annotations and no output schema, so the description should at minimum explain the action semantics and the effect of blocking. Neither is covered, leaving the agent to guess at side effects and success behavior before performing an account-level state change.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: jid has a description but the action enum has none. The description's word 'user' weakly reinforces that jid identifies a person rather than a group, but it adds no format detail (phone number vs full JID), no note on whether the two action values have asymmetric effects, and nothing about the undocumented enum semantics.

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 description gives a specific verb pair and resource: 'Block or unblock a WhatsApp user.' An agent immediately knows this tool mutates a user's blocked state, and no sibling tool in the list competes for that capability, so sibling differentiation is unnecessary here. It loses a point only because the dual-action nature is stated without connecting it to the action parameter.

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 guidance on when to choose this tool, no prerequisites (e.g., whether the JID must belong to an existing chat or contact), and no note that the same call handles both directions via the action parameter. The agent must infer that 'block' vs 'unblock' is selected through the schema enum rather than from the prose.

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