Skip to main content
Glama

Start a build upload

start_upload

Creates a new version of a game and returns shell commands that zip the build folder (index.html at its root) and upload it straight to Gamealia with curl, using a 1-hour upload token for this version only. The commands run in a shell; complete_upload finishes the upload. No file bytes go through MCP. Clients without a shell can upload from the dashboard link in get_game instead. Web games only: mobile listings have no build.

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": "<game>"
    },
    "name": "start_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
gameYesThe game's slug or id (list_games shows them)
notesNoRelease notes: a short changelog of this version, in plain words for players. Required (at least 10 characters) to submit an update to a game that is already live
buildDirNoThe build folder to zip (default: the current folder); it must contain index.html at its root

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / notes / description
      Previous value: -"Release notes: a short changelog of this version, in plain words for players. Required (at least 10 characters) to submit an update to a game that is already live; confirm them with the developer"New value: +"Release notes: a short changelog of this version, in plain words for players. Required (at least 10 characters) to submit an update to a game that is already live"
  2. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare the mutation profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds real behavioral context beyond them: the upload token is valid for 1 hour and scoped to this version only, and no file bytes go through MCP. It does not say what happens to an abandoned upload (only that cancel_upload exists as a sibling) or whether repeated calls create multiple versions.

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?

Five short sentences, front-loaded with what the tool creates before the mechanics of the shell commands and tokens. Every sentence carries a distinct, non-redundant fact (workflow, token, no bytes through MCP, shell-less fallback, platform scope).

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?

No output schema exists, and the description covers what the agent needs: the returned shell commands, how the flow completes (complete_upload), and the non-shell alternative. For a tool whose behavior is unusual (returning commands rather than performing the upload), this is complete enough to invoke correctly.

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; the description adds meaning by restating the critical constraint that the build folder must contain index.html at its root, which is the main way a call fails. It adds nothing about the notes parameter (including the 10-character requirement for live games), leaving that entirely to the schema.

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 ('Creates a new version of a game') plus the non-obvious output ('returns shell commands that zip the build folder... and upload it straight to Gamealia with curl'). It clearly separates the tool from siblings complete_upload and get_game by naming both and their roles.

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?

Explains the full workflow ('The commands run in a shell; complete_upload finishes the upload') and gives an explicit exclusion path for clients without a shell ('upload from the dashboard link in get_game instead'). It also scopes applicability with 'Web games only: mobile listings have no build', which prevents misfires on a whole class of 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.