Skip to main content
Glama

Wait until media processing has finished

wait_for_media_ready
Read-onlyIdempotent

Poll Premiere Pro until media indexing, audio conforming, and peak file generation complete after import, so analysis or export runs only when files are ready.

Instructions

Wait until Premiere Pro has finished indexing, conforming audio and generating peak files (see get_media_processing_status), polling twice a second. Call it after importing media and before analysing or exporting. Returns ready=true once the app has been idle for two polls in a row, or ready=false with the last status when the timeout is reached (not an error), plus waited_seconds and polls.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "wait_for_media_ready"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeout_secondsNoMaximum time to wait, in seconds, 1-1800. Default 60.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior, and the description adds what they cannot: polling cadence (twice a second), the ready=true criterion (two consecutive idle polls), and the crucial fact that a timeout returns ready=false rather than raising an error. This is exactly the extra context annotations cannot carry.

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 sentences, front-loaded with the behavior, followed by usage guidance and then return semantics. Every clause carries information an agent needs; nothing is redundant padding.

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?

With no output schema, the description compensates by spelling out the return fields (ready, waited_seconds, polls) and the timeout-is-not-an-error contract. For a single-optional-parameter blocking wait, nothing material 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?

Schema coverage is 100% and timeout_seconds is fully documented in the schema, so the baseline of 3 applies. The description does not restate the valid range or default; its timeout remarks concern return values rather than the parameter itself.

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?

States a concrete verb and resource ('wait until Premiere Pro has finished indexing, conforming audio and generating peak files') and explicitly names the sibling get_media_processing_status that covers the non-waiting case, so an agent can separate them without reading either schema.

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?

Gives both the trigger and the ordering constraint ('after importing media and before analysing or exporting') and routes status-only checks to get_media_processing_status. No ambiguity remains about when this tool is the right choice.

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

Deploy Server

Other Tools