Skip to main content
Glama

Edit, vary or convert a cover

edit_cover
Destructive

Run one change on a cover (async; returns a jobId for get_generation_status). action:

  • edit (1 credit): apply prompt, e.g. "make the sky darker". Makes a NEW cover.

  • variations (1 credit each): 1-5 close variations, each a NEW cover.

  • remove_text (1 credit): a text-free version, the no_text asset of this cover.

  • audiobook (1 credit): a square audiobook version, the audiobook_preview asset.

  • upscale (free): a print-resolution copy of source_asset (preview gives full, no_text gives no_text_full, audiobook_preview gives audiobook_full). remove_text and audiobook are free for the first one of a book whose marketing kit is open this month; the reply says so. The original cover never changes.

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": {
      "cover_id": "<cover_id>",
      "action": "<action>"
    },
    "name": "edit_cover"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoaction variations: how many (1-5, default 1).
actionYes
promptNoaction edit: the change to make.
cover_idYesThe coverId (from list_covers_for_book or a finished job).
regenerateNoremove_text or audiobook: replace the existing asset (charged again). Only when the user asks.
source_assetNoaction upscale: preview (default), no_text or audiobook_preview.
idempotency_keyNoOptional key; a retry with the same key returns the same job.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say this is a non-readonly, destructive, non-idempotent call. The description goes well beyond that: async job model with jobId polling, credit cost per action (and which are free), the free-first-asset marketing-kit rule, the regenerate re-charge rule, and the reassurance that the source cover itself is never modified. That is exactly the behavioral context an agent needs before spending a user's credits.

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?

Front-loaded with the async/jobId fact, then a scannable bullet per action, then a short note on the free-tier nuance and the non-mutation guarantee. Every clause carries information an agent would otherwise have to guess; nothing is repeated from the schema or annotations.

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 7-parameter, multi-mode, credit-consuming async tool with annotations but no output schema, the description supplies the missing pieces: cost model, async contract and polling target, per-action output assets, and the guarantee about the original cover. Nothing an agent needs to invoke it correctly appears absent.

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 86%, so the baseline is 3, and the description adds real meaning on top: it explains what each action value does, defines the upscale source_asset-to-output mapping (preview→full, no_text→no_text_full, audiobook_preview→audiobook_full), and clarifies the count range and credit implications. Only prompt/regenerate semantics are left mostly to the schema, which already documents them.

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?

Opens with a specific verb and resource ("Run one change on a cover") and immediately qualifies the mode (async, returns a jobId). Each of the five action values is then spelled out with a concrete outcome, so an agent can distinguish 'edit' from 'variations' from 'upscale' without opening the schema.

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?

Guidance is per-action rather than per-tool: it says when to pick edit vs variations vs remove_text vs audiobook vs upscale, gives a prompt example, and routes follow-up polling to get_generation_status. It does not contrast this tool with sibling generators such as generate_covers or replace_person_on_cover, so the agent must infer that boundary, but the action-level guidance is explicit.

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