Skip to main content
Glama

Create mailbox agent key

create_mailbox_agent_key

Create an agent key for a mailbox you own (mailbox_id from list_mailboxes), with the read and draft permissions (or one of them). The token is returned only in this response, with the Correio MCP URL and a ready Claude Code command: treat it as a secret. A key made here can never send on its own: the agent's sends wait for the owner's approval, and only a person can grant the send permission, in the dashboard.

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": {
      "mailbox_id": "<mailbox_id>",
      "label": "<label>"
    },
    "name": "create_mailbox_agent_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelYesWhich agent or device holds this key
scopesNoread and/or draft; send is granted only in the dashboard
expires_atNoOptional expiry (ISO 8601)
mailbox_idYesMailbox id from list_mailboxes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), so the description carries real weight. It discloses that the token is returned only in this response (secret handling), and that a key made here can never send on its own because sends require owner approval granted only by a person in the dashboard — rich behavioral context beyond the annotations.

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?

Three sentences, front-loaded with the core action and parameters, then the security/return behavior. Information is well ordered with little waste, though it could be marginally tighter.

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?

For a 4-param mutation tool with no output schema, it covers everything an agent needs: the precondition, the grantable scopes, the fact that the token appears only in this response, and the approval workflow for sending. The permission/secret semantics are complete enough to call it correctly.

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 coverage is 100%, so the baseline is 3, but the description adds meaning about the scopes parameter: only read and draft (or one) can be granted here, while send is not grantable via this tool. It also anchors mailbox_id to list_mailboxes, improving on what the schema alone provides.

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 (create) and resource (an agent key for a mailbox), and scopes it to a mailbox the caller owns with read/draft permissions. It distinguishes the tool from the generic create_api_key sibling by specifying this is mailbox-scoped and restricted to read/draft, so an agent can tell them apart.

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?

It implies usage by saying 'for a mailbox you own (mailbox_id from list_mailboxes),' giving the precondition and the source of the id. However, it never explicitly contrasts with the create_api_key sibling or states when-not to use it, so the routing guidance is only implied.

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.