Skip to main content
Glama

send_message

Sends one or more direct messages in order to a single Instagram chat or specified users, previewing recipients and text by default and sending only after approval.

Instructions

Send one or more direct messages, in order, to one chat. Dry run by default.

chat is an id, chat URL, username, or group name; users starts a new chat with one or more accounts instead. text holds each message, e.g. ["Hello", "Are you free?"]. reply_to (a message id) makes the first message a reply. With send=False nothing is sent; show the recipient and texts to the user and repeat with send=True only after they approve.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatNo
sendNo
textNo
usersNo
reply_toNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the safe-by-default dry run, the ordering of multiple messages, and that reply_to only affects the first message. It leaves open what happens if chat and users are both supplied, whether authentication is required, and what a failure returns. Those are real gaps for a mutation tool, but the safety-critical behavior is disclosed.

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?

The core action and its dry-run default are front-loaded, then parameters are explained sentence by sentence with useful inline examples. The only minor waste is the restatement of dry-run behavior in the opening line and again at the end, though that repetition reinforces the most important safety constraint.

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

Completeness4/5

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

For a five-parameter mutation tool with no annotations and no output schema, the description is nearly complete: it covers every parameter, the dry-run safety protocol, and message ordering. It stops short of stating the relationship when both chat and users are provided, or what the call returns on success and failure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it does: chat accepts an id, chat URL, username, or group name; users starts a new chat instead of targeting an existing one; text is an array of message bodies with a concrete example; reply_to is a message id applying to the first message; send toggles actual delivery. Every one of the five parameters gets meaning beyond its title.

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 opens with a specific verb and resource: 'Send one or more direct messages, in order, to one chat.' That is far more precise than the tool name alone and scopes the operation to a single chat with ordering guarantees. It does not explicitly contrast itself with siblings like new_chat or list_chats, so it stops short of a 5.

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 dry-run workflow is spelled out clearly: call with send=False first, show the recipient and texts to the user, then repeat with send=True only after approval. That is actionable when-to-use guidance. It names no alternative tools for cases this tool does not cover, so no exclusions are given.

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