Skip to main content
Glama

read_messages

Fetch unread messages from the project's AI Bridge collaboration board and mark them as read. Set include_read=true to view all recent messages.

Instructions

读取给你的未读消息(读后标为已读)。include_read=true 时显示最近的全部消息。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo最多返回多少条,默认 20
projectYes当前项目根目录的绝对路径,例如 D:/code/ender-eda
include_readNo是否包含已读消息,默认 false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a real side effect: reading marks messages as read (读后标为已读). It also explains what include_read changes about the result set. It omits return format and whether the read-state change is reversible, keeping it below a 5.

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 short sentences, the core behavior (unread retrieval plus auto-mark-read) front-loaded before the optional flag. No filler.

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 read tool with full schema coverage and no output schema, the key operational fact (messages are marked read) and the include_read behavior are covered. Return shape and ordering/pagination are not described, which is a minor gap.

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 coverage is 100%, so all three parameters are already documented; the description only restates include_read with marginally more meaning ('显示最近的全部消息') and says nothing about limit or project. Baseline 3 is appropriate.

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 ('读取给你的未读消息') and scopes it to messages addressed to the caller. It does not explicitly name or distinguish itself from siblings like send_message or bridge_overview, so it stops short of a 5.

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?

It implicitly tells the agent this is the way to retrieve incoming messages and clarifies the include_read toggle, but there is no explicit when-to-use/when-not-to-use guidance or named alternative among the sibling tools.

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