Skip to main content
Glama

uniroute_create_media_task

Submit asynchronous image, video, or music generation tasks with a fixed USD cost ceiling and idempotency key to control spending and safely replay requests.

Instructions

Submit an asynchronous image, video, or music generation task on UniRoute with an explicit max_cost_usd ceiling and idempotency key.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "media_type": "<media_type>",
      "model": "<model>",
      "option": "<option>",
      "prompt": "<prompt>",
      "max_cost_usd": "<max_cost_usd>"
    },
    "name": "uniroute_create_media_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes
optionYes
promptYes
image_urlNoOptional input image URL for image-to-image or image-to-video models.
media_typeYes
max_cost_usdYesExact decimal USD string returned by uniroute_quote_media.
idempotency_keyNoOptional UUID for safe replay.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does usefully disclose that execution is asynchronous and that an idempotency key enables safe replay, but it says nothing about what happens when max_cost_usd is exceeded, what the call returns (no output schema exists), whether tasks can be cancelled, or any auth/rate-limit constraints. For a paid mutation tool this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; every clause (media types, async, cost ceiling, idempotency) carries information. It is slightly dense and could be broken into a guidance sentence without losing efficiency.

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?

With 7 parameters, 5 required, no annotations and no output schema, the definition does not supply enough to invoke the tool reliably: the quoting prerequisite, the meaning of 'option' and 'model', and the shape of the returned task handle are all missing.

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

Parameters2/5

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

Schema description coverage is only 43%, so the description must compensate and largely does not. It clarifies the media_type enum values and the max_cost_usd ceiling, but model, option and prompt are undocumented in both schema and description — an agent has no way to know what 'option' means or which models are valid.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (submit) and resource (asynchronous image/video/music generation task) and scopes it to UniRoute. It is easy to separate from the read-only siblings get_media_task, list_media_models and quote_media, though it never names them explicitly.

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

Usage Guidelines3/5

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

Usage is only implied: the word 'asynchronous' plus 'task' suggests a submit-then-poll workflow, and the max_cost_usd reference hints at a quote-first step, but the description never states when to call this instead of uniroute_quote_media or that a quote is a prerequisite. No exclusions or preconditions are given.

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