Skip to main content
Glama

Publish the game to its sandbox

publish_sandbox
Destructive

Publish this archive to the game’s sandbox. Anyone with the link can play it at once, without moderation — ask the developer first. Upload covers first: a shared link’s preview is cached on first open. The build check decides: only an archive whose get_archive_status state is PASSED is published, and a PROBLEM, a NOT_CHECKED or a check still running is refused with the archive’s own reason and its message — relay that message word for word and fix the build (get_bridge_sdk_docs has the SDK integration docs). The build must also run Playgama Bridge 2.2.0 or newer. get_sandbox_state with the same archiveId answers that refusal before this call. Refusals (reason): PUBLISHED_ON_PLAYGAMA (the game is live in the Playgama catalog; its sandbox is closed for good — updates go through review), ARCHIVE_PENDING (unpacking; if already DONE, upload again), ARCHIVE_FAILED (upload a corrected zip), BRIDGE_VERSION_OUTDATED (the build runs an older Bridge: update the SDK and upload a new archive), BRIDGE_VERSION_UNKNOWN (the check could not read the Bridge version: make sure it is 2.2.0 or newer and upload again), NO_TITLE, MULTIPLAYER (the sandbox has no player accounts; a multiplayer game goes through review — or uncheck the flag only if the game plays single-player), BLOCKED, RATE_LIMITED, ORG_QUOTA (the organization has opened as many new sandboxes as it may per day, week or ever; resetsAt says when the next is possible — wait, do not retry). Answers outcome PUBLISHED or UNCHANGED (nothing written; repeating is safe), url and the live revision. Hand out url; never build it. Then offer the developer the post and links from get_sandbox_share.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
archiveIdYesId of an archive of this game that is in its form, unpacked and past its build check (get_archive_status says `processing: DONE` and `state.status: PASSED`), built on Playgama Bridge 2.2.0 or newer (`analysis.bridgeVersion`)
applicationIdYesApplication (game) id, as returned by list_applications

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / archiveId / description
      Previous value: -"Id of an archive of this game that is in its form and unpacked (get_archive_status says `processing: DONE`); waiting for its `bridgeSdk` to leave PENDING is recommended"New value: +"Id of an archive of this game that is in its form, unpacked and past its build check (get_archive_status says `processing: DONE` and `state.status: PASSED`), built on Playgama Bridge 2.2.0 or newer (`analysis.bridgeVersion`)"
  2. Changed1 schema field changed
    • changedInput schema / properties / archiveId / description
      Previous value: -"Id of an archive of this game that is in its form and finished unpacking (get_archive_status says DONE)"New value: +"Id of an archive of this game that is in its form and unpacked (get_archive_status says `processing: DONE`); waiting for its `bridgeSdk` to leave PENDING is recommended"
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover the safety profile (destructive=true, readOnlyHint=false), and the description adds substantially more: instant unmoderated public exposure, preview caching on first open, the full reason list with per-reason remediation, and ORG_QUOTA with resetsAt plus an explicit 'wait, do not retry' instruction. There is a mild tension between the declared idempotentHint=false and 'repeating is safe / UNCHANGED (nothing written)', but that describes the post-first-call behavior rather than a real 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?

Front-loaded with the action and the key warning before any caveats, and the bolded cues make it scannable. It is long, but nearly every clause (per-reason remediation, the 'relay the message word for word' instruction, the 'never build the URL' rule) is directly actionable, so little is wasted.

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?

Even without an output schema, the description documents the return contract (outcome PUBLISHED/UNCHANGED, url, revision), explains how to consume it (hand out url, never construct it), and names the follow-up tool (get_sandbox_share). Nothing an agent needs to call this 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 the baseline is 3, but the description earns above it by explaining why archiveId must be in a specific state and version, tying the parameter to the check pipeline rather than merely naming it.

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 precise verb+resource+effect: publishes an archive to the game's sandbox and makes it publicly playable at once. The first sentence alone lets an agent distinguish it from sibling writes like start_archive_upload or confirm_archive_upload.

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 preconditions (get_archive_status state=PASSED, processing=DONE, Bridge >= 2.2.0), an alternative pre-check (get_sandbox_state with the same archiveId answers the refusal before this call), and a full refusal taxonomy that tells the agent exactly when the call will not succeed and what to do instead.

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