Skip to main content
Glama

Notifications update preferences

notifications_update_preferences
DestructiveIdempotent

Change notification preferences (only the fields you send change). type_preferences maps a notification type to on/off. Changes data: runs only with confirm=true; without it, returns a preview and changes nothing. client_id picks the brand (defaults to the active one); extra passes any other field the app accepts.

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

Input Schema

NameRequiredDescriptionDefault
extraNo
confirmNo
user_idNo
client_idNo
user_emailNo
sms_enabledNo
push_enabledNo
email_enabledNo
in_app_enabledNo
quiet_hours_endNo
type_preferencesNo
quiet_hours_startNo
quiet_hours_enabledNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the safety bar is partly covered. The description still adds real value the annotations cannot: partial-update semantics, the confirmation/preview gate, and the client_id defaulting behavior. It stops short of saying what the destructive aspect actually is or which user identity is required.

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?

Four tight sentences with the mutation scope front-loaded and the confirm gate prominent. Dense parentheses do most of the work; nothing is padded, though the client_id/extra sentence is slightly compressed for the number of parameters it silently covers.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need no explanation, and the preview/confirm contract is well covered. Still, for a 13-parameter mutation with zero schema descriptions, the description never clarifies how the user is identified (user_id vs. user_email) or whether one is mandatory, which is a meaningful omission before a destructive write.

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 0%, so the description carries the burden for 13 parameters. It usefully explains the three non-obvious ones (type_preferences as a type→on/off map, confirm, extra passthrough) and client_id's default, but leaves user_id, user_email, the channel booleans, and the quiet-hours trio to inference from bare names.

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?

States a specific verb and resource ('Change notification preferences') and immediately scopes it with '(only the fields you send change)', which tells an agent this is a partial mutation rather than a full replacement. The contrast with the sibling notifications_get_preferences is implied by 'change' vs. read, though it is never stated 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?

Gives genuinely actionable branching: 'runs only with confirm=true; without it, returns a preview and changes nothing', which is the key decision an agent must make before invoking. It does not, however, route the agent to notifications_get_preferences when it merely wants to read current settings.

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.