Skip to main content
Glama

studio_wait

Read-onlyIdempotent

Wait for a video project to become idle or reach a target revision instead of polling. Returns when the project has nothing running or queued, or once its revision passes the given value.

Instructions

Long-poll instead of polling: returns when the project is idle (nothing running or queued) or, with until:"revision", when its revision passes revision. Max 280 s per call; call again if timedOut.

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": {
      "projectId": "<projectId>"
    },
    "name": "studio_wait"
  }
}

Input Schema

NameRequiredDescriptionDefault
untilNo
revisionNo
projectIdYes
timeoutSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds the constraints those annotations cannot express: a hard 280 s cap per call and the need to re-invoke on a timedOut result. It also explains the two termination modes, which is the core behavioral contract of a blocking call.

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?

Two dense sentences with no filler: the alternative-to-polling framing leads, and the timeout/re-invoke caveat follows. Every clause carries operational information.

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

Completeness4/5

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

For a read-only blocking tool with no output schema, the description covers the essential contract, including the timedOut outcome an agent must handle. The remaining gap is the default/omission semantics of `until` and the coupling between until:"revision" and the `revision` argument.

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?

With 0% schema description coverage, the description compensates for the two non-obvious parameters: it supplies the meaning of the `until` enum values (idle vs revision) and defines "passes revision" for the `revision` argument, and the 280 s cap maps to timeoutSeconds. It leaves the behavior when `until` is omitted, and whether `revision` is mandatory alongside until:"revision", implicit.

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?

"Long-poll instead of polling" plus the concrete return condition (project idle / revision passed) states a specific verb-and-resource behavior that is unmistakably different from a plain get or list call. An agent can tell what this tool does and what makes it return without reading the schema.

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 explicitly frames the tool as the alternative to polling and tells the agent to call again if the result is timedOut, which is real when-to-use guidance. It stops short of naming a specific sibling to poll with (e.g., studio_get), so it is clear context rather than a full routing rule.

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