Skip to main content
Glama

Mark notifications as read

mark_notifications_read
Idempotent

Mark one notification (notification_id) or all of them (all: true) as read. Requires the user's confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNo
notification_idNo
confirmation_tokenNoLeave empty on the first call: you get an action_summary and a token instead of the action. After the user explicitly confirms that summary, call again with the SAME arguments plus this token.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds the non-obvious behavioral requirement that user confirmation is needed, complementing the confirmation_token workflow documented in the schema.

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 tight sentences with zero filler; the two operational modes are front-loaded and the confirmation prerequisite follows. Every clause earns its place.

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 mutation tool with no output schema, the description covers scope selection and the confirmation prerequisite, and the schema details the token round-trip. It stops short of describing what happens to already-read notifications or what the confirmation summary contains.

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 only 33% (only confirmation_token is annotated), so the description must compensate. It does explain the meaning of notification_id and the all: true switch, but adds no format, bounds, or mutual-exclusion semantics beyond what the parameter names imply.

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

Purpose5/5

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

States a specific verb and resource ('Mark ... as read') and enumerates both scopes: a single notification via notification_id or the whole set via all: true. An agent can immediately tell this apart from the read-oriented get_notifications sibling.

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 description signals both invocation modes and states the precondition that the user's confirmation is required, which is the key gate for this tool. It does not, however, mention any when-not conditions or compare itself to siblings like get_notifications.

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