Skip to main content
Glama

mailgate_create_inbox

Allowlist a new inbox address so AI agents and tests can receive OTP and magic-link emails; requires admin token and supports optional label/password.

Instructions

Allowlist a new inbox address on MailGate (requires MAILGATE_ADMIN_TOKEN).

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_address": "<email_address>"
    },
    "name": "mailgate_create_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional descriptive label.
passwordNoOptional password (>= 4 chars) to lock the inbox.
email_addressYesEmail address to allowlist.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, and it does disclose the admin-token authentication requirement, which is genuinely useful context. It stops short of explaining failure modes such as what happens when the address is already allowlisted, whether the operation is idempotent, or what the password lock actually enforces at runtime.

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?

A single compact sentence with the action front-loaded and the authentication requirement appended. There is no redundant or filler wording; every clause carries information.

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?

This is a simple three-parameter creation tool with a fully documented schema and no output schema to explain. The description covers the action and the credential prerequisite; the remaining details (label, password) are handled by the schema. Nothing essential to invoking it correctly 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?

Schema description coverage is 100%, so all three parameters (email_address, label, password with its >= 4 char constraint and lock semantics) are already documented in the schema. The description adds nothing about parameter format or constraints, so the baseline of 3 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?

States a specific verb and resource: 'Allowlist a new inbox address on MailGate'. This is clearly a creation/setup operation, distinct from siblings like mailgate_wait_for_email or mailgate_clear_messages. It does not explicitly contrast with siblings, but the resource makes selection unambiguous.

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 parenthetical '(requires MAILGATE_ADMIN_TOKEN)' gives a useful prerequisite, implying this is an admin-scoped setup step rather than a routine read. However, there is no explicit guidance on when to call this versus simply waiting for or simulating email, nor any exclusions or warnings about re-creating an existing inbox.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.