Skip to main content
Glama

mark_notifications_read

DestructiveIdempotent

Preview and mark 1 to 20 of your own course notifications as seen after explicit confirmation, without archiving them.

Instructions

Mark 1 to 20 of the student's own course notifications as SEEN. Two-phase: without confirmationToken this returns a preview and a short-lived token and does not write. Show that preview to the user and send the token only after they explicitly approve. Do not confirm on your own. Does not archive notifications.

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": {
      "courseId": "<courseId>",
      "notificationIds": "<notificationIds>"
    },
    "name": "mark_notifications_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdYes
notificationIdsYes
confirmationTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag a destructive, non-read-only, idempotent, open-world write, but the description adds the crucial behavior the annotations cannot convey: a two-phase preview/token flow where nothing is written on the first call, and the token is short-lived. It also clarifies the effect is limited to marking as seen and does not archive.

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?

Four short sentences, front-loaded with the action and its bounds, then the two-phase protocol, then the approval rule, then the exclusion. No filler and nothing repeated from the schema.

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?

There is no output schema, and the description compensates by describing what the non-token call returns (a preview and a short-lived token). For a three-parameter mutation with a required confirmation flow, an agent has everything needed to call it safely and 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 description coverage is 0%, so the description must carry the load. It explains the confirmationToken's role and lifetime and states the 1-to-20 bound on notificationIds; courseId is only implied by 'the student's own course notifications' rather than defined, which is the remaining gap.

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 ... notifications as SEEN'), plus the scope constraints (1 to 20, the student's own, course-scoped). It also rules out a related operation ('Does not archive notifications'), so an agent can distinguish it from a generic read/archive sibling 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit operational protocol: call without confirmationToken to get a preview, show it to the user, then resend with the token after explicit approval, and 'Do not confirm on your own.' It also excludes archiving. It does not explicitly contrast with the closest sibling (mark_conversation_read), leaving that inference to the resource wording.

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