Skip to main content
Glama

Generate the cover

generate_cover
Destructive

Poster key art (9:16) for the drama, as the vertical-drama apps' hits have it: the title lettered on it in the drama's language (the only text), one or two of the central cast in a composition that is not a line-up, their faces from their selected portraits (generate those first, or the cover invents faces that will not match), the genre's mood and lettering. An art director model first writes the poster (who, pose, one story object, a calm background, lettering for this title); each take picks a fresh composition and title position unless composition or title_position is given. Costs credits (see estimate_cost); the result arrives as a take: poll with get_jobs or wait_for_jobs.

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": {
      "drama_id": "<drama_id>"
    },
    "name": "generate_cover"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoA model id from list_models; omitted = the drama's default for this kind
notesNoExtra direction for this generation only (not saved to the story)
drama_idYesThe drama id (drm_…), from list_dramas or create_drama.
compositionNohero: the lead's face large; couple: the two leads in one charged gesture; rivals: the lead before a looming rival; moment: the defining moment at its peak; symbol: the lead with the object the story turns on
title_positionNoWhere the title sits: top (below a calm band of sky), middle (across the chest or waist) or bottom. A fresh one each take when not given.
idempotency_keyNoAny unique string you choose; resending the same key returns the first job instead of paying twice

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well past the annotations: it discloses credit cost, an internal art-director step that writes the poster before rendering, per-take randomness ('each take picks a fresh composition and title position unless...'), and async take-based delivery. The only gap is that destructiveHint=true is never explained — nothing says what a re-run overwrites or whether takes are retained.

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-loads the artifact and format, then layers prerequisites, cost, and polling in a sensible order. It is dense with parentheticals and a few flourishes ('as the vertical-drama apps' hits have it', 'the genre's mood and lettering') that could be trimmed without loss.

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 costly, open-world, destructive generation tool with an output schema, it covers the essentials: cost, prerequisite inputs, default randomization, and how to retrieve the result. Only the destructiveness/overwrite semantics and any rate or concurrency limits are left unstated.

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 100%, so the baseline is 3, but the description adds real meaning: it explains that composition and title_position are randomized when omitted, which the schema only states for title_position. The art-director sentence also clarifies that these parameters constrain an upstream planning step, not just the render.

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 artifact with format and content: 'Poster key art (9:16) for the drama', title lettered in the drama's language as the only text, one or two central cast in a non-line-up composition. That is far more precise than the title 'Generate the cover' and lets an agent separate it from frame, plate, or character-sheet generators.

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 an explicit prerequisite ('generate those first, or the cover invents faces that will not match') and routes the follow-up work to siblings: estimate_cost for pricing, get_jobs/wait_for_jobs for polling. It does not state when to use a scene frame or location plate instead, so it stops short of full alternative coverage.

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.