Skip to main content
Glama

The-Y CRM

Set up mailbox

setup_mailbox
DestructiveIdempotent

Creates an email mailbox (or completes an existing one with the same address) and enters the servers (IMAP/SMTP). Gmail servers are set automatically. Without password: the person enters it via the link; for Microsoft they click "Sign in with Microsoft".

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": {
      "address": "<address>"
    },
    "name": "setup_mailbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoLabel (optional)
addressYesEmail address of the mailbox
brand_idNoID of the brand (from get_account_overview or get_webchat_embed_code); empty = default brand
imap_sslNoEncrypted (SSL/TLS)
smtp_sslNoEncrypted (SSL/TLS)
from_nameNoSender name in emails
imap_hostNoServer for incoming mail (IMAP), e.g. imap.example.com
imap_portNoPort (number)
imap_userNoUser name at the mail server (usually the email address)
smtp_hostNoServer for outgoing mail (SMTP), e.g. smtp.example.com
smtp_portNoPort (number)
smtp_userNoUser name at the mail server (usually the email address)

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?

Beyond the annotations, the description discloses important behavior: it may complete an existing mailbox with the same address, Gmail server settings are automatic, and password handling differs for generic links versus Microsoft sign-in. It does not discuss error cases or permission requirements, but the annotations already cover the destructive/open-world/idempotent profile.

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 description is concise and front-loads the core action before adding Gmail and password behavior. The phrase 'enters the servers' is slightly informal, but there is no redundant wording or filler.

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 setup tool with no output schema, the description covers the main create-or-complete flow, automatic Gmail configuration, and the two password-authentication paths. The detailed input schema fills in the server-field semantics, so the remaining gaps around post-setup state or error handling are relatively minor.

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

Parameters4/5

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

The schema already has 100% description coverage, so the baseline is 3. The description adds meaningful conditional semantics by noting that Gmail servers are set automatically, which tells the agent when IMAP/SMTP parameters may be unnecessary, and it explains the password-entry flow even though password is not a schema field.

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 creates an email mailbox or completes an existing one with the same address, and configures IMAP/SMTP servers. This clearly distinguishes it from sibling phone, webchat, and messaging tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage through the create/complete mailbox framing and explains two password-entry paths, including Microsoft sign-in. It does not explicitly state when to choose this tool over alternatives or call out prerequisites or exclusions.

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.