Skip to main content
Glama

Get AI Chili Generation Job Status & Output

get_video_generation
Read-onlyIdempotent

Poll a video generation job by UUID to retrieve status, segment progress, credit cost, and output asset metadata.

Instructions

Poll job status, segment progress, credit cost, and output asset metadata via GET /v1/generations/{job_id}.

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": {
      "job_id": "<job_id>"
    },
    "name": "get_video_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesGeneration job UUID returned by create_video_generation.
api_keyNoOptional AI Chili API key (chili_sk_...). Defaults to AICHILI_API_KEY env var.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered. The description usefully discloses the return payload surface (status, segment progress, credit cost, asset metadata) — valuable given there is no output schema — but omits polling cadence, terminal/failure state semantics, and behavior for an unknown or expired job_id.

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?

A single dense sentence with the returned fields and endpoint front-loaded and no filler. Nothing could be removed without losing 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?

With no output schema, the description steps in to enumerate what comes back, which is the key gap it needed to fill for a status-polling tool. The remaining shortfall is operational: no guidance on polling behavior or what states indicate completion versus failure.

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 both parameters are documented in-schema (job_id provenance, api_key fallback to AICHILI_API_KEY), so the schema does the heavy lifting. The description adds nothing about parameter meaning beyond the schema — it only echoes the job_id in the URL template.

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 uses a specific verb ('Poll') with a clear resource ('job status, segment progress, credit cost, and output asset metadata') and even names the underlying route GET /v1/generations/{job_id}. That makes it plainly distinct from create_video_generation or plan_video_generation, though it never names a sibling as the contrasting alternative.

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?

'Poll' implies repeated invocation after a create call, and the schema description ties job_id back to create_video_generation, so the usage context is inferable. But there is no explicit when/when-not guidance, no mention of terminal states or how often to poll, and no stated alternative for other job-inspection needs.

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