Skip to main content
Glama

send_message

Send a chat message. Send a text, image, or file message to a conversation the user participates in. API: POST /messages. Required scope: chat:write.

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": {
      "body": "<body>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, so the mutation/no-retry profile is covered by structured data. The description adds real value with the required scope (chat:write) and the underlying endpoint POST /messages, but says nothing about failure behavior, what happens to media after upload, or whether delivery is immediate.

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?

Three short sentences, each front-loaded and each carrying information: what it does, what payloads are allowed, and the endpoint/scope. No filler or redundancy.

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 single-parameter mutating tool with no output schema, an agent still lacks the media_url/message_type dependency and any content constraints, both of which are absent from the schema as well. Scope and endpoint are covered, so it is adequate but not sufficient to call correctly on the first attempt.

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 description coverage is 0%, so the description must carry the burden, and it only partly does: the 'text, image, or file' phrase maps to the message_type enum. It never explains conversation_id, content (length/format limits), or media_url, and critically omits that media_url is effectively required when message_type is image or file.

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?

States a specific verb and resource ('Send a chat message') and enumerates the supported content types (text, image, file) plus the target ('a conversation the user participates in'). It does not name the closely related siblings (send_messages_batch, upload_chat_image), so an agent must infer the single-send vs. batch split itself.

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?

The only usage-shaped constraint is that the conversation must be one the user participates in. There is no guidance on when to prefer this over send_messages_batch or the upload_* variants, no preconditions beyond the scope string, and no exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources