Skip to main content
Glama

placement_tests_create

Renders the message and sends it from from_mailbox_sqid to the IMAP mailbox to_mailbox_sqid, then polls that mailbox until the copy is found. Returns immediately with a pending row — poll GET /placement-tests/<sqid>/ for the outcome. Does not change the real message's status and does not charge connects.

Method: POST /api/v1/workspaces/{workspace_sqid}/placement-tests/

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": {
      "message_sqid": "<message_sqid>",
      "to_mailbox_sqid": "<to_mailbox_sqid>"
    },
    "name": "placement_tests_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_sqidYesSqid of the message to test.
to_mailbox_sqidYesSqid of the IMAP-enabled mailbox the probe is delivered to.
from_mailbox_sqidNoSqid of the sending mailbox. Must be attached to the message's campaign. Defaults to the campaign's first enabled SMTP mailbox.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the asynchronous contract (immediate `pending` return), the internal send-and-poll loop, and two important side-effect guarantees — the real message's status is untouched and no connects are charged. What remains unexplained is failure behavior (what a failed or timed-out probe looks like) and any permission or rate constraints, 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The behavioral sentence is front-loaded and dense with useful information, followed by a short follow-up note and the HTTP method line. Every sentence earns its place, though the bare `Method: POST ...` line is redundant with the tool's existence and adds little beyond the path.

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 mutation-style tool with no annotations and no output schema, the description supplies what an agent actually needs: the return shape (`pending` row), the polling endpoint for the result, and the cost/side-effect profile. Only the absence of failure-mode and precondition detail leaves a gap.

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 coverage is 100%, and the schema already documents all three parameters, including the default behavior of `from_mailbox_sqid`. The description's mapping of from/to mailboxes onto the send-and-poll flow adds a little meaning about how `to_mailbox_sqid` is used, but it largely restates what the schema provides, so the baseline 3 applies.

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: it renders a message, sends it from one mailbox to another, and polls until the copy arrives — a placement test probe. This is clearly distinct from the sibling read/delete tools (`placement_tests_get`, `placement_tests_list`, `placement_tests_delete`), and an agent can tell what the call produces without opening the schema.

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 concrete follow-up guidance: the call returns immediately with a `pending` row, and the outcome must be retrieved via `GET /placement-tests/<sqid>/`. That tells the agent when to use this tool and what to do next. It does not state any when-not conditions or preconditions (e.g., the campaign/mailbox configuration required for a valid probe), so it stops short of a 5.

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.