Skip to main content
Glama

Send Message

send_message

Send a direct message in an existing conversation on the user's behalf. ALWAYS show the user the exact text and get their approval before calling this — it goes to a real person immediately.

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": {
      "conversationId": "<conversationId>",
      "accountId": "<accountId>",
      "message": "<message>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesThe exact message text the user approved, max 4000 characters
accountIdYesaccountId exactly as returned by list_conversations
conversationIdYesconversationId exactly as returned by list_conversations

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / accountId / description
      Added value: +"accountId exactly as returned by list_conversations"
    • addedInput schema / properties / conversationId / description
      Added value: +"conversationId exactly as returned by list_conversations"
    • addedInput schema / properties / message / description
      Added value: +"The exact message text the user approved, max 4000 characters"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent, closed-world write. The description adds genuinely new behavioral context beyond that: the message reaches a real person immediately, making the action effectively irreversible and requiring human sign-off. It does not cover failure modes or what happens if the conversation is invalid, which keeps it from a 5.

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?

Two sentences, zero filler. The purpose comes first and the approval requirement is front-loaded in caps so it cannot be missed before invocation.

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 three-parameter write tool with full schema coverage and no output schema, the description supplies purpose, a mandatory human-approval gate, and the real-world consequence. Only minor gaps remain, such as behavior when the conversationId is stale or the send fails.

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 description coverage is 100%, with each of the three required parameters documented, including that accountId and conversationId must come from list_conversations. The description only reinforces the 'exact text' notion for the message field, adding no syntax or format detail beyond the schema, so the baseline 3 applies.

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 direct message') plus scope ('in an existing conversation on the user's behalf'), which implicitly separates it from broadcast-style siblings. It stops short of naming an alternative explicitly, so an agent must infer the boundary from the phrase 'direct message' and 'existing conversation'.

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?

Gives a hard, unambiguous precondition: show the user the exact text and obtain approval before calling. That is strong when-to-use guidance for a high-stakes action. It does not address alternatives (e.g., when to use a broadcast or a templated send instead), so it is clear context without 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