Skip to main content
Glama

Send a message

send_message
Destructive

Propose a message to send as this account. On most workspaces this is QUEUED FOR THE USER TO APPROVE rather than delivered — check the staged field on the result and say what actually happened. Only tenants, staff and people with an existing thread can be messaged. Always show the user the exact text first. If you want them to review and send it themselves, use draft_message instead.

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

Input Schema

NameRequiredDescriptionDefault
toYesRecipient email address.
textYesThe message body, max 5000 characters.
chat_typeNoe.g. tenant, service. Defaults to tenant.

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

The annotations declare a non-read-only, destructive, open-world, non-idempotent operation, and the description adds crucial behavior the annotations cannot express: on most workspaces the message is queued for approval rather than delivered, and the agent must inspect the `staged` field and report the actual outcome. Requiring the user to see the exact text first is additional safety context beyond the structured hints.

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?

Four tight sentences, front-loaded with the surprising behavior (queuing) followed by eligibility, the review requirement, and the alternative tool. Nothing is redundant with the schema or annotations.

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?

Although an output schema exists, the description usefully points at the specific field (`staged`) that determines the real-world outcome, which is the one thing an agent must know to report accurately. Combined with recipient restrictions and the alternative-tool routing, nothing material is missing for a three-parameter message tool.

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 the baseline is 3, but the description adds real meaning by constraining who the `to` value can be (tenants, staff, or people with an existing thread) — a constraint absent from the schema's bare 'Recipient email address'. It does not elaborate on chat_type beyond the schema's own examples.

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 states a specific verb and resource ('Propose a message to send as this account') and immediately differentiates itself from the sibling draft_message, so an agent can tell the two apart without opening either schema.

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?

It gives explicit routing guidance: use this to propose-and-handle sending, and use draft_message instead when the user should review and send it themselves. It also states a hard eligibility rule (only tenants, staff, and existing threads), which is exactly the 'when not to use' information an agent needs.

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