Skip to main content
Glama
Meta Business Messaging

Meta Business Messaging

whatsapp_send_image

Send a WhatsApp image message using a previously uploaded media ID or a public HTTPS link, with an optional caption for the recipient.

Instructions

Send a WhatsApp image message. Provide either a previously uploaded media.id or a public HTTPS link.

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": {
      "to": "<to>",
      "media": "<media>"
    },
    "name": "whatsapp_send_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient phone number in E.164 (+55...) or wa_id
mediaYes
access_tokenNoOptional override for the access token (falls back to WHATSAPP_ACCESS_TOKEN env)
phone_number_idNoWhatsApp Business Phone Number ID (falls back to WHATSAPP_PHONE_NUMBER_ID env)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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. Beyond the implicit mutation signal in "Send", it discloses nothing about authentication requirements, delivery guarantees, rate limits, failure modes, or that the media link must be publicly reachable by Meta. The either/or media source rule is a small behavioral hint but far from sufficient.

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?

Two sentences, zero filler, with the action stated first and the input-construction rule second. Every clause earns its place.

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 mutating send tool with no annotations and no output schema, the description covers the core media-source decision but omits caption handling, whether the media must be an image MIME type (the schema's filename field is even scoped to document/audio, which is confusing here), and any error/return behavior. Adequate but with clear gaps.

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?

The nested media object has no oneOf/anyOf constraint in the schema, so the description adds real meaning by stating that exactly one of media.id or media.link should be provided. Schema coverage is 75%, and this is the single most consequential ambiguity in the parameters, so the added value is meaningful even though caption, filename and to are left to the schema.

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?

"Send a WhatsApp image message" gives a specific verb (send), channel (WhatsApp) and resource type (image), which implicitly separates it from the many whatsapp_send_* siblings for audio, video, document and sticker. It stops short of explicitly contrasting with those siblings or with the instagram_/messenger_ send tools, but the media type is stated plainly enough for selection.

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 second sentence tells the agent HOW to supply media (uploaded media.id or public HTTPS link), which is useful invocation guidance, but there is no when-to-use/when-not guidance relative to whatsapp_send_document, whatsapp_send_video or whatsapp_upload_media. Usage is implied by the media type rather than stated.

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