Skip to main content
Glama

connect_purchased_mailboxes

Destructive

Connect several mailboxes the team already purchased through FuseAI as sending accounts in one call. mailboxIds are the RESELLER ids from the app's Domain Management mailboxes table (NOT Mongo _ids), max 25. Credentials are resolved server-side, nothing to supply and nothing is bought. Each mailbox is connected as connect_purchased_mailbox does: added to the account of whoever on the team bought it, taking a seat in the plan's mailbox limit (refused for that mailbox with EMAIL_ACCOUNT_LIMIT_REACHED when full) and switched on for campaigns at once, so running campaigns whose steps do not pin specific mailboxes can start sending from it; its inbox may also start syncing into FuseAI. An address that is already connected has its stored password and connection settings replaced and, if the system had switched it off, is switched back on, resuming its queued campaign emails. Returns a per-mailbox breakdown — a partial success is normal when some mailboxes are still provisioning.

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": {
      "mailboxIds": "<mailboxIds>"
    },
    "name": "connect_purchased_mailboxes"
  }
}

Input Schema

NameRequiredDescriptionDefault
mailboxIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Despite annotations already flagging destructiveHint=true and openWorldHint=true, the description adds substantial context the annotations cannot convey: seat consumption against the plan's mailbox limit, the specific EMAIL_ACCOUNT_LIMIT_REACHED refusal, that existing connections have stored passwords and settings overwritten and get re-enabled resuming queued emails, and that partial success is a normal outcome. This is exactly the side-effect disclosure a destructive batch mutation needs.

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?

Purpose and the critical id-format warning are front-loaded, and nearly every clause adds operational value. The middle sentence is very dense and runs long, which slightly hurts scannability, and 'nothing to supply and nothing is bought' is mildly redundant phrasing.

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?

No output schema exists, yet the description explains the return shape (a per-mailbox breakdown) and that partial success is expected, plus the per-mailbox failure condition. Combined with the credential, seat, and id-format details, an agent has everything needed to call this correctly and interpret results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description carries the full burden and does so well: it identifies mailboxIds as RESELLER ids from the Domain Management mailboxes table, explicitly warns against Mongo _ids, and restates the max of 25. This is the single most likely source of invocation error and it is addressed directly.

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 opening sentence gives a specific verb (connect), resource (purchased mailboxes), and scope (several in one call), and explicitly distinguishes itself from the singular sibling by stating each mailbox behaves 'as connect_purchased_mailbox does.' An agent can immediately tell this is the batch variant of an existing single-mailbox operation.

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 establishes the preconditions clearly: mailboxes must already be purchased through FuseAI, credentials are resolved server-side, and nothing is bought or supplied. The batch-vs-single distinction is implied by 'several... in one call' and the reference to connect_purchased_mailbox, but there is no explicit 'use the singular tool for one mailbox' routing statement.

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.