Skip to main content
Glama

Change an email notification setting

set_notification
DestructiveIdempotent

Switch one kind of email on or off for the account behind this token. For when the user wants less mail, or wants to hear about something again.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>",
      "enabled": "<enabled>"
    },
    "name": "set_notification"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYeswhich mail to change, from get_notifications
enabledYesfalse to stop sending it, true to start again

Output Schema

NameRequiredDescriptionDefault
kindYes
enabledYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the agent knows this mutates state and is safe to retry. The description adds useful scoping ('for the account behind this token'), which clarifies that the change is account-wide rather than per-post, but it does not say that disabling suppresses future mail irrecoverably or what the response contains.

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?

Two short sentences with the action stated first and the motivation second. Nothing is redundant, though the second sentence is conversational and could have carried harder information instead of user-intent framing.

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 a two-parameter toggle with full schema coverage and an output schema, the description covers the action, the scope and the intent. The remaining gap is the consequence of flipping a setting off, which for a destructiveHint=true tool would be worth one more clause.

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 coverage is 100% and both parameters are documented, including the cross-reference to get_notifications for valid `kind` values. The description adds only the phrase 'one kind of email', which slightly reinforces the single-value semantics but contributes no syntax or constraint detail beyond the schema.

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 gives a specific verb and resource: 'Switch one kind of email on or off for the account behind this token.' That is unambiguous and clearly distinct from read-only siblings like get_notifications, though it never names a sibling to contrast with.

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

Usage Guidelines3/5

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

It supplies a loose motivation ('when the user wants less mail, or wants to hear about something again'), which hints at when to use it, but gives no explicit when-not conditions and never points to get_notifications as the prerequisite step for discovering valid values. Usage is implied rather than stated.

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