Skip to main content
Glama

Send message (agent may act on it)

send_message
Destructive

⚠️ May trigger trades: the agent that answers can ACT on the message, not just reply — the auto-trader agent can update autotrade settings and close positions, so a message that asks for a trading action has the same effect as calling the destructive trading tools. Confirm with the user before sending a message that requests any trading action. Money-moving actions never run straight from a message: the agent replies with an approval request (approvalRequest on the message from get_messages) and the action runs only after the user approves it — send approval: { approvalId, decision } (preferred: with it the message text is saved but not interpreted; without it, a plain reply such as "approve" or "cancel" decides only the request carried by the latest assistant message, see docs/mcp.md for the exact phrases). Any other message cancels the request (approvalRequest.status becomes superseded); requests expire after 10 minutes. Send a message to an existing conversation. The AI agent processes in the background; poll get_messages for the response. If overage is hit, this returns 402 payment guidance. To submit payment proof, include payment.

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

Input Schema

NameRequiredDescriptionDefault
userIdNoThe user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me).
messageYesThe message to send
paymentNoOptional x402 payment proof. Include after a 402 payment_required response.
approvalNoApprove or reject a pending money action. Only send 'approve' after the user explicitly approved that exact action.
conversationIdYesThe conversation ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description builds on that with concrete consequences: the auto-trader agent can change autotrade settings and close positions, money-moving actions require an approval round-trip, any other message supersedes a pending request, and requests expire after 10 minutes. It also discloses the 402 overage behavior and payment-proof path, which the annotations cannot express.

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?

Safety warning is correctly front-loaded for a destructive tool and nearly every clause carries actionable information. The approval paragraph is dense, with stacked parentheticals and an em-dash aside that make it harder to parse on first read than the rest of the text.

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?

No output schema exists, yet the description covers the asynchronous return behavior (background processing, poll get_messages), the approvalRequest fields surfaced on messages, the 402 payment path, and the expiry window. For a five-parameter destructive tool with nested objects, nothing an agent needs to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description goes beyond it by explaining the `approval` branch semantics — with it the text is saved but not interpreted, without it a terse reply only resolves the latest assistant message's request — and by tying `payment` to a preceding 402 response. userId and message add nothing beyond the schema, but the nested-object interplay is genuinely clarified.

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?

States a specific verb+resource: 'Send a message to an existing conversation,' which implicitly separates it from create_conversation (new thread) and get_messages (polling for replies). The warning that the answering agent can act on the message adds scope the name alone would not convey.

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

Usage Guidelines5/5

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

Gives explicit when-to-use and when-not-to guidance: confirm with the user before sending any trading-action request, poll get_messages for the response, include `payment` only after a 402, and use `approval` only after the user explicitly approves that exact action. It also names the alternative mechanism (plain 'approve'/'cancel' reply) and its narrower semantics.

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.