Skip to main content
Glama

Mark one notification as read

mark_notification_read

Mark one notification as read

Marks a single notification as read and stamps its readAt with the current server time. Ownership is verified first: a notification belonging to another account answers 404 exactly as an unknown id does, so the endpoint never reveals that a foreign id exists. Calling it again on an already read notification succeeds and refreshes readAt. This endpoint takes no request body. It answers with a short confirmation message rather than the updated notification.

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": {
      "id": "<id>"
    },
    "name": "mark_notification_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the notification to mark as read. Must be an integer; a non-numeric value answers 400.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, it discloses ownership verification with a 404 that does not leak foreign-id existence, the absence of a request body, and that the response is a short confirmation rather than the updated resource. The note that re-calling refreshes `readAt` is consistent with idempotentHint=false, since the side effect repeats even though the outcome is stable.

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?

The body is dense and front-loaded, moving from action to side effect to error semantics to response shape. It loses a point only because the opening line repeats the title verbatim before the body restates it ('Marks a single notification as read').

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?

For a one-parameter mutation with no output schema, the description covers everything an agent needs: the mutation's effect, re-invocation behavior, error semantics, request body expectations, and the shape of the response. Nothing material is left for the agent to guess.

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 100% and the single `id` parameter is already fully documented, including the integer requirement and 400 on non-numeric input. The description adds only indirect meaning (the 404 behavior for foreign ids), which is a baseline-3 contribution given the schema does the heavy lifting.

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?

The description states a specific verb and resource ('Marks a single notification as read') and scopes it to exactly one notification, which implicitly separates it from the sibling bulk operation mark_all_notifications_read. An agent can identify the operation and its granularity without opening the schema.

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 description clarifies that repeat calls on an already-read notification succeed and refresh `readAt`, which is useful context for deciding whether to call it defensively. However, it never explicitly names when to prefer mark_all_notifications_read or mark_announcement_read, so the alternative selection is left to inference from the word 'one'.

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.