Skip to main content
Glama

WhatsApp by GREEN-API

whatsapp_receive_notification

Read-onlyIdempotent

Get one notification from the queue (manual polling)

Input Schema

NameRequiredDescriptionDefault
instance_idYesWhatsApp instance ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive/closed-world, so the safety profile is covered. The description adds the useful fact that this is a manual pull from a queue, but leaves unanswered what happens when the queue is empty (null return, error, blocking call) — critical behavior for a polling tool.

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 front-loaded sentence with no filler; the parenthetical is slightly cryptic but earns its place by disambiguating the pull model.

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?

No output schema exists, so the description is the only place to learn what a returned notification looks like and what an empty queue yields. Neither is covered, which leaves the agent unable to handle the most common polling outcome correctly.

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?

With a single parameter at 100% schema description coverage, the schema already documents instance_id fully. The description adds nothing about the parameter, so the baseline 3 applies.

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?

"Get one notification from the queue" gives a specific verb and resource and makes the single-item, queue-draining semantics explicit. It is clearly distinguishable from whatsapp_delete_notification and the *_messages siblings, though it doesn't name them.

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

Usage Guidelines3/5

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

"(manual polling)" signals the consumption model but not the conditions: nothing says when to call this versus whatsapp_delete_notification to acknowledge, how often to poll, or how it relates to the message-history tools. Usage is implied rather than stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources