Skip to main content
Glama
Meta Business Messaging

Meta Business Messaging

messenger_send_button_template

Sends a Messenger text message with up to three buttons to a recipient, enabling quick replies or actions directly within the chat.

Instructions

Send a text message with up to 3 buttons.

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>",
      "text": "<text>",
      "buttons": "<buttons>"
    },
    "name": "messenger_send_button_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
psidYesPage-Scoped User ID (PSID) of the recipient
textYes
buttonsYes
page_idNoFacebook Page ID (falls back to MESSENGER_PAGE_ID env)
access_tokenNoPage Access Token (falls back to MESSENGER_PAGE_ACCESS_TOKEN env)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/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 for a mutating send operation. It discloses the 3-button cap but says nothing about delivery semantics, auth requirements (the page_id/access_token env fallbacks live only in the schema), failure modes, or what happens if a PSID is invalid or outside the 24-hour messaging window.

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?

It is a single front-loaded sentence with zero filler, which is structurally sound. However, the brevity is under-specification rather than economy, since the sentence omits everything an agent needs beyond the resource name.

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 5-parameter mutation tool with no annotations, no output schema, and an unconstrained nested button object, one sentence is far too thin. The description should at minimum define the button object contract and note the page-scoped messaging constraints.

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?

Schema coverage is 60%, and the undocumented part is the most important one: the `buttons` array items are an unconstrained object with no properties described anywhere. The description's only contribution is restating the maxItems=3 limit and never explains the expected button shape (type, title, url/payload), leaving the agent to guess.

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 states a concrete verb and resource: 'Send a text message with up to 3 buttons.' That clearly separates it from messenger_send_text (plain text) and hints at a templated message, though it never names a sibling or explains the difference explicitly.

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 at all: nothing says when a button template beats quick replies, a generic template, or plain text, and no prerequisites or exclusions are stated. The agent must infer usage from the tool name alone.

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