Skip to main content
Glama

list_running_jobs

List background agent jobs for this movie that are currently pending or running. Use to check what is in flight before starting more work, or before answering "what is happening right now?". Returns up to 50 most recent jobs with id, kind, status, progress, current_step, started_at, and recentlyFinished: the cast jobs (description rewrites, portraits) that completed, failed or were cancelled in the last 30 minutes, with endedAt and the characters (a completed description rewrite is written), and recentlyEnded: the image jobs of the last day that failed or were cancelled (id, kind, cause, error), whose id enqueue_generate_images / enqueue_generate_shot_image take as retryOf when the user asks to try one again. A failure's cause "our_side" is Promvie or a provider it uses, never the user's credits; only "user_credits" is.

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": {
      "movieId": "<movieId>"
    },
    "name": "list_running_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
movieIdYesThe movie id (uuid) this call operates on. Get it from create_movie or list_movies.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/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 substantial work: it caps results at 50, defines the 30-minute window for recentlyFinished, the one-day window for recentlyEnded, and explains that cause 'our_side' means Promvie or a provider, never the user's credits. It never explicitly states the call is read-only/has no side effects and says nothing about auth or pagination.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and usage are correctly front-loaded, but the second sentence is a run-on that chains several return-shape definitions together with nested parentheticals, making it hard to parse. The return detail is justified because there is no output schema, but it could be structured far more cleanly.

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 tool with no output schema, the description documents the return payload thoroughly: fields, time windows, retry semantics, and failure-cause vocabulary. Gaps remain on ordering beyond 'most recent', whether queued counts as pending, and confirmation that the call has no side effects.

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?

There is a single parameter (movieId) at 100% schema description coverage, which already names its source (create_movie or list_movies). The description adds no further meaning about movieId. Baseline 3 applies when the schema does the work.

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 and resource with scope: 'List background agent jobs for this movie that are currently pending or running.' The scope is slightly muddied because the same call also returns recentlyFinished and recentlyEnded jobs, which are not pending or running. It is distinguishable from list_* siblings by the 'background agent jobs' framing, though it does not explicitly contrast with cancel_job.

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?

Gives two concrete triggers: 'check what is in flight before starting more work' and 'before answering "what is happening right now?"'. It also implicitly routes retry flows to enqueue_generate_images / enqueue_generate_shot_image via retryOf. It offers no when-not guidance or explicit alternative for inspecting finished history.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources