Skip to main content
Glama

Upload a version

goof_upload_version

Uploads game files as a new version after validation and returns a 2-hour test link; invalid uploads are refused with errors.

Instructions

Checks the game files, uploads them as a new version of a game and returns a test link (valid 2 hours, opens on any phone). Nothing goes public: a version is only played by others after goof_submit_for_review and a human review. If the checks find errors the upload is refused and the errors are returned.

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": {
      "game_id": "<game_id>"
    },
    "name": "goof_upload_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoThe whole game as one HTML page (everything inlined). Use this for a single-file game.
pathNoA path on this computer: an .html file, a .zip, or the game folder (it must hold index.html). Preferred when the game is on disk.
filesNoThe game as several files. One entry must be index.html at the top. Give text files as "text", binary files (images, sounds, models) as "base64".
notesNoWhat changed in this version, for the reviewer. Up to 500 characters.
game_idYesThe game id (d + 14 hex characters), from goof_create_game or goof_list_games.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only give the generic non-destructive write/open-world profile; the description adds the details an agent cannot infer: the returned link expires in 2 hours, the version stays non-public until review, and failed checks refuse the upload and return the errors. That is exactly the behavioral context annotations cannot carry.

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

Conciseness5/5

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

Three sentences, front-loaded with the action and result, then the privacy boundary, then the failure behavior. No filler and no restating of the name or title.

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 carries return-value information itself (test link with a 2-hour validity, or returned validation errors) and explains the upload/refusal contract. 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.

Parameters3/5

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

Schema description coverage is 100%, so each of html/path/files/notes/game_id is already explained, including format and 'preferred when on disk'. The description only says 'checks the game files' and adds no new meaning about parameter choice or interaction between html, path, and files.

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 resource ('Checks the game files, uploads them as a new version of a game') plus a concrete outcome (returns a test link). The mention of goof_submit_for_review cleanly separates this from the publishing step and from sibling uploaders like goof_upload_cover.

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 makes clear this is a private, pre-review step and that publication requires goof_submit_for_review plus human review, which is real when-to-use context. It stops short of explicit routing guidance such as running goof_check_game first or how this differs from goof_preview_link.

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