Skip to main content
Glama

Mark Notification Read

markNotificationRead
Idempotent

Mark a notification as read for the authenticated user. Idempotent — calling it again on an already-read notification still returns success. Pass openedFrom to record which channel the reader came through (in_app when they were already in Duvo, or email/slack/teams from the notificationSource param on an external link); omit it when the read is not somebody opening the notification. Requires the Notification Center feature; returns 404 when it is not enabled for the team.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe notification's unique identifier
openedFromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / openedFrom
      Added value: +{
      +  "enum": [
      +    "in_app",
      +    "email",
      +    "slack",
      +    "teams"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Discloses meaningful behavior beyond annotations: idempotency semantics (returns success even if already read), feature gating requiring the Notification Center feature, and 404 behavior when disabled. These add real context that annotations (idempotentHint, readOnlyHint=false) alone don't convey.

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?

Approximately three dense sentences with no wasted verbiage, front-loaded with the core action. Slightly long but each sentence contributes distinct information (behavior, param semantics, prerequisite).

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

Completeness5/5

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

Complete for a two-parameter mutation tool with no output schema. All salient behavioral aspects (idempotency, feature gating, 404 conditions, parameter semantics) are covered, giving an agent everything needed to call correctly.

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?

Schema coverage is 50%, so the description must compensate and does: it explains the semantic meaning of openedFrom values and when to omit it, notably clarifying 'in_app' vs external source channels. The id parameter is adequately documented by the schema.

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+resource ('Mark a notification as read for the authenticated user') and distinguishes scope from siblings like markAllNotificationsRead and markNotificationBatchRead by singling out one notification for the authenticated user.

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?

Provides clear usage context: when to pass openedFrom ('in_app' vs external link channels) and when to omit it. However, it does not explicitly name alternatives or contrast with markAllNotificationsRead/markNotificationBatchRead for multi-notification cases.

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