Skip to main content
Glama

Sergio by Serviche

Dismiss a notification

dismiss_notification
Idempotent

Dismisses a notification card (action "dismiss"), snoozes it for its own snooze time ("snooze"), or marks it read ("read"), as the card's controls do. Pass the same idempotency_key when retrying.

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": {
      "notification_id": "<notification_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "dismiss_notification"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNodismiss
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.
notification_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the safety profile is covered and the retry sentence largely restates what the idempotency_key schema already says. The one genuinely additive behavioral detail is that 'snooze' uses the notification's own configured snooze time rather than an arbitrary duration, but nothing is said about whether a dismissal is permanent or how the read state surfaces afterwards.

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?

Two sentences, both load-bearing: the first front-loads the action mapping, the second front-loads the retry rule. No filler, no restatement of the title, and the enum values are inline where they are needed.

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?

For a three-parameter mutation tool with no output schema, the description covers what is acted on, the action modes and retry safety, which is close to sufficient. It does not state what the call returns or whether a dismissal can be undone, both of which an agent would want before firing a non-read-only call.

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?

With only 33% schema description coverage, the description does most of the work for the enum: it maps each of 'dismiss', 'snooze' and 'read' to a concrete effect, and clarifies that snooze uses the card's own snooze interval rather than a supplied one. notification_id is left unexplained, though its name and uuid format make it self-evident.

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?

Names a specific verb (dismisses) and resource (a notification card), and immediately disambiguates the three action modes with verbatim enum values, which corrects the impression given by the name that only dismissal is possible. It does not explicitly differentiate itself from siblings that sound similar (dismiss_conversation_reminders, dismiss_suggestion, snooze_conversation), leaving that to inference from 'notification card'.

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?

The phrase 'as the card's controls do' implies this is the programmatic equivalent of the in-app UI buttons and is therefore the right tool when acting on a notification card, and the retry instruction covers a key operational case. However, there is no explicit when-not guidance or pointer to alternative tools for adjacent operations like conversation reminders or suggestions.

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