Skip to main content
Glama

agent_wait

Wait for pending chat messages for an authenticated participant, with configurable limits, wait time, and automatic role claiming.

Instructions

Wait for pending chat messages for this authenticated participant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
wait_secondsNo
auto_claim_rolesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states 'Wait,' but does not disclose blocking behavior, timeout handling, or how it interacts with parameters like wait_seconds and auto_claim_roles. It also does not explain what happens when no pending messages exist.

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 concise sentence with no redundant or filler content. It is efficiently structured and easy to parse.

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

Completeness2/5

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

With three parameters, no annotations, and a single-sentence description, the tool lacks important context. The output schema exists, but the description does not cover usage guidelines, behavioral nuances, or parameter semantics, making it incomplete for an agent to invoke correctly in varied situations.

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

Parameters2/5

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

Schema description coverage is 0%, and the description does not mention any parameters. While the parameter names (limit, wait_seconds, auto_claim_roles) are somewhat self-explanatory, the description adds no meaning about their purpose or interactions, leaving the agent to infer from the schema alone.

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 uses the specific verb 'Wait' and clearly identifies the resource as 'pending chat messages' for the authenticated participant. This distinguishes it from sibling tools like agent_send and agent_reply, which involve outgoing messages, so the purpose is unambiguous.

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?

The description implies usage when you need to wait for incoming chat messages, but it does not provide explicit when-to-use criteria or mention alternatives such as agent_notifications or agent_history. There are no exclusions or conditions for choosing this tool over others.

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/chaojixiaoyezi/agent-bridge'

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