Skip to main content
Glama

Export a cover at an exact size and format

export_cover

Export a cover as a JPG or PNG file at an exact size, as the app's Advanced export does. Free. For a store's eBook file send only preset (kdp_ebook, ebook_2x3). Otherwise send format and width_px, or print { width_in, height_in?, dpi } (the cover fits inside, never cropped). shape 2:3 widens the art at both sides. variant no_text needs remove_text first. The first export builds a high-resolution master, which can take a minute. Returns a download link (1 hour); a trial workspace gets a watermarked file.

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

Input Schema

NameRequiredDescriptionDefault
dpiNoWith width_px: DPI in the file (default 300).
printNoPrint size, instead of width_px.
shapeNooriginal (default, 5:8) or 2:3.
formatNoRequired unless preset is sent.
presetNokdp_ebook: Amazon KDP eBook cover: 1600 x 2560 px JPG, the cover's own 5:8; ebook_2x3: eBook cover in 2:3 for stores that ask for it: 1600 x 2400 px JPG. Sets size, shape and format; send nothing else with it.
variantNofull (default) or no_text.
cover_idYesThe coverId to export.
width_pxNoWidth in pixels; the height follows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false), and the description adds genuinely useful behavior: the first export builds a high-resolution master that can take a minute, returns a download link valid for one hour, and a trial workspace gets a watermarked file. Those latency, expiry, and output-quality disclosures are exactly the kind of context annotations cannot carry, though idempotency/caching behavior on repeat exports is left unstated.

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 purpose and free-of-charge status, then the branching rules, then behavioral caveats -- a sensible order. Sentences are dense with parentheticals and inline examples, which borders on cramped but every clause carries information the agent needs.

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 an 8-parameter tool with a nested print object and no output schema, the description covers the essentials: output forms and dimensions, the fit-not-crop rule, prerequisite for no_text, latency on first call, and the return value (a download link with a one-hour lifetime). Nothing an agent needs to call this correctly appears missing.

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 earns extra credit by adding semantics the schema lacks: 'the cover fits inside, never cropped' for print sizes, 'shape 2:3 widens the art at both sides,' and the mutual exclusivity of preset versus format/width_px. Only the dpi field's interaction with width_px is left to the schema alone.

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 -- 'Export a cover as a JPG or PNG file at an exact size' -- and anchors it to a known feature ('as the app's Advanced export does'). It does not explicitly distinguish itself from a sibling like download_cover, so the agent must infer that this is the sized/format-controlled path; that is the only real gap.

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 strong conditional routing: preset-only for a store's eBook file, otherwise format+width_px or the print object, plus the prerequisite 'variant no_text needs remove_text first.' These are parameter-mode branches rather than tool-selection guidance, and no alternative tool is named for plain downloads, so it stops short of a 5.

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