Skip to main content
Glama

Connect a mailbox

connect_mailbox
Read-onlyIdempotent

Start connecting a mailbox on one of the customer's own domains. Returns a private link on globalhostia.com where the customer signs in and enters the mailbox password; the password is checked and stored encrypted and never passes through this chat. After that the mail tools work for that address.

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": "connect_mailbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesMailbox address on one of the customer's own domains, e.g. info@example.com.

Output Schema

NameRequiredDescriptionDefault
connectedNo
connect_urlNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description explains the actual mechanics: a private link on globalhostia.com is returned, the customer enters the password out-of-band, the password is validated and stored encrypted, and it never transits this chat. That is exactly the security/credential context an agent needs before calling, and it also clarifies that the connection completes only after the customer acts.

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 sentences, front-loaded with the action, then the return/handoff behavior, then the downstream effect. No filler and no repetition of the title or schema.

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?

For a single-parameter tool with annotations and an output schema, the description covers the out-of-band handoff, the credential handling, and what becomes possible afterward. Nothing an agent needs in order to call this correctly and explain it to a customer is missing.

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?

Only one parameter with 100% schema description coverage; the schema already documents the email field with an example. The description reinforces the domain ownership constraint but adds no format or validation meaning beyond what the schema states, so the baseline applies.

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 names a specific verb and resource ('Start connecting a mailbox') and immediately scopes it to 'one of the customer's own domains' and the follow-on effect that 'the mail tools work for that address.' That distinguishes it from create_mailbox/delete_mailbox in substance, though the contrast is only implicit rather than naming the sibling.

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?

Usage context is clear: an address on a customer-owned domain that is not yet connected, and calling it unlocks the other mail tools for that address. It gives no explicit when-not guidance (e.g., that a nonexistent mailbox belongs to create_mailbox rather than this tool), so it stops short of full routing guidance.

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.