Skip to main content
Glama

Set email preferences

set_email_preferences
Idempotent

Toggle optional emails for finished projects and product updates; leave omitted topics unchanged and essential account messages unaffected.

Instructions

Turn topics of optional email on or off; omitted topics stay as they are. ready = the note sent when projects finish while you are away; product_updates = occasional emails about new features (Settings → Account, or the link in the email). Mail you need (password reset, verification) is not affected. Returns { ok, emailPreferences }.

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": "set_email_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
readyNothe note sent when projects finish while you are away: true to get it, false to stop it
product_updatesNooccasional emails about new Reelsaw features: true to get them, false to stop them

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.54.0
    • addedInput schema / properties / product_updates
      Added value: +{
      +  "description": "occasional emails about new Reelsaw features: true to get them, false to stop them",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Addedv0.32.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only supply idempotentHint, so the description carries most of the behavioral burden and does so well: it discloses partial-update semantics, states that transactional mail (password reset, verification) is unaffected, and gives the return shape. What's missing is any note on permissions/auth or failure behavior for a settings mutation.

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?

The partial-update rule and the two topic definitions are front-loaded and efficient. The parenthetical '(Settings → Account, or the link in the email)' is the one slightly cluttered aside, but overall every sentence contributes.

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-optional-boolean settings tool with no output schema, the definition covers the essentials: what changes, what happens when fields are omitted, side-effect boundaries, and the return shape. Nothing an agent needs to invoke it correctly is missing.

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 description coverage is 100%, so the schema already defines both booleans. The description restates the same meanings for ready and product_updates almost verbatim, adding only the mild context that these are 'optional' emails. Baseline 3 is appropriate when the schema does the work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource: 'Turn topics of optional email on or off', which makes it unambiguously the write counterpart to get_email_preferences without needing to read the schema. It scopes the operation to 'optional' topics, though it never names the sibling read tool explicitly.

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 clause 'omitted topics stay as they are' is genuine usage guidance: it tells the agent this is a partial update and that it need not send both fields. It also points users to Settings → Account or the email link as an alternate surface. It stops short of explicitly saying 'use get_email_preferences to read current values first'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools