Skip to main content
Glama

Create Email Inbox

create_email_inbox

Temporary email inbox for agents: receive verification emails, OTP/2FA codes and magic links for sign-ups you are authorized to run. $0.01 per started 600s; TTL 60-3600s. Pay with x402 or a HirePulse credit key (card at /credits; _meta hirepulse/credit_key). Same idempotency_key: same inbox. Reads, OTP polling and deletion included. Delivery and OTP not guaranteed.

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": {
      "idempotency_key": "<idempotency_key>"
    },
    "name": "create_email_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
ttl_secondsNo
idempotency_keyYes

Output Schema

NameRequiredDescriptionDefault
codeNo
statusNo
addressNo
inbox_idNo
capabilityNo
expires_atNo
access_tokenNoScoped bearer credential. Keep secret; expires with this inbox. Pass it as access_token in subsequent email tool calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedOutput schema / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "access_token": {
      -        "description": "Scoped bearer credential. Keep secret; expires with this inbox. Pass it as access_token in subsequent email tool calls.",
      -        "type": "string"
      -      },
      -      "address": {
      -        "title": "Address",
      -        "type": "string"
      -      },
      -      "capability": {
      -        "title": "Capability",
      -        "type": "string"
      -      },
      -      "expires_at": {
      -        "title": "Expires At",
      -        "type": "integer"
      -      },
      -      "inbox_id": {
      -        "title": "Inbox Id",
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "active",
      -        "default": "active",
      -        "title": "Status",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "inbox_id",
      -      "address",
      -      "capability",
      -      "expires_at"
      -    ],
      -    "title": "Inbox",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "code": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "status": {
      -        "maximum": 599,
      -        "minimum": 400,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "code"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / description
      Added value: +"Fields only; full schema in GET /v1/catalog."
    • addedOutput schema / properties
      Added value: +{
      +  "access_token": {
      +    "description": "Scoped bearer credential. Keep secret; expires with this inbox. Pass it as access_token in subsequent email tool calls."
      +  },
      +  "address": {},
      +  "capability": {},
      +  "code": {},
      +  "expires_at": {},
      +  "inbox_id": {},
      +  "status": {}
      +}
  2. Changed3 schema fields changed
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "access_token": {
      +        "description": "Scoped bearer credential. Keep secret; expires with this inbox. Pass it as access_token in subsequent email tool calls.",
      +        "type": "string"
      +      },
      +      "address": {
      +        "title": "Address",
      +        "type": "string"
      +      },
      +      "capability": {
      +        "title": "Capability",
      +        "type": "string"
      +      },
      +      "expires_at": {
      +        "title": "Expires At",
      +        "type": "integer"
      +      },
      +      "inbox_id": {
      +        "title": "Inbox Id",
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "active",
      +        "default": "active",
      +        "title": "Status",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "inbox_id",
      +      "address",
      +      "capability",
      +      "expires_at"
      +    ],
      +    "title": "Inbox",
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "status": {
      +        "maximum": 599,
      +        "minimum": 400,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "code"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / description
      Removed value: -"Fields only; full schema in GET /v1/catalog."
    • removedOutput schema / properties
      Removed value: -{
      -  "access_token": {
      -    "description": "Scoped bearer credential. Keep secret; expires with this inbox. Pass it as access_token in subsequent email tool calls."
      -  },
      -  "address": {},
      -  "capability": {},
      -  "code": {},
      -  "expires_at": {},
      -  "inbox_id": {},
      -  "status": {}
      -}
  3. Changed3 schema fields changed
    • removedOutput schema / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "access_token": {
      -        "description": "Scoped bearer credential. Keep secret; expires with this inbox. Pass it as access_token in subsequent email tool calls.",
      -        "type": "string"
      -      },
      -      "address": {
      -        "title": "Address",
      -        "type": "string"
      -      },
      -      "capability": {
      -        "title": "Capability",
      -        "type": "string"
      -      },
      -      "expires_at": {
      -        "title": "Expires At",
      -        "type": "integer"
      -      },
      -      "inbox_id": {
      -        "title": "Inbox Id",
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "active",
      -        "default": "active",
      -        "title": "Status",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "inbox_id",
      -      "address",
      -      "capability",
      -      "expires_at"
      -    ],
      -    "title": "Inbox",
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "code": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "status": {
      -        "maximum": 599,
      -        "minimum": 400,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "code"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / description
      Added value: +"Fields only; full schema in GET /v1/catalog."
    • addedOutput schema / properties
      Added value: +{
      +  "access_token": {
      +    "description": "Scoped bearer credential. Keep secret; expires with this inbox. Pass it as access_token in subsequent email tool calls."
      +  },
      +  "address": {},
      +  "capability": {},
      +  "code": {},
      +  "expires_at": {},
      +  "inbox_id": {},
      +  "status": {}
      +}
  4. Added

TDQS

A4.2/5.0
Behavior5/5

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

Well beyond the annotations, it discloses pricing ($0.01 per started 600s), TTL bounds, the two supported payment paths (x402 or a HirePulse credit key with the _meta key location), idempotency behavior, and an explicit reliability caveat that delivery and OTP are not guaranteed. These are exactly the pre-call facts an agent needs for a paid, non-deterministic operation.

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?

It is front-loaded with the purpose, then packs cost, payment, idempotency and caveats into a short block with no filler. The semicolon-chained style is slightly telegraphic and the payment-detail clause is dense, but no sentence is redundant.

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?

With an output schema present, return shape need not be explained, and the description fills the important gaps: cost, payment authentication, TTL bounds, idempotency and reliability. The only thing left unstated is the post-expiry behavior of the inbox, a minor gap for a two-parameter creation tool.

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?

Schema description coverage is 0%, so the description carries the burden, and it explains idempotency semantics that are truly absent from the schema: the same idempotency_key returns the same inbox. It restates the TTL range (60-3600s), which matches the schema minimum/maximum, but never says what happens when the TTL lapses.

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 states a concrete verb and resource: a temporary inbox that receives verification emails, OTP/2FA codes and magic links. It is specific about the resource, but the line 'Reads, OTP polling and deletion included' overlaps with the sibling names get_email_code, list_email_messages and delete_email_inbox, so it is not fully clear why those siblings exist alongside this tool.

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?

It gives a clear trigger: sign-ups you are authorized to run that need verification emails or OTP codes, and it notes the cost and payment methods required before use. It does not name an alternative tool or state when not to use this one, so the agent must infer the boundary from the sibling names on its own.

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