Skip to main content
Glama

workspaces_mailboxes_create

Adds an existing mailbox by its SMTP and IMAP settings (host, port, user, password). Sellvance sends campaign mail through SMTP and reads replies, bounces and opt-outs over IMAP. For a mailbox hosted by Sellvance, use workspaces_mailboxes_provision_create.

Method: POST /api/v1/workspaces/{workspace_sqid}/mailboxes/

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

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name shown in the recipient's inbox (the 'From' email header).
emailYes
signatureNoPlain-text signature appended to every message sent from this mailbox.
is_enabledNo
imap_configNoIMAP settings: {host, port, username, password, use_ssl, auth_method}
smtp_configNoSMTP settings: {host, port, username, password, use_tls, use_ssl, auth_method}
is_imap_enabledNo
is_smtp_enabledNo
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.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully explains what the mailbox will do downstream (send campaign mail via SMTP, ingest replies/bounces/opt-outs via IMAP) and gives the endpoint, but says nothing about required permissions, whether credentials are validated on creation, duplicate-email handling, or default enabled state.

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?

Two tight sentences that front-load the core distinction, followed by the HTTP method and path. Nothing is padded, though the trailing endpoint line is of marginal value to an agent choosing a tool.

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 12-parameter creation tool with no annotations and no output schema, the description covers the essential concept, the credential requirement, and the sibling routing. The remaining optional parameters are documented at length inside the schema, so the description does not need to repeat them.

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 67% and the schema itself is unusually rich (daily_send_limit spells out the warm-up ramp and caps). The description's parenthetical '(host, port, user, password)' only restates what imap_config/smtp_config already document, and it adds no meaning for the other ten parameters, so the baseline of 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?

States a specific verb and resource ('Adds an existing mailbox') plus the mechanism ('by its SMTP and IMAP settings'), and explicitly separates itself from workspaces_mailboxes_provision_create for Sellvance-hosted mailboxes. An agent can distinguish it from the sibling 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?

Gives an explicit routing rule: use this for an existing mailbox with your own SMTP/IMAP credentials, use provision_create when Sellvance hosts the mailbox. That is a named alternative plus the condition that selects it, which is the top of this scale.

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.