Skip to main content
Glama
ishan-parihar

facebook-lyr

Send Message

send_message
Destructive

Send Messenger text messages to conversations as the active or specified identity. Validates message and identity limits, then delivers via the legacy Mercury endpoint.

Instructions

Send a Messenger text message as the active (or specified) identity.

Validates the text, checks the identity's posting limits, records the attempt, and sends via the legacy Mercury endpoint. Fails honestly if sending is decommissioned for the account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoMust be true to send
messageYesMessage text
thread_idYesConversation id (from get_conversations)
account_idNoOptional stored identity id to send as (default: active)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond the destructiveHint annotation, the description discloses significant behavior: validation, posting limits checks, attempt recording, and use of the legacy Mercury endpoint. It also mentions 'fails honestly' for decommissioned accounts, adding valuable transparency.

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?

The description is two sentences, front-loaded with the primary purpose, and every clause adds value without redundancy.

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?

Given the tool complexity, the description covers key behavioral aspects (validation, limits, recording, endpoint, failure mode) and is complemented by an output schema, making it sufficiently complete for agent invocation.

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?

The input schema has 100% description coverage, so the baseline is 3. The description adds minimal extra parameter meaning; 'active (or specified) identity' aligns with account_id but is redundant with the schema description.

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?

The description uses a specific verb ('Send') and resource ('Messenger text message'), and clarifies identity handling ('active or specified identity'), which distinguishes it from sibling tools like create_post or comment_on_post.

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

Usage Guidelines4/5

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

The description clearly states the tool's purpose for sending Messenger text messages, providing clear context. However, it does not explicitly mention when not to use it or name alternative tools, so it stops short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ishan-parihar/facebook-lyr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server