Skip to main content
Glama
kagan-sh

Kagan - AI Orchestration Layer

task_wait

Wait for specified tasks to reach completion or target statuses, enabling synchronization of dependent workflows or concurrent agents.

Instructions

Wait for tasks to reach completion or target statuses.

Use this to gate dependent work or synchronize concurrent agents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idsNo
timeout_secondsNo
wait_for_statusNo
resolve_when_anyNo
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states it waits for statuses but lacks behavioral details like polling mechanism, timeout behavior (only implied by parameter), or side effects. More disclosure is needed.

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 concise sentences front-loading purpose and usage. Every word is meaningful, no redundancy.

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?

For a blocking tool with 4 unannotated parameters and no output schema, the description is insufficient. It lacks details on return values, timeout behavior, status options, and how to specify tasks, leaving critical gaps.

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

Parameters1/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 explain any of the four parameters (task_ids, timeout_seconds, wait_for_status, resolve_when_any). This leaves the agent without guidance on how to properly invoke the tool.

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 waits for tasks to reach completion or target statuses, with a specific verb and resource. It distinguishes itself from siblings like task_get (for checking status) or run_get (for runs).

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 provides clear usage context: 'gate dependent work or synchronize concurrent agents.' It does not explicitly mention when not to use or list alternatives, but the context is sufficient to guide appropriate 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/kagan-sh/kagan'

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