Skip to main content
Glama

Generate cover and thumbnail

gamealia_generate_cover
Destructive

Creates a 1200x630 cover and 512x512 thumbnail from a gameplay screenshot with a title overlay, writing files to outDir and optionally uploading them to a Gamealia listing.

Instructions

Makes a 1200x630 cover and a 512x512 thumbnail from a gameplay screenshot (e.g. desktop-input.png from gamealia_run_autotest): center-cropped with the title on a gradient. Writes cover and thumb files to outDir (refuses to replace existing ones unless overwrite:true) and returns their paths plus the cover as an image. Without game it is local only; with game (needs login) it also uploads both to that listing, replacing its current images. Otherwise pass the files to gamealia_create_game or gamealia_update_listing.

Input Schema

NameRequiredDescriptionDefault
gameNoUpload them to this game's listing
titleYesGame title drawn on the images, 1-60 characters
outDirNoWhere to write cover/thumb (default: the screenshot's folder)
overwriteNoReplace existing cover/thumb files in outDir
screenshotYesPNG/JPEG/WebP screenshot path

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.18
    • addedInput schema / properties / title / description
      Added value: +"Game title drawn on the images, 1-60 characters"
  2. First observedv0.1.17

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint/openWorldHint) by naming exactly what gets written, that existing cover/thumb files are refused unless overwrite:true, that uploads replace the listing's current images, and that the game path requires login. It also discloses the return payload: file paths plus the cover as an image.

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?

Three sentences, each load-bearing, with the core action front-loaded before side effects and routing. Dense nested parentheticals (e.g. the screenshot example and the overwrite caveat) slightly slow scanning but carry genuine information.

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?

With no output schema, the description supplies the return shape itself (paths plus cover image), plus overwrite semantics, login requirement, and upload side effects. Nothing an agent needs to invoke this safely and correctly is 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 baseline is 3, and the description adds real meaning: an example screenshot value tied to gamealia_run_autotest, the outDir default behavior, and the consequence of overwrite:true. It stops short of clarifying formats or constraints on title beyond what the schema states.

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 concrete outputs: makes a 1200x630 cover and 512x512 thumbnail from a gameplay screenshot, center-cropped with the title on a gradient. It also names the downstream siblings (gamealia_create_game, gamealia_update_listing), so an agent can place it precisely in the workflow.

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?

Explicitly branches usage: omit `game` for local-only generation, pass `game` (requires login) to also upload and replace listing images, and otherwise hand the resulting files to gamealia_create_game or gamealia_update_listing. When-to-use, when-not, and alternatives are all present.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.