Skip to main content
Glama
wiroai

Wiro MCP Server

Official
by wiroai

Run a Wiro model

run_model

Execute any AI model from Wiro for generating, editing, or analyzing image, video, text, audio, or 3D content. Check the model schema first, pass parameters, and get the media output.

Instructions

Run any AI model on Wiro. Supports image, video, text, audio, 3D, and more. Call get_model_schema first. With wait=true this performs a bounded wait; when the response contains nextAction.tool = "wait_for_task", call that tool with the exact arguments returned. Never call run_model again for the same request. When the task completes, present every returned media resource in the user-facing response instead of reporting only task metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waitNoIf true, poll until completion and return the result. If false, return the task identifiers immediately.
modelYesModel slug in "owner/model" format, e.g. "openai/sora-2", "google/nano-banana-pro"
paramsYesModel-specific parameters as key-value pairs. Use get_model_schema to discover available parameters. For file parameters (fileinput, multifileinput, combinefileinput), pass URLs directly — no upload needed. For combinefileinput, pass an array of URLs.
timeout_secondsNoMaximum seconds to wait when wait=true. 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
Behavior4/5

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

Annotations already mark the tool as non-read-only, non-idempotent, and open-world. The description adds useful behavior beyond annotations: bounded wait behavior, the nextAction delegation pattern, and the requirement to present returned media resources to the user. It stops short of discussing error handling or permission requirements, but with annotation coverage this is a solid 4.

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?

Six sentences, each dense with operational value: purpose, modality support, prerequisite, async handling, exclusion rule, and user-facing presentation requirement. No redundant phrasing; information is front-loaded and every sentence earns its place.

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 covers the full execution lifecycle: prerequisite schema call, running the model, bounded wait behavior, delegation to wait_for_task, and final media presentation. With an output schema present, it does not need to detail return values. This is complete for a complex async tool.

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 provides 100% parameter descriptions, including details on file parameter URL passing. The description adds no new parameter-level semantics; it only references get_model_schema for discovery. Per the rubric, baseline 3 applies when schema coverage is high and the description does not significantly extend parameter understanding.

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 opens with 'Run any AI model on Wiro' and lists supported modalities, clearly stating the tool's function. It distinguishes itself from siblings like get_model_schema and wait_for_task by focusing on execution rather than schema retrieval or status polling.

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 workflow: 'Call get_model_schema first' for parameter discovery, and instructs to delegate to wait_for_task when the response indicates nextAction.tool = 'wait_for_task'. It also gives a clear exclusion: 'Never call run_model again for the same request.' This is strong when-to-use and when-not-to-use 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