Skip to main content
Glama

aistudio_check_job

Checks the progress of an async video or music generation job and returns the finished file path once ready, optionally waiting up to 45 seconds for completion.

Instructions

Check progress of an async video/music generation job and return the finished file path when ready.

Args: job_id: The job_id returned by aistudio_generate_video or aistudio_generate_music. wait_seconds: Seconds to wait for completion before returning current status (max 45s).

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": "aistudio_check_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNo
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose useful traits: the 45s maximum wait and the two possible outcomes (finished path vs. current status). It omits what happens on an unknown/failed job, what status values look like, and why job_id is nullable with a null default on a job-polling tool.

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?

The outcome and scope are front-loaded in the first sentence, followed by a compact Args block with no filler. Slightly verbose for the amount of information carried, but nothing is wasted.

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

Completeness3/5

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

No output schema exists, so the description is the only source of return-value semantics, and 'current status' is left vague compared to the concrete 'finished file path'. For a simple two-parameter polling tool it is close to adequate, but the failure/not-ready states an agent will actually encounter are underspecified.

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 0%, so the description must compensate and largely does: job_id is tied back to the generating tools, and wait_seconds is explained as a bounded blocking wait (max 45s). It does not explain the nullable job_id default or the lower bound / default value of wait_seconds.

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?

States a specific verb ('Check progress'), a specific resource ('async video/music generation job'), and the success outcome ('return the finished file path when ready'). Naming aistudio_generate_video and aistudio_generate_music as the origin of job_id implicitly separates it from the generator siblings, though it never explicitly says 'this polls, it does not create'.

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?

Clear context is established: this is the follow-up call after an async generation job, and job_id comes from the two generate tools. There are no explicit exclusions or notes about when not to call it, and no mention of whether repeated polling is expected.

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