Skip to main content
Glama

Generate covers

generate_covers
Destructive

Design covers for a book (async). 1 credit per cover. Returns a jobId for get_generation_status. Pass book_id for a book that exists (find it with list_books), or title, author and genre to create the book in the same call. Send a summary: the art director designs from it. Optional: template_id for one look, or directions for one cover per approach the user names. Every fiction and non-fiction genre is supported.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_covers"
  }
}

Input Schema

NameRequiredDescriptionDefault
moodNo
countNoCovers to make (1-5, default 1).
genreNoNew book: genre slug or name, e.g. "romance", "self-help".
titleNoNew book: the title.
authorNoNew book: the author. Optional only for planners, puzzles and coloring books.
promptNoOptional art direction: a note of up to 1500 characters, or with prompt_mode "verbatim" the whole cover prompt (up to 6000).
book_idNoAn existing book (from list_books). Omit to create a new book from the fields below.
summaryNoNew book: 1-3 paragraphs about the book. Strongly recommended.
subgenreNoNew book: e.g. "cozy", "romantasy". Detected from the summary when omitted.
subtitleNo
directionsNoInstead of count: 1-5 approaches, one cover each (e.g. "a lighthouse in a storm, painterly").
prompt_modeNo"note" (default): prompt is merged into the design. "verbatim": prompt is the whole cover prompt, with no template, palette or mood.
template_idNoPin one look: a template id from list_templates_for_genre.
planner_yearNoNew planner: the year on the cover, e.g. "2027".
color_paletteNomonochrome = Monochrome (shades of a single color); pastel = Pastel (soft pinks, blues, lavenders); earth = Earth Tones (browns, greens, ochres); muted = Muted / Desaturated (vintage feel); dark = Dark & Moody (deep blues, blacks); bold = Bold & High Contrast (neon accents); warm = Warm & Inviting (oranges, warm reds); cool = Cool & Calm (blues, teals, purples); metallic = Metallic Accents (gold, silver); duotone = Duotone / Limited Palette
idempotency_keyNoOptional key; a retry with the same key returns the same job.
target_audienceNo

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?

Adds real context beyond the annotations: asynchronous execution, credit cost, downstream jobId/get_generation_status flow, and the side effect that a new book may be created in the same call. It does not address permissions, failure/refund behavior when a job fails, or rate limits, leaving some burden on the annotations.

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 highest-value facts (verb, async, cost, return) then the mode branches, in roughly the order an agent needs them. A few clauses ("Every fiction and non-fiction genre is supported", the art-director remark) are useful but push the sentence count up.

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 17-parameter generation tool with no output schema, the description covers the async return contract, cost, and the mutually exclusive input modes, which is what an agent needs to call it correctly. Remaining completeness is carried by the well-covered schema.

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?

With 82% schema coverage the baseline is 3, and the description earns more: it explains that summary drives the art director's design, that directions replaces count one-for-one, and that template_id and directions are alternative looks. Undocumented in prose are mood, color_palette, target_audience and subtitle, but the schema already describes those.

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?

States a specific verb and resource ("Design covers for a book") plus the operational shape: async, 1 credit per cover, returns a jobId consumed by get_generation_status. An agent can distinguish this from siblings like generate_cover_from_reference or edit_cover without opening schemas.

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?

Explicit branch points: pass book_id for an existing book (routed to list_books) vs. title/author/genre to create one inline; template_id for one look vs. directions for one cover per approach; prompt_mode note vs. verbatim. It does not say when to prefer generate_cover_from_reference or edit_cover instead, which is the only meaningful gap.

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