Skip to main content
Glama

mark_notification_read

Mark one of the calling user's notifications read. Idempotent. Returns 404 if the id isn't the caller's (a cross-user or cross-org id is indistinguishable from a missing one). Mirrors POST /v1/notifications/{id}:read.

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

Input Schema

NameRequiredDescriptionDefault
notification_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares idempotency, explains the 404 error case, and discloses a non-obvious security property (cross-user and cross-org ids are deliberately indistinguishable from missing ones). It omits the success response shape, though an output schema exists to cover that.

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?

Three short sentences, front-loaded with the action, followed by the two facts an agent cannot infer (idempotency, ownership error semantics). Nothing is wasted and no sentence repeats structured data.

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 an output schema, the description covers the essentials: what it does, that retrying is safe, and how foreign ids fail. Return values are covered by the output schema, so no gap remains.

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 0% for the single parameter, so the description must compensate; it does by constraining the id to the caller's own notification and spelling out the failure behavior for foreign ids. The uuid format is left to the schema, which is acceptable.

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 ("Mark ... notifications read") and scopes it to "one of the calling user's notifications", which implicitly separates it from the bulk sibling mark_all_notifications_read. It does not name that sibling explicitly, so the differentiation is inferred rather than stated.

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 single-notification scope hints at when to use this over the bulk variant, but there is no explicit when-to-use / when-not-to-use guidance and no named alternative. An agent can infer the choice from the description but is not told it.

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