Skip to main content
Glama

Update a Playfrog game

update_game
Destructive

Publish a new version of an existing Playfrog game at the same play link. Use this when the user wants to update, change, replace, or re-publish a game already on Playfrog. Requires the game_id and manage_token returned by publish_game. Send the complete set of files again, not a diff. Returns the new version_id and the same play_url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coverNoOptional cover image for the game page and social share card. 1200x630 pixels, PNG/JPEG/WebP, max 3 MB, base64-encoded. Without a cover, a gameplay screenshot is captured automatically.
filesYes
genreNoThe gallery category the game is filed under (e.g. arcade, puzzle, platformer). Improves discoverability.
notesNoOne line about what changed in this version.
titleNoThe game title players will see.
game_idYesFrom the publish_game response.
controlsNoE.g. "WASD to move, space to shoot".
descriptionNo2 to 4 real sentences: what the game is, how to play, what makes it fun. Players read this before playing.
orientationNoOnly if the game works one way; phones held wrong get a rotate overlay.
manage_tokenYesFrom the publish_game response (starts with pfm_).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
statusYes
game_idYes
game_urlYes
play_urlYes
claim_urlYes
expires_atYes
version_idYes
manage_tokenYes
dropped_filesNo
metadata_hintNo
action_requiredNo

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already mark destructiveHint=true and readOnlyHint=false, but the description adds meaningful context beyond that: it replaces the entire game (complete file set required), preserves the play URL, and returns a new version_id. This clarifies the mutation semantics and aligns with the destructive hint without contradiction.

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?

The description is five sentences, each contributing distinct information: purpose, when to use, required tokens, file handling, and return values. It is front-loaded with the core purpose and contains no filler. Slightly longer than necessary but well-structured.

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?

Given the tool's complexity (10 params, nested objects) and an existing output schema, the description covers the essential context: when to use, prerequisites, how to provide files, and what to expect (new version_id, same play_url). It does not cover error conditions, but these are typically beyond description scope, and the schema handles parameter details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 90% (high), so the baseline is 3. The description adds value by noting that game_id and manage_token come from the publish_game response, which clarifies their provenance. It does not elaborate on other parameters, but the schema already covers them thoroughly, so it does not need to compensate.

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?

The description states a specific verb ('Publish a new version') and a specific resource ('an existing Playfrog game'), and explicitly distinguishes it from the sibling publish_game by emphasizing 'existing' and 'at the same play link'. This makes the tool's purpose unambiguous and clearly differentiates it.

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?

The description explicitly says 'Use this when the user wants to update, change, replace, or re-publish a game already on Playfrog', which gives clear invocation conditions. It also cautions to 'Send the complete set of files again, not a diff', a key usage tip. It implies the alternative (publish_game for new games) by requiring tokens from publish_game, though it does not explicitly state 'use publish_game for new games'.

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.

TDQS

A4.2/5.0
Disambiguation5/5

publish_game and update_game have clearly distinct purposes: creating a new game vs. replacing an existing one. The update tool explicitly depends on identifiers returned by publish_game, so there is no realistic chance of selecting the wrong tool.

Naming Consistency5/5

Both tools follow the same verb_noun snake_case pattern: publish_game and update_game. Naming is consistent, predictable, and clearly communicates each tool's action and target.

Tool Count3/5

With only two tools, the server is at the low end of the acceptable range and feels somewhat thin for a publishing service. Each tool does earn its place, but the set is small enough that it lacks the breadth expected of a full-featured publishing workflow.

Completeness3/5

The pair covers initial publish and version updates, but there is no delete/unpublish or status/inspection tool, leaving a dead end for users who need to manage or remove a game. The required claim flow is also left to an external URL rather than represented as a tool, making the lifecycle incomplete.

Resources