Skip to main content
Glama

herdr_agent_wait_any

Wait for multiple agents to reach idle, done, or blocked states, returning as soon as the first occurs and canceling the rest.

Instructions

Wait concurrently for the first of several agents to become idle, done, or blocked. Losing waits are cancelled. Per-target after_seq cursors prevent stale terminal states.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetsYes
read_linesNo
timeout_msNo
Behavior3/5

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

With no annotations provided, the description carries the behavioral burden. It discloses that losing waits are cancelled and that per-target after_seq cursors prevent stale terminal states, which adds meaningful behavior beyond the name. However, it omits side effects (e.g., whether waits are non-destructive), timeout behavior, and the meaning of 'idle, done, or blocked' in practice. Some behavioral transparency is present but incomplete.

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 dense sentences, each adding unique information: the concurrency and terminal states, the cancellation behavior, and the cursor mechanism. No filler or redundancy. The most important fact (concurrent wait-for-first) is front-loaded.

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?

The tool has three parameters, no output schema, and no annotations, yet the description is minimal. It fails to explain return values, error conditions, timeout semantics, or what the awaited states mean in practice. Critical usage context is missing for a tool that coordinates multiple agents, making successful invocation risky without prior knowledge.

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%, so the description must compensate. It mentions 'after_seq cursors' but does not explain the after_seq parameter, and it entirely omits read_lines and timeout_ms, leaving their purpose and accepted values unexplained. The target parameter's meaning is only hinted at via 'agents' and the description of target types in the schema, but the description does not reinforce it. The compensation is insufficient.

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?

The description states a specific verb ('wait') and resource ('several agents') with the condition 'first ... to become idle, done, or blocked'. It clearly distinguishes from sibling tools by the 'concurrently' and 'any' semantics, though it does not explicitly name an alternative. 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 Guidelines2/5

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

No guidance is given on when to use this tool versus its siblings (e.g., herdr_agent_wait, herdr_agent_wait_settled). The description explains what it does but not the conditions that would lead an agent to choose it over alternatives. No exclusions or contextual triggers are mentioned.

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/nativestrider/herdr-mesh-safe'

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