Skip to main content
Glama

klyo games: publish HTML5 browser games

Game cover in the catalogue

klyo_game_cover

Set the tile players recognise the game by in the catalogue. Frames are screenshots FROM YOUR RUNNING GAME: we take them ourselves once the game is live at its own address, so they appear only AFTER release (klyo_publish_game), not during it. Call without klatka to get the list of available frames with their addresses; show them to the account owner, or look at them yourself and pick one that shows gameplay rather than the title screen. Then call again with its number. We deliberately do not accept a custom image as the main cover: the cover must show what the player will really see after clicking. Retouched art that does not match the game is a reason for taking the game down. COVER IN A LANGUAGE: with jezyk (pl, en, de, fr, es, pt, it, ru, uk, tr) this sets the cover shown on that language's game page, tiles and link previews. It is the language version of the main cover: the same picture, only its texts in that language, nothing invented; the game must really look like this, otherwise the game can be taken down. Send the image (PNG, JPEG or WebP up to 16 MB, 16:9, at least 1200 x 675, best 1920 x 1080; other shapes are cropped to 16:9 from the centre) with the ticket from klyo_upload_package, then call with jezyk and its upload_id, plus alt: one sentence in that language saying what the picture shows. usun: true goes back to the main cover (or to the klyo cover, where klyo made one for that language); jezyk alone lists which languages have their own cover and which show a klyo cover (od_klyo). It is public at once, like the main cover.

Examples: • Show frames to choose from for the cover of lantern-thief • Set the second frame as my game's cover • My game has no image in the catalogue, fix it

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": {
      "slug": "<slug>"
    },
    "name": "klyo_game_cover"
  }
}

Input Schema

NameRequiredDescriptionDefault
altNoWith `jezyk`: one sentence in that language saying what the picture shows (the image description Google and screen readers read).
slugYesGame address on the account, for example lantern-thief (from klyo_my_games).
usunNoWith `jezyk`: remove the cover in this language; its pages go back to the main cover, or to the klyo cover where klyo made one.
jezykNoCover in one language instead of the main cover: the language version of the main cover (the same picture with its texts in that language).
klatkaNoNumber of the frame to set. OMIT it to get the list of frames to choose from first.
upload_idNoWith `jezyk`: the image sent with the ticket from klyo_upload_package (PNG, JPEG or WebP up to 16 MB, 16:9, at least 1200 x 675).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / usun / description
      Previous value: -"With `jezyk`: remove the cover in this language; its pages go back to the main cover."New value: +"With `jezyk`: remove the cover in this language; its pages go back to the main cover, or to the klyo cover where klyo made one."
  2. Changed4 schema fields changed
    • addedInput schema / properties / alt
      Added value: +{
      +  "description": "With `jezyk`: one sentence in that language saying what the picture shows (the image description Google and screen readers read).",
      +  "maxLength": 180,
      +  "type": "string"
      +}
    • addedInput schema / properties / jezyk
      Added value: +{
      +  "description": "Cover in one language instead of the main cover: the language version of the main cover (the same picture with its texts in that language).",
      +  "enum": [
      +    "pl",
      +    "en",
      +    "de",
      +    "fr",
      +    "es",
      +    "pt",
      +    "it",
      +    "ru",
      +    "uk",
      +    "tr"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / upload_id
      Added value: +{
      +  "description": "With `jezyk`: the image sent with the ticket from klyo_upload_package (PNG, JPEG or WebP up to 16 MB, 16:9, at least 1200 x 675).",
      +  "type": "string"
      +}
    • addedInput schema / properties / usun
      Added value: +{
      +  "description": "With `jezyk`: remove the cover in this language; its pages go back to the main cover.",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • changedInput schema / properties / klatka / description
      Previous value: -"Numer klatki do ustawienia. POMIŃ, żeby najpierw dostać listę klatek do wyboru."New value: +"Number of the frame to set. OMIT it to get the list of frames to choose from first."
    • changedInput schema / properties / slug / description
      Previous value: -"Adres gry na koncie, np. lantern-thief (z klyo_my_games)."New value: +"Game address on the account, for example lantern-thief (from klyo_my_games)."
  4. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, non-idempotent, non-destructive local write. The description adds substantially more: covers are captured from the running game after publish, listing mode returns frames with their addresses, the result is public immediately, and mismatched or retouched art can get the game taken down. `usun` fallback behaviour (back to main cover, or to a klyo-made cover) is disclosed too.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded, but the body is a dense wall of prose with heavy parentheticals and mixed capitalisation that makes the mode-switching rules hard to scan. The takedown warning is effectively repeated twice and some sentences are editorial rationale rather than operational instruction, so not every sentence earns its place.

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 six-parameter mutation tool with no output schema, the description covers everything an agent needs: preconditions (game must be published), both listing behaviours and their return contents, the upload handoff, image format limits, and revert semantics. No material gap remains that would cause a wrong call.

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% and the schema already documents each parameter, including that `klatka` should be omitted to list. The description's added value is the conditional interplay between `jezyk`, `upload_id`, `alt` and `usun` (which combinations list, set, or delete), plus the image constraints and the 16:9 centre-crop rule. That is real meaning beyond the schema, though it restates a fair amount of what the per-property descriptions already say.

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 concrete verb and resource ('Set the tile players recognise the game by in the catalogue') and immediately splits the two modes: main cover from an in-game frame vs. per-language cover from an uploaded image. It names the gating sibling ('klyo_publish_game') and the upload dependency ('klyo_upload_package'), so an agent can place this tool in the workflow without opening any schema.

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?

Gives explicit call sequences: call without `klatka` to list frames, then call again with the number; call with `jezyk` alone to list which languages have their own cover; with `jezyk` + `upload_id` + `alt` to set; with `usun: true` to revert. It also states a hard exclusion — no custom image as the main cover — and the timing constraint that frames exist only after release.

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.