set_email_preferences
Update one or more optional email preferences.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unsubscribed | No | ||
| monthlyDigest | No | ||
| productUpdates | No | ||
| lifecycleEmails | No |
Update one or more optional email preferences.
| Name | Required | Description | Default |
|---|---|---|---|
| unsubscribed | No | ||
| monthlyDigest | No | ||
| productUpdates | No | ||
| lifecycleEmails | No |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety and repeatability profile is covered. The description adds only the partial-update notion ('one or more optional'), without stating whether omitted preferences are left unchanged, whether auth is required, or how the four preferences behave (subscribe vs. unsubscribe semantics).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single short sentence with no padding, and the key operation is front-loaded. It is efficient, though its brevity borders on under-specification rather than tight communication.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a four-parameter mutation tool with zero parameter documentation and no output schema, the description omits the meaning of each preference and the partial-update contract. Annotations cover safety, but an agent still lacks enough to invoke this confidently beyond passing arbitrary booleans.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for all four parameters (unsubscribed, monthlyDigest, productUpdates, lifecycleEmails), so the description carries the full burden and does not meet it. It never names any parameter or clarifies the boolean semantics (does true mean opt-in or opt-out?), leaving the agent to guess at meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (Update) and resource (email preferences), and the word 'optional' plus 'one or more' signals a partial-update operation. It contrasts implicitly with the sibling get_email_preferences (read counterpart), but never names or explicitly differentiates from it.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance, no prerequisites, and no mention of the sibling get_email_preferences as the read alternative or of what happens when a preference is omitted. The only implied guidance is that at least one preference must be supplied, which the schema already enforces via minProperties: 1.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.