Skip to main content
Glama

mark_all_notifications_read

Idempotent

Marks all notifications for the calling member as read, clearing unread items and returning the cleared count.

Instructions

Mark every notification for this member read. Same store path as POST /members/{id}/notifications/read-all, named beside mark_notification_read. Returns {cleared}. member_id must be the caller. Requires member:self.

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": {
      "member_id": "<member_id>"
    },
    "name": "mark_all_notifications_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
member_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv479.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the mutation profile (readOnly false, idempotent true, destructive false), and the description adds real context beyond them: the required member:self scope, the caller-identity constraint on member_id, and the returned {cleared} field. It stops short of saying whether already-read notifications count or what 'cleared' measures.

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?

Front-loaded with the action, then constraints, then return value — four short clauses with no filler. The 'same store path as POST ...' clause is implementation trivia that earns slightly less than the other sentences.

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 one-parameter mutation with no output schema, the description covers authorization, caller constraint, scope, idempotency implication, and the return key, which is enough to call it correctly. A note on whether the count includes previously-read items would close the remaining gap.

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%, so the description carries the burden, and it does define the one parameter's key semantic: it must be the caller's own id, i.e. no delegation to other members. The uuid format itself is left to 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 and resource plus the scope qualifier 'every notification for this member', and names the sibling mark_notification_read so the bulk-vs-single distinction is immediate.

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 contrast with mark_notification_read is implied by 'mark every' versus a single-item sibling, and 'member_id must be the caller' constrains usage. But it never says explicitly when to prefer this over the single-item tool or what happens if a caller passes another member's id.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools