Skip to main content
Glama
Automata MCP

Automata MCP

Send WhatsApp image

send-whatsapp-image

Send a JPEG or PNG image (up to 5 MB) to a WhatsApp contact or existing chat, with an optional caption, using a public URL or base64 data.

Instructions

[WhatsApp] Send one image (JPEG or PNG, at most 5 MB) from the connected WhatsApp account, with an optional caption. Pass the image as imageUrl (a public link this server downloads) or as imageBase64 — exactly one. Recipient rules are those of send-text-message: to reply in an existing conversation, pass its jid from list-chats or read-messages as number, exactly as returned; never strip an @lid suffix or send to its digits alone. The account must be in the open state — check with get-connection-status first. Messages cannot be unsent once delivered. The account owner may have set a disclaimer line that is appended to every caption automatically; when one was, the response names it in disclaimerAppended.

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": {
      "number": "<number>"
    },
    "name": "send-whatsapp-image"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYesRecipient: a chat's full jid exactly as list-chats or read-messages return it, or, for someone with no existing chat, a phone number in international format — country code included, digits only, e.g. 5511999999999
captionNoText shown under the image
imageUrlNoPublic http(s) URL of a JPEG or PNG image (at most 5 MB). It is downloaded by this server, so it must be reachable without signing in.
imageBase64NoInstead of imageUrl: the JPEG or PNG file itself, base64-encoded (a data: URL prefix is accepted). Requests are capped at 2 MB, so this suits images up to about 1.5 MB.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover readOnly/openWorld/idempotent, but the description adds context those don't: the send is irreversible ('Messages cannot be unsent once delivered'), the account must be connected and open, and the owner's disclaimer may be appended to the caption with the response naming it in `disclaimerAppended`. The only gap is that it doesn't describe failure/error modes or delivery confirmation.

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?

Dense but front-loaded: capability and limits first, then recipient rules, then prerequisites and side effects. A single long paragraph with some stacking of clauses, but nearly every sentence carries actionable information.

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

Completeness5/5

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

For a write tool with no output schema, it covers format/size limits, argument mutual exclusion, recipient addressing, connection prerequisite, irreversibility, and the one response field of note. Nothing an agent needs to call it correctly is missing.

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%, so baseline is 3; the description earns extra by specifying the mutual exclusion of `imageUrl` and `imageBase64` ('exactly one') and the strict `number` rule — pass the full jid exactly as returned, never strip `@lid`. These constraints are not stated in the schema itself.

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 and resource ('Send one image ... from the connected WhatsApp account') plus the format and size envelope. The '[WhatsApp]' prefix and the image focus separate it from send-telegram-image and send-text-message without needing their schemas.

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 explicit routing rules: choose imageUrl OR imageBase64 ('exactly one'), inherit recipient conventions from send-text-message, and check the account is in the `open` state via get-connection-status first. It also names the source of the `jid` (list-chats or read-messages) and warns against stripping `@lid`.

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