Skip to main content
Glama

Mandar un WhatsApp a un número

whatsapp_send_message
DestructiveIdempotent

Manda texto y/o una imagen JPEG/PNG/WebP de hasta 5 MB (files) por el WhatsApp vinculado de la marca a un número (con código de país). Úsala solo cuando el usuario pidió escribirle a esa persona y el texto está acordado; nunca para mensajes masivos (para eso están las campañas). Un operation_id nuevo por mensaje; repetirlo no lo manda dos veces.

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": {
      "operation_id": "<operation_id>",
      "to": "<to>"
    },
    "name": "whatsapp_send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
textNo
filesNoUna imagen JPEG/PNG/WebP adjuntada o generada en este chat, hasta 5 MB. No rutas locales ni enlaces externos.
brand_idNoID de la marca (de list_brands). Usa solo la marca que el usuario nombró; si no la nombró y hay varias, pregúntale cuál.
operation_idYesIdentificador único de este pedido (por ejemplo un UUID). Repite el mismo al reintentar el mismo pedido; uno nuevo para un pedido nuevo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint, openWorldHint and idempotentHint, so safety is partly covered. The description adds genuinely useful semantics about how idempotency works in practice ('un operation_id nuevo por mensaje; repetirlo no lo manda dos veces'), which tells the agent how to retry safely. It does not, however, spell out what a successful send returns or what failures look like.

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?

Three tight sentences, front-loaded with the capability and followed by the usage constraint and the idempotency rule. The parenthetical '(files)' referencing the parameter name is slightly awkward but costs little.

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?

There is no output schema, so the description should indicate what comes back from a send (message id, delivery status, error cases); it is silent on that. Constraints and usage are well covered, so the gap is limited to the response side.

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?

At 60% schema coverage, the description contributes meaning beyond the schema: the country-code requirement for `to`, the file size and format limits, and the retry contract for `operation_id`. Some of the file constraints are duplicated in the nested schema description, so it is not maximally additive.

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?

States a specific verb (send) plus the exact resource (text and/or a single JPEG/PNG/WebP image up to 5 MB) delivered through the brand's linked WhatsApp to a phone number with country code. It is clearly separable from campaign broadcast tools and from scheduling siblings.

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?

Gives an explicit precondition ('solo cuando el usuario pidió escribirle a esa persona y el texto está acordado') and an explicit exclusion with a named alternative ('nunca para mensajes masivos; para eso están las campañas'). The agent knows both when to call it and when to route elsewhere.

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