Skip to main content
Glama

enqueue_generate_poster

Generate or edit the movie poster using a user-supplied prompt. Use when the user gives explicit creative direction for the poster ("make the poster more noir", "redo it with a Tokyo skyline", "poster with a single silhouette"). Two modes: mode: "generate" (default — prompt-only via Grok Imagine) and mode: "edit" (Flux 2 Max edit — uses the existing poster + optional reference images as visual seeds). Costs the user image-model credits, taken up front; a poster that fails says what became of its credits (plan credits refunded after the plan ended end with it). For automatic cover generation without a custom prompt prefer enqueue_generate_cover.

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>",
      "prompt": "<prompt>"
    },
    "name": "enqueue_generate_poster"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo`generate` (default) creates a fresh poster from prompt only. `edit` uses the existing poster + optional reference images as visual seeds; pick this when the user says "tweak", "modify", or "use the existing poster".
promptYesRequired. The user's instructions for the poster. Pass through verbatim or lightly cleaned.
modelIdNoOptional override of the image model. Defaults to `fal-ai/flux-2-max/edit` for edit mode and `xai/grok-imagine-image/v2.0/text-to-image` for generate mode.
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

A4.4/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 real work: it discloses that image-model credits are consumed up front and that a failed poster reports the fate of its credits. That disclosure is undercut by a garbled clause ('plan credits refunded after the plan ended end with it'), which makes the refund semantics unreadable, and it never says whether this runs async or how to check the resulting job.

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?

Front-loaded with the core action and the gating condition, then the mode split, then the sibling alternative — a sensible order with little padding. The nested parenthetical about failed posters is both wordy and broken, which costs it a point.

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?

For a 4-parameter tool with a fully documented schema and no output schema, the description covers the essentials an agent needs: the selection condition, the two modes and their defaults, the credit cost, and the sibling alternative. The only real gap — async/polling behavior implied by the 'enqueue' prefix — is minor against a schema that already names every 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?

Schema coverage is 100%, so mode, prompt, modelId and movieId are already documented in the schema, including mode's enum semantics and the per-mode default model ids. The description only restates the mode split (prompt-only via Grok Imagine vs. Flux 2 Max edit) and adds no format, length, or image-reference detail beyond the schema.

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?

Names a specific verb and resource ('Generate or edit the movie poster') and immediately distinguishes the two operating modes and the sibling it is not ('for automatic cover generation ... prefer enqueue_generate_cover'). An agent can separate this from enqueue_generate_cover without opening 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?

States an explicit trigger condition ('when the user gives explicit creative direction for the poster') with concrete example phrasings, and names the alternative tool plus the condition that selects it (no custom prompt → enqueue_generate_cover). Both the when and the when-not are present.

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