Skip to main content
Glama

batch_acknowledge_messages

Batch acknowledge unread or delivered messages for a specific agent, with optional filters by sender and time range, to reduce message backlog.

Instructions

批量确认消息为已处理。可按 agent_id 和时间范围筛选,将匹配的未确认消息全部标记为 acknowledged。用于清理消息积压。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYes目标 Agent ID(消息接收方),即要清理谁的未读消息
from_agentNo发送方 Agent ID 过滤(可选),只确认来自特定发送方的消息
beforeNo时间戳上限(毫秒),只确认此时间之前的消息
afterNo时间戳下限(毫秒),只确认此时间之后的消息
statusNo要确认的消息状态,默认 unreadunread
limitNo最多确认的消息数量,默认 100,上限 500
Behavior2/5

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

No annotations provided, so the description must disclose behavior fully. It only states that matching unacknowledged messages are marked as acknowledged, but does not mention idempotency, destructive nature, error conditions, or side effects. This is insufficient.

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 two sentences, front-loaded with the core action, and every word adds value. No redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema. The description is brief and omits details such as return values, rate limits, or prerequisites. While the tool is simple, additional context like idempotency or safety would improve completeness.

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%, baseline 3. The description adds no new semantic meaning beyond what the schema parameter descriptions already provide. It simply restates filtering by agent_id and time range.

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 tool's purpose: batch acknowledge messages as processed, distinguishing it from the sibling 'acknowledge_message' which is a single-message operation. It specifies filtering by agent_id and time range.

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?

The description includes '用于清理消息积压' (used to clean up message backlog), which provides usage context. However, it does not explicitly compare with alternatives or state when not to use.

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/liuboacean/agent-comm-hub'

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