Skip to main content
Glama

Mark Notification Batch Read

markNotificationBatchRead
Idempotent

Mark every unread live member of a notification batch as read for the authenticated user. Pass types to narrow the mark-read to those member types, and severity (exact) or minSeverity (threshold, mutually exclusive with severity) to narrow it by urgency — e.g. the page's active filters; omit them to mark every live member. Narrowing matters when the batch card was rendered under a filter: the rows marked read should be the rows the card counted. Pass openedFrom to record which channel the reader came through, on every member this call marks read. Returns the count of members that were updated. Requires the Notification Center feature; returns 404 when it is not enabled for the team or the batch does not exist or belongs to another recipient/team.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesThe notification batch's unique identifier
typesNo
team_idNoDuvo team UUID to operate on. API keys are pinned to a single team — omit this (it falls back to the key's team) or pass that same team; a different team is rejected. OAuth callers, who can span multiple teams, should pass the target team here.
severityNo
openedFromNo
minSeverityNo

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. Changed2 schema fields changed
    • changedInput schema / properties / types / items / enum
      Previous value: -[
      -  "connection_broken",
      -  "case_failed",
      -  "critical_case_issue",
      -  "case_issue",
      -  "critical_eval_issue",
      -  "eval_issue",
      -  "job_issue",
      -  "job_done",
      -  "background_job",
      -  "schedule_issue"
      -]New value: +[
      +  "connection_broken",
      +  "case_failed",
      +  "critical_case_issue",
      +  "case_issue",
      +  "critical_eval_issue",
      +  "eval_issue",
      +  "job_issue",
      +  "job_done",
      +  "background_job",
      +  "schedule_issue",
      +  "config_proposal"
      +]
    • changedInput schema / properties / types / maxItems
      Previous value: -10New value: +11
  3. Changed2 schema fields changed
    • changedInput schema / properties / types / items / enum
      Previous value: -[
      -  "connection_broken",
      -  "critical_eval_issue",
      -  "eval_issue",
      -  "job_issue",
      -  "job_done",
      -  "background_job",
      -  "schedule_issue"
      -]New value: +[
      +  "connection_broken",
      +  "case_failed",
      +  "critical_case_issue",
      +  "case_issue",
      +  "critical_eval_issue",
      +  "eval_issue",
      +  "job_issue",
      +  "job_done",
      +  "background_job",
      +  "schedule_issue"
      +]
    • changedInput schema / properties / types / maxItems
      Previous value: -7New value: +10
  4. Changed2 schema fields changed
    • changedInput schema / properties / types / items / enum
      Previous value: -[
      -  "connection_broken",
      -  "job_issue",
      -  "eval_issue",
      -  "job_done",
      -  "background_job",
      -  "schedule_issue"
      -]New value: +[
      +  "connection_broken",
      +  "critical_eval_issue",
      +  "eval_issue",
      +  "job_issue",
      +  "job_done",
      +  "background_job",
      +  "schedule_issue"
      +]
    • changedInput schema / properties / types / maxItems
      Previous value: -6New value: +7
  5. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations give idempotentHint=true and destructiveHint=false, so safety/idempotency is covered. The description adds real value beyond that: it discloses the return value ('count of members that were updated'), the feature dependency (requires Notification Center), and the 404 conditions (feature disabled, batch missing, or belongs to another recipient/team). It does not restate the annotation hints, and there is no contradiction.

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 core action, then filter semantics, then channel recording, then return/auth behavior. Every sentence carries information, though the sentence on filtering rationale ('Narrowing matters when...') is somewhat verbose and could be tighter. Overall efficient for the amount of conditional behavior it must convey.

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 6-parameter mutation with no output schema and low schema coverage, the description covers what an agent needs: scope of effect, filter behavior, mutual exclusivity, return count, feature gating, and 404 failure modes. Nothing material is missing for correct invocation.

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 only 33% (only id and team_id have descriptions), so the description must compensate and largely does: it explains types as narrowing member types, severity as exact vs minSeverity as threshold and mutually exclusive, and openedFrom as recording the read channel applied to every updated member. team_id semantics are 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource+scope: 'Mark every unread live member of a notification batch as read for the authenticated user.' Distinguishes clearly from siblings like markNotificationRead (singular) and markAllNotificationsRead (no batch scoping) by emphasizing batch-membership and the 'live/unread' qualifier.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly explains when narrowing applies: 'Narrowing matters when the batch card was rendered under a filter: the rows marked read should be the rows the card counted.' It documents mutually-exclusive parameters (severity vs minSeverity) and states omitting filters marks everything. This is conditional guidance an agent could not infer from the schema.

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