Skip to main content
Glama
justForever17

jimeng_visual_generation

get_video_task_result

Query the status of a video generation task using its task ID. Retrieve the download URL upon successful completion.

Instructions

Query the status of a video generation task using the Task ID returned by generate_video.

CRITICAL INSTRUCTIONS FOR AI AGENTS:

  • Video generation takes time (often 1-3 minutes).

  • If the returned status is "ordered" or "running", DO NOT tell the user it failed. Ask the user to wait, and call this tool again after 10-15 seconds.

  • Once the status is "succeeded", the response will contain the download URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description fully bears the load. It discloses polling behavior, expected duration (1-3 minutes), and appropriate agent actions. Does not mention potential failures beyond statuses.

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?

Concise, well-structured with clear sections including critical instructions. Every sentence adds value, no redundancy.

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?

Given the output schema exists (not provided but indicated), the description sufficiently covers the polling loop and status handling. Complete for a query tool with one parameter.

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?

Only one parameter (task_id) which is well-described in the schema itself ('Task ID from generate_video'). The description adds no additional meaning beyond the schema's property description, so baseline of 3 applies.

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?

Clearly states it queries the status of a video generation task using the Task ID from generate_video. Distinguishes from sibling tools generate_image and generate_video by focusing on result retrieval.

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?

Provides explicit instructions on when to call this tool (after generate_video) and how to handle different statuses (ordered/running vs succeeded). Lacks explicit 'when not to use' but is clear enough.

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/justForever17/jimeng_visual_generation'

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