Skip to main content
Glama

Ballast - Cold Email

Connect a mailbox

add_mailbox

Connect a mailbox. Tests SMTP and IMAP login first and saves only when both pass. Google needs an app password. Microsoft 365 connects with OAuth from the dashboard.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / oneOf
      Added value: +[
      +  {
      +    "properties": {
      +      "dailyLimit": {
      +        "default": 30,
      +        "maximum": 500,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "displayName": {
      +        "maxLength": 120,
      +        "type": "string"
      +      },
      +      "email": {
      +        "type": "string"
      +      },
      +      "password": {
      +        "maxLength": 64,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "provider": {
      +        "const": "google_app",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "provider",
      +      "email",
      +      "password"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "dailyLimit": {
      +        "default": 30,
      +        "maximum": 500,
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "displayName": {
      +        "maxLength": 120,
      +        "type": "string"
      +      },
      +      "email": {
      +        "type": "string"
      +      },
      +      "imap": {
      +        "properties": {
      +          "host": {
      +            "maxLength": 253,
      +            "minLength": 1,
      +            "pattern": "^[a-z0-9.-]+$",
      +            "type": "string"
      +          },
      +          "port": {
      +            "maximum": 65535,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "security": {
      +            "enum": [
      +              "tls",
      +              "starttls"
      +            ],
      +            "type": "string"
      +          },
      +          "user": {
      +            "maxLength": 320,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "host",
      +          "port",
      +          "security",
      +          "user"
      +        ],
      +        "type": "object"
      +      },
      +      "password": {
      +        "maxLength": 512,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "provider": {
      +        "const": "smtp",
      +        "type": "string"
      +      },
      +      "smtp": {
      +        "properties": {
      +          "host": {
      +            "maxLength": 253,
      +            "minLength": 1,
      +            "pattern": "^[a-z0-9.-]+$",
      +            "type": "string"
      +          },
      +          "port": {
      +            "maximum": 65535,
      +            "minimum": 1,
      +            "type": "integer"
      +          },
      +          "security": {
      +            "enum": [
      +              "tls",
      +              "starttls"
      +            ],
      +            "type": "string"
      +          },
      +          "user": {
      +            "maxLength": 320,
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "host",
      +          "port",
      +          "security",
      +          "user"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "provider",
      +      "email",
      +      "password",
      +      "smtp",
      +      "imap"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties
      Removed value: -{
      -  "input": {
      -    "oneOf": [
      -      {
      -        "properties": {
      -          "dailyLimit": {
      -            "default": 30,
      -            "maximum": 500,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "displayName": {
      -            "maxLength": 120,
      -            "type": "string"
      -          },
      -          "email": {
      -            "type": "string"
      -          },
      -          "password": {
      -            "maxLength": 64,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "provider": {
      -            "const": "google_app",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "provider",
      -          "email",
      -          "password"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "properties": {
      -          "dailyLimit": {
      -            "default": 30,
      -            "maximum": 500,
      -            "minimum": 1,
      -            "type": "integer"
      -          },
      -          "displayName": {
      -            "maxLength": 120,
      -            "type": "string"
      -          },
      -          "email": {
      -            "type": "string"
      -          },
      -          "imap": {
      -            "properties": {
      -              "host": {
      -                "maxLength": 253,
      -                "minLength": 1,
      -                "pattern": "^[a-z0-9.-]+$",
      -                "type": "string"
      -              },
      -              "port": {
      -                "maximum": 65535,
      -                "minimum": 1,
      -                "type": "integer"
      -              },
      -              "security": {
      -                "enum": [
      -                  "tls",
      -                  "starttls"
      -                ],
      -                "type": "string"
      -              },
      -              "user": {
      -                "maxLength": 320,
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "host",
      -              "port",
      -              "security",
      -              "user"
      -            ],
      -            "type": "object"
      -          },
      -          "password": {
      -            "maxLength": 512,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "provider": {
      -            "const": "smtp",
      -            "type": "string"
      -          },
      -          "smtp": {
      -            "properties": {
      -              "host": {
      -                "maxLength": 253,
      -                "minLength": 1,
      -                "pattern": "^[a-z0-9.-]+$",
      -                "type": "string"
      -              },
      -              "port": {
      -                "maximum": 65535,
      -                "minimum": 1,
      -                "type": "integer"
      -              },
      -              "security": {
      -                "enum": [
      -                  "tls",
      -                  "starttls"
      -                ],
      -                "type": "string"
      -              },
      -              "user": {
      -                "maxLength": 320,
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "host",
      -              "port",
      -              "security",
      -              "user"
      -            ],
      -            "type": "object"
      -          }
      -        },
      -        "required": [
      -          "provider",
      -          "email",
      -          "password",
      -          "smtp",
      -          "imap"
      -        ],
      -        "type": "object"
      -      }
      -    ]
      -  }
      -}
    • removedInput schema / required
      Removed value: -[
      -  "input"
      -]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare the safety profile (not read-only, not destructive, not open-world). The description adds real behavior beyond that: credentials are validated against both SMTP and IMAP before anything is persisted, implying partial failures do not create a mailbox. It stops short of covering storage of the password, duplicate-mailbox handling, or failure reporting.

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 short sentences, zero filler. The action and its validation gate come first, then the provider-specific credential caveats, which is the right ordering for an agent scanning before invocation.

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 dual-branch oneOf tool with no output schema, the description covers the essential decision inputs: validation semantics and provider-specific auth. It omits the shape of the smtp/imap configuration requirement and what a failed validation returns, leaving the agent to rely entirely on the schema for those.

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 high, and the schema itself carries const values, enums, patterns, defaults and length bounds, so the baseline is 3. The description contributes one meaningful mapping - Google requires an app password for the password field - but says nothing about dailyLimit, displayName, or the smtp/imap host, port, security and user fields.

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?

States a specific verb and resource ('Connect a mailbox') and immediately adds the operational specifics of connecting (SMTP/IMAP test, save-on-pass). It clearly differs from the read-only sibling list_mailboxes, though it does not name any sibling explicitly.

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?

Provides concrete provider prerequisites: Google requires an app password, and Microsoft 365 is implicitly out of scope for this tool because it 'connects with OAuth from the dashboard.' That steers the agent away from an unsupported path, but there is no explicit statement of when to use this versus other mailbox-related siblings.

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.

Resources