Skip to main content
Glama

Update Email Messages

update_email_messages

Apply a retry-safe lifecycle action to up to 100 messages. Returns a durable per-item operation receipt. Reuse the exact idempotency key after timeouts; never invent a new key for the same logical action. Permanent deletion requires email:delete. API: POST /api/emails/{address}/messages/actions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
readNoRequired for mark_read
slugYesMailbox slug
actionYes
domainYesMailbox domain
starredNoRequired for star
destinationNoRequired for move
message_idsYesExplicit message IDs
idempotency_keyYesCaller-stable key for this exact logical batch

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changed
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Caller-stable key for this exact logical batch",
      +  "maxLength": 200,
      +  "minLength": 8,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "domain",
      -  "slug",
      -  "message_ids",
      -  "action"
      -]New value: +[
      +  "domain",
      +  "slug",
      +  "message_ids",
      +  "action",
      +  "idempotency_key"
      +]
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses retry-safe behavior, the need to reuse idempotency keys, the durable per-item receipt, and the email:delete permission for permanent deletion. It does not cover error handling, partial failure semantics, or rate limits, but the information provided is substantive and goes well beyond the schema.

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?

The description is five sentences, each earning its place: purpose, return type, retry guidance, permission note, and API endpoint. No fluff, all critical information, front-loaded with the main action.

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 an 8-parameter, mutation-only tool with no output schema, the description covers purpose, batch size, retry behavior, permission, and return shape. It doesn't explicitly enumerate the allowed actions (left to the schema enum) or describe error scenarios, but it is reasonably complete for the complexity level.

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 high, but the description adds meaningful semantics beyond the property descriptions: it explains how to use the idempotency_key correctly after timeouts, connects 'up to 100 messages' to message_ids, and clarifies the permission needed for delete_permanently. This is valuable guidance not present in the schema.

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 clearly states a specific verb+resource: 'Apply a retry-safe lifecycle action to up to 100 messages.' This distinguishes it from sibling tools like mark_messages_read or delete_messages by covering multiple possible actions (move, mark_read, star, etc.) and explicitly noting the batch limit.

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?

The description gives clear context for when to use the tool: for batch lifecycle actions with retry safety. It does not explicitly name alternatives or state when NOT to use it, but it does note a permission requirement ('Permanent deletion requires email:delete'), which is useful guidance. Minor gap: no comparison with sibling tools like mark_messages_read.

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.

TDQS

A3.5/5.0
Disambiguation3/5

While most tools have distinct purposes, several clusters overlap significantly (e.g., check_email, check_email_deliverability, get_email_deliverability, get_domain_email_status; buy_domain, buy_aftermarket, acquire_domain). The descriptions are detailed and help differentiate, but the sheer number of tools makes it challenging for an agent to select the correct one without careful reading.

Naming Consistency3/5

The dominant pattern is verb_noun with underscores (e.g., create_mailbox, list_domains), but there are notable inconsistencies: destructive actions mix delete/remove/cancel/revoke/unsell, and a few names deviate entirely (search, dns_check, domain_status). The pattern is recognizable but not uniformly applied.

Tool Count1/5

With 122 tools, this vastly exceeds the 50+ threshold for extreme mismatch. Even for a comprehensive domain and email platform, the tool count is overwhelming and will likely hinder agent performance through excessive choice and context bloat.

Completeness4/5

The server covers a wide range of domains, DNS, email, marketplace, negotiations, transfers, webhooks, tokens, and billing. Minor gaps exist, such as no update operation for mail rules, no direct domain deletion, and limited mailbox configuration beyond forwarding and credentials, but most lifecycle workflows are supported.