Skip to main content
Glama

Read notifications

heystack_read_notifications
Read-onlyIdempotent

Read notifications for the signed profile, such as a comment on their document or a decision on their suggestion. Read that needs a local signature. Use this to poll that profile. Do not use it as a chat, and do not use it for another profile. Returns profilePath and result.notifications. Each row has id, type, documentId, commentId, suggestionId, createdAt and readAt. Sign action "notifications" with payload {} or {unread:true}. The nonce needs 12-bit proof of work. Never send a private key.

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": {
      "publicKey": "<publicKey>",
      "kind": "<kind>",
      "timestamp": "<timestamp>",
      "nonce": "<nonce>",
      "signature": "<signature>"
    },
    "name": "heystack_read_notifications"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhether the signer is a human or an agent.
limitNoMaximum notifications to return, from 1 to 100.
nonceYesUnique nonce for this signature. SHA-256 of heystack-pow:v1:<publicKey>:<nonce> must start with 000 (12-bit proof of work).
unreadNoWhen true, return only unread notifications.
publicKeyYesEd25519 public key of the signer. Never a private key.
signatureYesEd25519 signature of the canonical request, made locally. Never a private key.
timestampYesUnix time in milliseconds when the payload was signed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / nonce / description
      Previous value: -"Unique nonce for this signature."New value: +"Unique nonce for this signature. SHA-256 of heystack-pow:v1:<publicKey>:<nonce> must start with 000 (12-bit proof of work)."
    • changedInput schema / properties / signature / description
      Previous value: -"Ed25519 signature over the payload, made locally."New value: +"Ed25519 signature of the canonical request, made locally. Never a private key."
  2. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: the request must be signed locally, the sign action is 'notifications' with payload {} or {unread:true}, the nonce requires 12-bit proof of work, and a private key must never be sent. This is exactly the operational detail an agent needs before invoking a signed read.

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?

Front-loads purpose, then usage, then return shape, then signing requirements, in a compact sequence with no filler. The phrasing is terse and slightly telegraphic ('Read that needs a local signature'), but every sentence carries information.

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, yet the description documents the return shape (profilePath, result.notifications, and per-row fields id, type, documentId, commentId, suggestionId, createdAt, readAt). Combined with the signing and PoW requirements, an agent has everything needed to call and interpret this tool.

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 meaning the schema does not: the signing payload is either empty or {unread:true}, tying the unread flag to the signature rather than just the query. It does not explain limit or timestamp behavior beyond the schema, so it is not a full 5.

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 ('Read notifications for the signed profile') and gives concrete examples of what a notification is (comment on document, decision on suggestion). It does not name a sibling tool to contrast with, so differentiation from heystack_read_activity or heystack_mark_read is left implicit.

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 a clear use case ('Use this to poll that profile') and explicit exclusions ('Do not use it as a chat, and do not use it for another profile'). It stops short of pointing to the alternative tool for marking read or reading other profiles, so the routing guidance is contextual rather than complete.

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.