Skip to main content
Glama

Update email preferences

update_email_preferences
Destructive

Turns automated emails on or off: subscribed: false stops all of them (the same as the unsubscribe link), subscribed: true resubscribes, and kinds switches individual kinds. Kinds not named keep their setting. Free. Returns the preferences after the change. Needs an API key or a connected account.

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
kindsNoPer-kind switches, e.g. {"digest": false}.
subscribedNofalse = unsubscribe from every automated email; true = resubscribe.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / kinds / properties / connector
      Added value: +{
      +  "description": "One note with a prompt to try if you connect ChatGPT or Claude and haven't looked anything up yet.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, the description explains exactly what `subscribed: false` does (equivalent to the unsubscribe link), what `true` does, and that unnamed kinds retain their settings. It also states authentication requirements and that the updated preferences are returned after the change, which is valuable behavioral context for a mutating tool.

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 a single dense but front-loaded passage with no filler. Each clause adds useful information about behavior, scope, cost, return value, or authentication.

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 two-parameter update tool with rich schema coverage and annotations, the description covers the relevant behavior: global unsubscribe/resubscribe, per-kind updates, partial-update semantics, auth needs, and return value. No output schema is present, but the description explicitly says it returns the preferences after the change.

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 parameter descriptions already do substantial work. The tool description adds meaning by clarifying that `subscribed: false` is equivalent to the unsubscribe link and that `kinds` only changes the kinds explicitly named, while unnamed kinds keep their current setting.

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 action (turning automated emails on or off) and resource (email preferences), and explains both top-level behaviors: `subscribed` for all automated emails and `kinds` for individual categories. This clearly distinguishes it from the sibling read operation `get_email_preferences`.

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 it: changing email subscription state, either globally or by kind. It also notes auth requirements and that the operation is free, but it does not explicitly name `get_email_preferences` as the alternative for reading preferences.

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