Skip to main content
Glama
wiroai

Wiro MCP Server

Official
by wiroai

Wait for a Wiro task

wait_for_task
Read-onlyIdempotent

Wait for an active Wiro AI task to finish without submitting a new model run. If it is still running, repeat the returned nextAction, then present all media results when complete.

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. Do not resubmit the original request. A completed tool-call turn may return a run_model continuation template after its calls have been executed. 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
Install Server

TDQS

A4.5/5.0
Behavior5/5

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

Beyond readOnlyHint/idempotentHint, the description discloses the polling loop ('repeat the exact nextAction'), the instruction not to resubmit, and the special run_model continuation-template case. It also specifies user-facing response requirements for completed tasks, which annotations could not convey.

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?

Four sentences, each carrying a distinct operational fact: purpose, repeated-call behavior, continuation-template caveat, and final response expectation. It is front-loaded with the core purpose and contains no filler.

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?

For a waiting tool with a full schema and output schema, the description supplies the missing behavioral context: it tells the agent how to poll, what not to resubmit, and how to present the final result. Nothing necessary to invoke it correctly is left unexplained.

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?

The input schema already documents all three parameters at 100% coverage, including the taskid vs tasktoken relationship and the timeout default. The description adds no additional parameter-level meaning, so the baseline of 3 is appropriate.

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 a specific verb and resource ('wait for an existing Wiro task') and immediately disambiguates from run_model by saying 'without submitting a new model run.' The follow-on instructions about repeating nextAction also separate it from one-shot status lookups like get_task.

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?

It clearly states when to call this tool (after an existing task exists) and what to do when the task is still running, and it warns not to resubmit the original request. It does not explicitly name a lighter-weight alternative such as get_task for non-blocking status checks, so it stops short of a full when/when-not/alternatives profile.

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

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