Skip to main content
Glama

Connect a mailbox from any provider

argorant_connect_smtp_mailbox
Read-onlyIdempotent

Use it when the user says "connect my Zoho mailbox" or wants to send from any email service other than Google and Microsoft, such as Fastmail, Yahoo, iCloud, IONOS or a web host. You get the link to Argorant's mailbox form, which tests sending and reading replies and connects the mailbox only when both work; the same form reconnects a mailbox after a password change. Google Workspace connects with argorant_connect_google_workspace and Microsoft 365 on the Mailboxes page. Never ask for a mailbox password in the chat; the user enters it only in that form, and many services need an app password there. The answer is connect_url and what to do on that page; afterwards argorant_list_inboxes shows the new mailbox. This changes nothing by itself and is free. More in the docs at https://docs.argorant.com/docs/agents/tools#mailboxes

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "argorant_connect_smtp_mailbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoThe mailbox address, for example maya@linfieldhq.com. Optional; it is only repeated in the answer so the user knows which mailbox to add.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • removedInput schema / $defs
      Removed value: -{
      -  "MailboxInput": {
      -    "additionalProperties": false,
      -    "description": "One mailbox in a `mailboxes` list.",
      -    "properties": {
      -      "daily_limit": {
      -        "anyOf": [
      -          {
      -            "maximum": 10000,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Most campaign emails this mailbox sends a day. Leave empty for 25.",
      -        "title": "Daily Limit"
      -      },
      -      "email": {
      -        "anyOf": [
      -          {
      -            "maxLength": 254,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "The mailbox address that sends, for example anna@yourcompany.com. Required.",
      -        "title": "Email"
      -      },
      -      "imap_host": {
      -        "anyOf": [
      -          {
      -            "maxLength": 253,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Incoming server name for reading replies, as your provider lists it. Not needed with a preset.",
      -        "title": "Imap Host"
      -      },
      -      "imap_password": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Password for reading replies. Leave empty to use the one for sending.",
      -        "title": "Imap Password"
      -      },
      -      "imap_port": {
      -        "anyOf": [
      -          {
      -            "maximum": 65535,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Incoming server port, usually 993. Leave empty for 993.",
      -        "title": "Imap Port"
      -      },
      -      "imap_security": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "ssl",
      -              "starttls",
      -              "none"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Incoming connection security. ssl for port 993, starttls for port 143. Leave empty to pick it from the port.",
      -        "title": "Imap Security"
      -      },
      -      "imap_username": {
      -        "anyOf": [
      -          {
      -            "maxLength": 320,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Sign-in name for reading replies. Leave empty to use the one for sending.",
      -        "title": "Imap Username"
      -      },
      -      "preset": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "zoho",
      -              "zoho_eu",
      -              "zoho_personal",
      -              "fastmail",
      -              "godaddy",
      -              "titan",
      -              "hostinger",
      -              "ionos",
      -              "ionos_de",
      -              "ionos_uk",
      -              "namecheap",
      -              "yahoo",
      -              "icloud",
      -              "outlook",
      -              "other"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "The email provider, if it is on the list. It fills in the server names, ports and security for you. Use other and fill in the servers when the provider is not listed.",
      -        "title": "Preset"
      -      },
      -      "sender_name": {
      -        "anyOf": [
      -          {
      -            "maxLength": 120,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "The sender name people see, for example Anna Weber. Optional.",
      -        "title": "Sender Name"
      -      },
      -      "smtp_host": {
      -        "anyOf": [
      -          {
      -            "maxLength": 253,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Outgoing server name for sending, as your provider lists it. Not needed with a preset.",
      -        "title": "Smtp Host"
      -      },
      -      "smtp_password": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "The mailbox password, or an app password when the provider asks for one. Required. It is stored safely and never shown again.",
      -        "title": "Smtp Password"
      -      },
      -      "smtp_port": {
      -        "anyOf": [
      -          {
      -            "maximum": 65535,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Outgoing server port. Use 587. If you give 465, Argorant tries 587 and saves 587 when it works. Not needed with a preset.",
      -        "title": "Smtp Port"
      -      },
      -      "smtp_security": {
      -        "anyOf": [
      -          {
      -            "enum": [
      -              "ssl",
      -              "starttls",
      -              "none"
      -            ],
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Outgoing connection security, starttls on port 587. Leave empty to pick it from the port.",
      -        "title": "Smtp Security"
      -      },
      -      "smtp_username": {
      -        "anyOf": [
      -          {
      -            "maxLength": 320,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "default": null,
      -        "description": "Sign-in name for sending. Leave empty when it is the email address.",
      -        "title": "Smtp Username"
      -      }
      -    },
      -    "title": "MailboxInput",
      -    "type": "object"
      -  }
      -}
    • removedInput schema / properties / daily_limit
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maximum": 10000,
      -      "minimum": 1,
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Most campaign emails this mailbox sends a day. Leave empty for 25.",
      -  "title": "Daily Limit"
      -}
    • changedInput schema / properties / email / description
      Previous value: -"The mailbox address that sends, for example anna@yourcompany.com. Required. Leave it empty when you give mailboxes."New value: +"The mailbox address, for example maya@linfieldhq.com. Optional; it is only repeated in the answer so the user knows which mailbox to add."
    • removedInput schema / properties / imap_host
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maxLength": 253,
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Incoming server name for reading replies, as your provider lists it. Not needed with a preset.",
      -  "title": "Imap Host"
      -}
    • removedInput schema / properties / imap_password
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Password for reading replies. Leave empty to use the one for sending.",
      -  "title": "Imap Password"
      -}
    • removedInput schema / properties / imap_port
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maximum": 65535,
      -      "minimum": 1,
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Incoming server port, usually 993. Leave empty for 993.",
      -  "title": "Imap Port"
      -}
    • removedInput schema / properties / imap_security
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "ssl",
      -        "starttls",
      -        "none"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Incoming connection security. ssl for port 993, starttls for port 143. Leave empty to pick it from the port.",
      -  "title": "Imap Security"
      -}
    • removedInput schema / properties / imap_username
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maxLength": 320,
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Sign-in name for reading replies. Leave empty to use the one for sending.",
      -  "title": "Imap Username"
      -}
    • removedInput schema / properties / mailboxes
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "items": {
      -        "$ref": "#/$defs/MailboxInput"
      -      },
      -      "type": "array"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Up to 25 mailboxes to connect in one go, each with its own settings. Leave the single mailbox fields empty then.",
      -  "title": "Mailboxes"
      -}
    • removedInput schema / properties / preset
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "zoho",
      -        "zoho_eu",
      -        "zoho_personal",
      -        "fastmail",
      -        "godaddy",
      -        "titan",
      -        "hostinger",
      -        "ionos",
      -        "ionos_de",
      -        "ionos_uk",
      -        "namecheap",
      -        "yahoo",
      -        "icloud",
      -        "outlook",
      -        "other"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "The email provider, if it is on the list. It fills in the server names, ports and security for you. Use other and fill in the servers when the provider is not listed.",
      -  "title": "Preset"
      -}
    • removedInput schema / properties / sender_name
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maxLength": 120,
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "The sender name people see, for example Anna Weber. Optional.",
      -  "title": "Sender Name"
      -}
    • removedInput schema / properties / smtp_host
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maxLength": 253,
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Outgoing server name for sending, as your provider lists it. Not needed with a preset.",
      -  "title": "Smtp Host"
      -}
    • removedInput schema / properties / smtp_password
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "The mailbox password, or an app password when the provider asks for one. Required. It is stored safely and never shown again.",
      -  "title": "Smtp Password"
      -}
    • removedInput schema / properties / smtp_port
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maximum": 65535,
      -      "minimum": 1,
      -      "type": "integer"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Outgoing server port. Use 587. If you give 465, Argorant tries 587 and saves 587 when it works. Not needed with a preset.",
      -  "title": "Smtp Port"
      -}
    • removedInput schema / properties / smtp_security
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "enum": [
      -        "ssl",
      -        "starttls",
      -        "none"
      -      ],
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Outgoing connection security, starttls on port 587. Leave empty to pick it from the port.",
      -  "title": "Smtp Security"
      -}
    • removedInput schema / properties / smtp_username
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "maxLength": 320,
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "Sign-in name for sending. Leave empty when it is the email address.",
      -  "title": "Smtp Username"
      -}
  2. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and the description is consistent with them ('This changes nothing by itself and is free'). It adds real context beyond the annotations: the form verifies both sending and reading replies before connecting, and many providers need an app password typed into that form rather than into chat. What it does not cover is behavior after the link is returned — no expiry, single-use, or what happens if the user abandons the form — so it is useful but not exhaustive for a link-issuing tool.

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 trigger condition is front-loaded in the first sentence and the routing to alternatives follows immediately, so the most decision-relevant information comes first. The prose is dense but each sentence carries a distinct fact (form behavior, password rule, return value, follow-up tool); the middle sentence about Google/Microsoft routing is slightly compressed and reads awkwardly, costing a point.

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?

Even though an output schema exists, the description still names the return (connect_url plus on-page instructions) and the next step (argorant_list_inboxes shows the new mailbox), so the agent knows the full call-to-outcome flow. Security-sensitive handling of credentials is covered, which is the main risk for this tool.

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?

With one optional parameter at 100% schema coverage, the schema already carries the meaning, and the description correctly frames email as merely echoed back so the user knows which mailbox to add. That framing is mild added value but does not extend syntax, validation, or format guidance beyond the schema, so baseline 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 concrete action (connect a mailbox) and its mechanism (a link to Argorant's mailbox form) for a clearly bounded resource class: any provider other than Google and Microsoft. It explicitly names the sibling that handles the excluded case (argorant_connect_google_workspace), so an agent can route 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 both a positive trigger (user says 'connect my Zoho mailbox', or names Fastmail, Yahoo, iCloud, IONOS, a web host) and explicit exclusions with the correct alternative routes for Google Workspace and Microsoft 365. It also covers the reconnect-after-password-change case and states the guardrail that a password must never be requested in chat, which is exactly the kind of when/when-not guidance that prevents misuse.

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.