Skip to main content
Glama

whatsappGetMessages

Retrieves recent WhatsApp messages through the Twilio provider, letting you read incoming conversations and review message history with a configurable limit on how many to return.

Instructions

Get recent WhatsApp messages (Twilio provider only).

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

Input Schema

NameRequiredDescriptionDefault
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It implies a read operation and reveals the Twilio-only constraint, but it does not explain what 'recent' means, how results are ordered or paginated, authentication requirements, or rate limits.

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?

The description is a single front-loaded sentence with no wasted wording. The provider constraint is included compactly in parentheses and does not obscure the main purpose.

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

Completeness3/5

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

For a simple read tool with one optional parameter and no output schema, the definition is minimally adequate: it states the resource and provider restriction. It remains incomplete about limit behavior and result semantics, which an agent may need in order to call it correctly beyond defaults.

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?

The schema has one optional parameter, limit, with default 20 and 0% description coverage. The tool description never mentions limit, so it adds no meaning about what the limit controls, whether it is a maximum count, or how it interacts with recency.

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 uses a specific verb and resource: get recent WhatsApp messages. It also adds a provider scope, Twilio only, which helps distinguish it from send-oriented WhatsApp siblings, but it does not explicitly differentiate from any read alternatives.

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?

The phrase 'Twilio provider only' gives an important usage constraint, implying the tool should be used only when WhatsApp is backed by Twilio. However, there is no explicit when-to-use guidance, no statement of when not to use it, and no named alternative for other providers.

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