Skip to main content
Glama

Update email preferences

update_email_preferences
Idempotent

Change the organization-wide email monitoring preferences, which apply to every mailbox. Only provided keys change; ignoredSenders replaces the whole list. Turning a delete option on also trashes matching emails already confirmed, in the background. Admins, and managers for mailboxes on their profiles (403 for others). For one mailbox use update_email_account. Returns the full preferences, as get_email_preferences does.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_email_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
autoCreateJobsNoAuto-create a tracked job from a confident acknowledgement matching no existing job. Default on.
ignoredSendersNoSenders to skip, each an exact address (hr@acme.com) or a domain (acme.com). Replaces the whole list; max 200.
deleteRejectionsNoAuto-trash automated rejection emails once confirmed. Default off.
deleteHumanRejectionsNoAlso auto-trash personally written rejections; only matters with deleteRejections. Default off.
deleteAcknowledgementsNoAuto-trash application-received acknowledgements once confirmed. Default off.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: partial-update semantics ("Only provided keys change"), replace-not-merge for ignoredSenders, the background trashing of already-confirmed emails when a delete flag is enabled, and the return payload. The background-trash side effect sits in mild tension with destructiveHint=false, but the annotations describe the preference write itself, not the asynchronous consequence, so this is disclosure rather than contradiction.

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?

Five short sentences, each delivering a distinct fact, with changeful semantics front-loaded before the access rule and alternative. No filler or restatement of the title or schema.

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?

Covers everything an agent needs for a 5-parameter mutation tool with no output schema: mutation semantics, replace vs merge, side effects, auth tier with the exact 403 signal, and the shape of the return value by reference to get_email_preferences.

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 per-parameter meaning is already carried by the schema and the baseline is 3. The description still earns credit for cross-parameter semantics the schema cannot express: only supplied keys mutate, and ignoredSenders replaces the entire list rather than appending.

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?

Names a specific verb and resource ("Change the organization-wide email monitoring preferences") and pins down scope with "which apply to every mailbox." It explicitly distinguishes itself from the sibling update_email_account by mailbox scope, so an agent can route correctly without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the explicit alternative and the condition that selects it: "For one mailbox use update_email_account." It also states the access condition (admins; managers for mailboxes on their profiles, 403 for others), which prevents a doomed call.

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