Skip to main content
Glama
WaveSpeedAI

WaveSpeed MCP Server

Official

run_model

Run any WaveSpeed model by ID with matching inputs. Pass @path to upload local files, then retrieve output URLs or recover unfinished runs using the prediction ID.

Instructions

Run any WaveSpeed model. input keys come from get_model_schema. Local files: pass "@./path" string values — they are uploaded and replaced with hosted URLs (bare paths are NOT uploaded). Returns output URLs. If the wait limit is hit, the task keeps running; recover it with get_prediction.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesModel inputs per its schema (e.g. {"prompt": "...", "aspect_ratio": "16:9"})
modelYesModel ID from list_models
wait_secondsNoMax seconds to wait; 0 = submit only and return the prediction id
Behavior4/5

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

Annotations only indicate readOnly=false, openWorld=true, idempotent=false, and destructive=false. The description adds valuable behavioral details such as local file upload-and-replace semantics, bare paths not being uploaded, the task continuing after the wait limit, and the recovery mechanism via get_prediction.

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?

Three enumerative, front-loaded sentences cover the core purpose, parameters, file-upload nuance, output type, and timeout recovery. Nothing is redundant; every sentence carries operational or informational weight.

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 3-parameter model-steering tool with no output schema and nested inputs, the description covers the critical inputs, file upload caveat, output expectation, asynchronous wait timeout, and recovery path. It leaves no crucial behavioral gap for selecting and invoking the tool.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, but the description adds meaningful semantics beyond the schema by explaining local file path handling (@./path), the upload-replacement behavior, how return URLs are produced, and the wait-limit continuation behavior. This directly supplements the input and wait_seconds parameter descriptions.

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?

Description opens with a specific verb and resource: "Run any WaveSpeed model," immediately distinguishing this from sibling list_models and get_model_schema. It also references returning output URLs and the recovery path via get_prediction, making the tool's role unmistakable.

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 gives clear usage context: input keys come from get_model_schema, local files need a @./path prefix, and wait-limit timeouts should be recovered with get_prediction. It doesn't state explicit 'when not to use this tool' exclusions, but the references to sibling tools provide enough guidance for orchestration.

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/WaveSpeedAI/mcp-server'

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