Skip to main content
Glama

workspaces_mailboxes_health_check_create

Sends a test email from this mailbox to a Sellvance check inbox and scores how spam filters see it. Runs in the background: returns task_sqid (poll jobs_get), then read the result with workspaces_mailboxes_health_retrieve. Once every 4 hours per mailbox (429 with next_allowed_at); not for archived mailboxes or ones without SMTP.

Method: POST /api/v1/workspaces/{workspace_sqid}/mailboxes/{sqid}/health-check/

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>",
      "email": "<email>",
      "name": "<name>"
    },
    "name": "workspaces_mailboxes_health_check_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name shown in the recipient's inbox (the 'From' email header).
sqidYes
emailYes
providerNoHosted email provider for managed mailboxes. * `opensrs` - OpenSRS
signatureNoPlain-text signature appended to every message sent from this mailbox.
is_enabledNo
is_managedNoTrue if this mailbox is hosted and managed by Sellvance (provisioned on a provider such as OpenSRS, billed monthly in connects). Credentials are generated by us and never shown to the user.
archived_atNoWhen the mailbox was archived; null when it is not. Archive and restore with the `archive` / `unarchive` actions.
last_sent_atNoLast time an email was sent.
health_statusNo* `unknown` - Unknown * `healthy` - Healthy * `warning` - Warning * `critical` - Critical
auto_paused_atNoSet when the compliance monitor paused this mailbox (hard bounces over 3% in 7 days, repeated reputation blocks, its domain on a blocklist). A paused mailbox sends nothing; resume it with `workspaces_mailboxes_resume_create` once the cause is fixed. Null when it is not paused.
billing_statusNoManaged-mailbox billing state. Overdue when monthly connects could not be charged. * `active` - Active * `overdue` - Overdue * `suspended` - Suspended
health_detailsNoParsed X-Spam headers and deliverability data from the last health check.
next_charge_atNoWhen the next monthly connects charge is due for a managed mailbox.
is_imap_enabledNo
is_smtp_enabledNo
last_charged_atNoWhen the last successful monthly charge occurred.
daily_send_limitNoCeiling this mailbox's warm-up ramp climbs to, in emails per day: 1 to 50, default 30. Sending does **not** start here: a new mailbox begins at 5/day to each receiving server (Google, Outlook, …) and grows ~10% a day off what it actually sent, reaching this number in roughly two weeks. Raising it lifts the ceiling, it does not release more volume today. There is no unlimited setting: past ~50 cold emails a day one mailbox gets its domain filtered, so add mailboxes instead. Every mailbox on one sending domain together is also capped (`COMPLIANCE_DOMAIN_DAILY_CAP`, 150 a day). See `codedoc/infrastructure.md` -> "Warm-up ramp".
forward_to_emailNoForward all incoming emails to this address. Leave blank to disable.
auto_pause_reasonNoWhy the compliance monitor paused this mailbox, in plain words.
check_spam_folderNoAlso check spam/junk folder during email processing.
delete_after_daysNoDelete emails older than this many days from the mailbox. 0 to disable.
current_send_countNoEmails sent by this mailbox today, across every receiving server. Reset lazily on the first send of a new day.
total_messages_sentNoLifetime count of successfully sent outgoing messages.
last_health_check_atNo
auto_pause_resumed_atNoWhen a user last resumed it after an automatic pause.

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 supplied, the description carries the full burden and does well: it discloses that this is an async background job returning `task_sqid`, that the side effect is sending a real email, and that throttling surfaces as a 429 with `next_allowed_at`. It does not mention whether the check consumes connects/credits or what a failed send looks like, leaving a small gap.

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?

Three dense sentences, front-loaded with what the tool does, followed by async mechanics, then constraints. No filler, and the endpoint line is a useful appendix rather than clutter.

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 an async, rate-limited diagnostic action with no output schema, the description covers the call, the polling path, the result retrieval path, the throttle signal, and mailbox eligibility. The main residual gap is the meaning of the required parameters against a 26-field request body.

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?

The description adds no meaning for any parameter, including the three required ones (`sqid`, `email`, `name`). Schema coverage is 77%, slightly below the high-coverage threshold, and `email`/`name` are ambiguous in this context, so some explanation of why a health check needs a display name and address would have been valuable.

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 opens with a specific verb+resource: it sends a test email from this mailbox to a Sellvance check inbox and scores spam-filter perception. That is clearly distinct from `workspaces_mailboxes_test_connection_create` (connectivity) and `workspaces_mailboxes_health_retrieve` (result 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 explicit when-not conditions ('not for archived mailboxes or ones without SMTP') and a rate constraint (once every 4 hours per mailbox). It also names the follow-up path via `jobs_get` and `workspaces_mailboxes_health_retrieve`, though it does not contrast with `test_connection` for an agent choosing between the two checks.

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.