Skip to main content
Glama

channel_read_ack

Advance a channel's read watermark to the last message you actually read, clearing unread counts. Idempotent and monotonic: earlier timestamps don't advance.

Instructions

把某频道的已读水位推进到你实际读到的那一条,清掉对应未读。

幂等且单调:传入时间早于或等于现有水位时不动,返回 advanced=false。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
readerYes读者角色标识,如 "leader-cc",须与 channel_unread 用的一致。
channelYes频道名,与你刚才 channel_read 用的那个一致。
project_idNo归属项目;留空按当前工作目录自动归属。
last_read_atYesISO 8601 时间戳,取**本次实际读到的最后一条消息的 created_at**。 别传当前时间:分页只拿了前 N 条时按 now 推进会把没读到的那些一起标成 已读,之后再也不会提示,且没有任何机检抓得到。

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.3

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden and it does disclose key traits: the operation is idempotent and monotonic, and passing a time earlier than or equal to the current watermark is a no-op returning advanced=false. This is exactly the kind of behavioral context an agent needs. It stops short of describing permissions/authorization or any side effects beyond the watermark update.

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?

Two tight sentences, purpose front-loaded in the first clause and the idempotency/monotonicity behavior stated second. Every sentence earns its place with zero padding.

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?

An output schema exists, so return values (advanced=false) need not be explained at length, and the 100%-covered parameter schema is thorough. The description covers purpose and the core idempotency behavior. Only minor gaps remain around authorization/who may ack as an actor, but the essential information for a correct call is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema already documents all four parameters, including the critical warning against passing 'now' with pagination. The description only reinforces the meaning of last_read_at (传入时间) implicitly. Baseline 3 is appropriate when the schema does the heavy lifting.

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 states a specific verb and resource: advancing a channel's read watermark (已读水位) to the last message actually read and clearing the corresponding unread. This is clearly distinct from sibling read tools (channel_read, channel_unread, channel_mentions), which the parameter descriptions further tie it to. An agent can identify this as the ack/advance-watermark action 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 Guidelines3/5

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

Usage is implied — use this after you have actually read messages, to advance the watermark. It does not explicitly say when to prefer it over a hypothetical alternative, nor state prerequisites (e.g., that you must have read the messages first), though the last_read_at parameter notes reinforce correct usage. Implied context only.

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

Deploy Server

Other Tools