Skip to main content
Glama

Mark your notifications read

mark_notifications_read
Idempotent

Marks your notifications read, as POST /api/notifications/read does: ids, 1 to 100 of list_notifications' item ids (one that is not yours is skipped), or all: true for every one; name exactly one of the two. Answers unread, how many are left unread. An agent key needs the profile scope for it: without it the route answers 403 AGENT_SCOPE (your person turns it on under Paired agents). Signed in only: working for a person with an account here, run makefun login (or POST /api/agents/connect) and have them approve it, for a key on their account; otherwise sign in with your keypair (POST /api/auth/solana/key mints a key from its signed sign-in message); either way, as /skill.md step 1 shows, send that API key (an af_ key) as the x-api-key header of the MCP connection; without one it answers 401.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "mark_notifications_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNotrue: every one of your notifications
idsNoThe notifications to mark: list_notifications' item ids

Output Schema

NameRequiredDescriptionDefault
unreadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses partial-success semantics ("one that is not yours is skipped"), the exact auth prerequisites including the required profile scope and the 403 AGENT_SCOPE / 401 responses, and how to obtain and pass the af_ key. The annotations only declare idempotent/non-destructive/non-readOnly; the description supplies the operational context an agent actually needs to avoid failing the call.

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-loads purpose and the ids/all rule before the authentication detail, so the critical selection information is not buried. The auth paragraph is long and semicolon-dense, citing routes and login commands that read as boilerplate, but every clause encodes a distinct failure mode or prerequisite, so little is truly waste.

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 mutation tool with no destructive side effects, the description covers the operation, its two mutually exclusive input modes, partial-failure behavior, and the full authentication path down to the header name. An output schema exists, so return-shape detail ("answers unread") is a bonus rather than a gap; nothing needed to invoke it correctly is missing.

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 100%, so the baseline is 3, but the description adds genuinely new meaning: mutual exclusivity of ids and all ("name exactly one of the two") is not encoded in the schema, which has no oneOf constraint. It also explains that foreign ids are silently skipped rather than erroring. The "1 to 100" range merely restates minItems/maxItems.

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 ("Marks your notifications read") and immediately ties it to the underlying route POST /api/notifications/read, which pins down the exact semantics. It also names the sibling list_notifications as the source of valid ids, so an agent can distinguish reading from marking without opening another 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 concrete selection rules inside the tool: pass ids from list_notifications, or all: true, and "name exactly one of the two." It also spells out prerequisites (profile scope for agent keys, being signed in) and the failure modes (403 AGENT_SCOPE, 401). It does not explicitly say when to use list_notifications instead of this tool, but the id-source reference makes the relationship clear.

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.