Skip to main content
Glama

messages_send_test

Body {to: '<your-email>', mailbox_sqid?: '<sqid>'} — renders the message against its lead's data and sends to to from the chosen mailbox (or the default one). to must be your own: the address of a user of this account, or a mailbox of this workspace. A test copy skips the lead's opt-out and country checks because it doesn't go to the lead, so it can't be pointed at anyone else. Doesn't change the real message's status.

Method: POST /api/v1/workspaces/{workspace_sqid}/messages/{sqid}/send-test/

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": {
      "sqid": "<sqid>",
      "body": "<body>",
      "subject": "<subject>"
    },
    "name": "messages_send_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
sqidYes
channelNo
subjectYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does add real value: it discloses that the opt-out and country checks are skipped and why, that the lead's status is unaffected, and that a mailbox may be specified or default is used. It does not cover rate limits, whether the test send is idempotent/repeatable, error behavior when `to` is invalid, or what the response contains for a side-effecting operation.

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?

Three tight sentences plus the method line, each carrying distinct information: rendering behavior, the `to` restriction, and the skipped checks. Front-loading is weakened by opening on the body shape rather than the action, and the closing HTTP method/path line is low value for an agent that already has the tool name.

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 4-parameter, no-annotation, no-output-schema tool, the behavioral story is solid but the parameter story is not: half the inputs are undocumented and the body-shape framing conflicts with the schema. An agent would know why and to whom to send a test, but not confidently what `subject`, `channel`, or `body` should contain.

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 compensate, and it largely does not: `subject`, `channel` (which has a 0-5 enum the schema only shows without prose) and the string `body` are never explained. Worse, the description's '`{to: ..., mailbox_sqid?: ...}`' framing describes request fields that do not appear in the input schema, while the actual `body` parameter is a minLength-1 string, creating ambiguity about what an agent should pass.

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 states a specific action: it renders the message against its lead's data and sends a test copy to a chosen address. It distinguishes the test path from a real send ('A test copy... Doesn't change the real message's status'), though it never names the concrete sibling (e.g. messages_send_now) an agent should use instead. The opening 'Body {to: ...}' fragment is slightly awkward as a lead, but the purpose is still recoverable in one read.

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?

It gives a clear condition for use (you want a test copy that skips lead-facing checks) and states the hard constraint that `to` must be your own address or a workspace mailbox, which is exactly the guidance an agent needs to avoid misuse. It stops short of explicitly routing to the production-send sibling when a real send is wanted, so the alternative is implied rather than stated.

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.