Skip to main content
Glama
wiroai

Wiro MCP Server

Official
by wiroai

Wait for a Wiro task

wait_for_task
Read-onlyIdempotent

Check the status of an existing Wiro task and retrieve all media resources when it finishes. Avoids resubmitting the model, so you can safely wait and collect results.

Instructions

Wait for an existing Wiro task without submitting a new model run. If it is still running, repeat the exact nextAction returned by this tool. Never call run_model again for the same task. When it completes, present every returned media resource in the user-facing response instead of reporting only task metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskidNoThe task ID (alternative to tasktoken).
tasktokenNoThe task token returned from run_model.
timeout_secondsNoMaximum seconds to wait. The 45-second default is safe for clients with a 60-second tool timeout.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes
errorNo
stateYes
outputsYes
responseNo
nextActionNo
Behavior5/5

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

Annotations already indicate read-only and idempotent behavior, but the description adds non-obvious operational details: the need to repeat nextAction, the prohibition on calling run_model again, and the requirement to present all returned media resources. These enrich the agent's mental model beyond the structured hints.

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 three concise sentences that pack in the tool's purpose, the polling loop, and the final response behavior. Every sentence carries essential information with no fluff or repetition.

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

Completeness5/5

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

The description fully covers the operational flow: waiting, repeating nextAction, and presenting media on completion. Combined with complete parameter schema and output schema, the agent has everything needed to use the tool effectively. The polling and completion behavior are thoroughly described.

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?

All three parameters (taskid, tasktoken, timeout_seconds) have complete, descriptive text in the schema, yielding 100% coverage. The tool description itself does not add parameter-specific meaning, so it stays at the baseline expected when the schema fully documents parameters.

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 an existing Wiro task without submitting a new run, using a specific verb and resource. It explicitly distinguishes from run_model by saying 'without submitting a new model run,' making it distinct from the main sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Provides explicit usage instructions: if the task is still running, repeat the exact nextAction; never call run_model again for the same task. This tells the agent when to use the tool (polling loop) and when not to use alternatives, which is excellent guidance.

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/wiroai/Wiro-MCP'

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