Skip to main content
Glama

Cooper Email

Get one inbox

cooper_get_inbox
Read-onlyIdempotent

Use this when you need one inbox's address, display name, metadata, status, client_id, screening, send_mode, or plus-address format and you already have its id, username, or email. Read-only; requires auth. Inputs: inbox_id (required; inbox id, username, or email). Returns the inbox {id, username, email, display_name, created_at, require_sender_auth, labels, expires_at, status, paused_at, metadata, client_id, screening, send_mode, signature, alias_format}. alias_format is username+{tag}@domain. Mail to that plus address is stored in this inbox. It is not a separate inbox. A reply still sends From the inbox address. signature is {text, html} or null. send_mode is direct or approval. Another account's inbox returns HTTP 404 inbox_not_found. Guide: https://cooperemail.com/docs/aliases.

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": {
      "inbox_id": "<inbox_id>"
    },
    "name": "cooper_get_inbox"
  }
}

Input Schema

NameRequiredDescriptionDefault
inbox_idYesInbox id (inb_…), username, or full email address owned by this key

Output Schema

NameRequiredDescriptionDefault
idNoInbox id (inb_…). Pass it as inbox_id to other tools.
emailNoFull email address of the inbox.
labelsNoLabels on the object.
statusNoactive or paused.
metadataNoCaller key-value data stored on the object.
usernameNoLocal part of the address.
client_idNoCaller idempotency key stored with the object, or null.
paused_atNoISO-8601 time the inbox was paused, or null.
screeningNoInbound screening mode: off, observe, or hold.
send_modeNodirect sends immediately. approval turns sends into drafts a verified owner approves.
signatureNoSignature {text, html} added to sends, or null.
created_atNoISO-8601 time the object was created.
expires_atNoISO-8601 time the object expires, or null for no expiry.
alias_formatNoRead-only plus-address pattern username+{tag}@domain. Mail to that address is stored in this inbox.
display_nameNoFrom display name, or null.
require_sender_authNoWhen true, only mail that passes DMARC/DKIM can create an owner task.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / alias_format
      Added value: +{
      +  "description": "Read-only plus-address pattern username+{tag}@domain. Mail to that address is stored in this inbox."
      +}
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "The inbox.",
      +  "properties": {
      +    "client_id": {
      +      "description": "Caller idempotency key stored with the object, or null."
      +    },
      +    "created_at": {
      +      "description": "ISO-8601 time the object was created."
      +    },
      +    "display_name": {
      +      "description": "From display name, or null."
      +    },
      +    "email": {
      +      "description": "Full email address of the inbox."
      +    },
      +    "expires_at": {
      +      "description": "ISO-8601 time the object expires, or null for no expiry."
      +    },
      +    "id": {
      +      "description": "Inbox id (inb_…). Pass it as inbox_id to other tools."
      +    },
      +    "labels": {
      +      "description": "Labels on the object."
      +    },
      +    "metadata": {
      +      "description": "Caller key-value data stored on the object."
      +    },
      +    "paused_at": {
      +      "description": "ISO-8601 time the inbox was paused, or null."
      +    },
      +    "require_sender_auth": {
      +      "description": "When true, only mail that passes DMARC/DKIM can create an owner task."
      +    },
      +    "screening": {
      +      "description": "Inbound screening mode: off, observe, or hold."
      +    },
      +    "send_mode": {
      +      "description": "direct sends immediately. approval turns sends into drafts a verified owner approves."
      +    },
      +    "signature": {
      +      "description": "Signature {text, html} added to sends, or null."
      +    },
      +    "status": {
      +      "description": "active or paused."
      +    },
      +    "username": {
      +      "description": "Local part of the address."
      +    }
      +  },
      +  "type": "object"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety bar is low; the description still adds substantial context: it requires auth and a different account's inbox returns HTTP 404 inbox_not_found. It also explains non-obvious semantics — alias_format is a plus address that routes mail into this same inbox rather than creating a separate one, and a reply still sends From the inbox address.

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?

Well front-loaded: the use-case condition and input summary come first, then return-value notes. The enumerated 16-field return list is largely redundant with the existing output schema, but the alias_format/signature/send_mode explanations that follow genuinely earn their space.

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 single-parameter read tool with full schema coverage, annotations, and an output schema, the description covers everything an agent needs: auth requirement, identifier forms, error condition, and the tricky alias/send-from semantics. Little is left to inference.

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 100% and the single parameter already documents that it accepts an inbox id, username, or full email address, so the description's parenthetical repeats the schema rather than extending it. The 'owned by this key' scoping hint and the 404 behavior do add some meaning, but the 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 specific verb and resource (fetch one inbox) and enumerates the fields it returns, so an agent can distinguish it from cooper_create_inbox, cooper_update_inbox, and cooper_delete_inbox immediately. The 'you already have its id, username, or email' precondition further narrows the case.

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?

Explicit when-to-use phrasing: 'Use this when you need one inbox's address... and you already have its id.' No exclusions or named alternatives are given (e.g., which sibling retrieves workspace- or message-level data), so it stops short of full routing guidance.

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.