Skip to main content
Glama

read

Mark GitHub PR notifications as read by specifying a PR URL or marking all as read.

Instructions

Mark PR notifications as read. Requires either prUrl or all to be specified.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prUrlNoFull GitHub PR URL to mark as read. Omit to use --all instead.
allNoIf true, mark all PRs as read

Implementation Reference

  • The 'read' tool was removed in v4 (#1133). It was a v1→v2 stub that was deleted. There is no current implementation of a tool named 'read'.
    // The v1→v2 `untrack` and `read` stubs were removed in v4 (#1133). Use
    // `shelve`/`unshelve` to hide PRs from the daily digest. MCP clients that
    // hard-coded these tool names will get a "tool not found" error.
Behavior2/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false. The description adds no additional behavioral context beyond stating the operation is non-read-only and non-destructive. It does not detail what happens to notifications or whether it's reversible.

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?

The description is a single sentence that is front-loaded with the purpose and includes critical parameter guidance. No unnecessary words.

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 simple state-change tool with two parameters and no output schema, the description covers the core action and parameter constraint. Missing return value or side-effect details, but adequate given simplicity.

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%, but the description explicitly states the mutual exclusivity constraint ('Requires either prUrl or all to be specified'), which is not encoded in the JSON schema. This adds meaningful guidance beyond schema definitions.

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?

The description clearly states the specific action ('Mark PR notifications as read') and the resource ('PR notifications'). It distinguishes itself from sibling tools like 'claim', 'comments', etc., which have different purposes.

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

Usage Guidelines2/5

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

The description only provides a parameter constraint (requires prUrl or all) but does not specify when to use this tool versus alternatives (e.g., when to use read vs. dismiss or shelve). No explicit when-not or usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/costajohnt/oss-autopilot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server