Skip to main content
Glama
Meta Business Messaging

Meta Business Messaging

messenger_send_attachment

Send image, audio, video, or file attachments to a Messenger recipient using a public URL or previously uploaded attachment ID.

Instructions

Send a media attachment (image, audio, video or generic file).

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": {
      "psid": "<psid>",
      "type": "<type>"
    },
    "name": "messenger_send_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoPublic URL of the media
psidYesPage-Scoped User ID (PSID) of the recipient
typeYes
page_idNoFacebook Page ID (falls back to MESSENGER_PAGE_ID env)
is_reusableNo
access_tokenNoPage Access Token (falls back to MESSENGER_PAGE_ACCESS_TOKEN env)
attachment_idNoID of a previously uploaded attachment (from messenger_upload_attachment)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/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 behavioral burden and provides almost nothing: it does not state that this is a mutation that delivers a message to a user, does not mention that a page access token is needed (falling back to an env var), and does not address the ambiguity that neither url nor attachment_id is required. Nothing is contradicted, but for an outbound-send tool this is a substantial disclosure gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero waste, but it is under-specified rather than concise for a 7-parameter messaging tool. The enumerated media types duplicate the enum already in the schema, so the one sentence spent buys little.

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?

For a 7-parameter, annotation-free outbound-send tool with no output schema, the definition leaves key operational facts unstated: that exactly one of url or attachment_id must be supplied, the authentication/fallback behavior, and what a successful send returns. The schema covers most fields, but the description does not fill the remaining gaps.

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?

Schema coverage is 71%, so the baseline is 3; the schema already explains psid, url, page_id, access_token and attachment_id. The description only restates the 'type' enum values, adding no meaning about the url-vs-attachment_id choice or the effect of is_reusable, which is the one non-obvious parameter.

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 gives a specific verb ('Send') and resource ('a media attachment') and enumerates the supported media kinds (image, audio, video, file). It does not, however, distinguish this tool from close siblings such as messenger_send_media_template or messenger_upload_attachment, so an agent must infer which one applies.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no pointer to alternatives like messenger_upload_attachment or the media-template tools. The agent gets no signal about when a plain attachment is preferable to a template send.

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