Skip to main content
Glama

Open Web Arcade

Upload the game build

upload_zip

Uploads the game's .zip build for a submission (index.html at the top level, up to 50 MB, 250 MB unpacked, 3,000 files). Give either zip_url, a public https link to the zip such as a GitHub release asset, or zip_base64 for builds up to 8 MB. With a shell, a direct upload also works: curl -T game.zip -H "X-Upload-Token: <upload_token>" https://openwebarcade.com/api/submissions/<submission_id>/zip. The build is then checked automatically and started in a sandboxed browser.

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": {
      "submission_id": "<submission_id>",
      "upload_token": "<upload_token>"
    },
    "name": "upload_zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
zip_urlNoPublic https URL of the .zip. It must send a Content-Length.
zip_base64NoThe .zip file as base64, up to 8 MB before encoding.
upload_tokenYesThe upload_token returned by submit_game.
submission_idYesThe submission_id returned by submit_game.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations (readOnly=false, openWorld=true, idempotent=false, destructive=false) by disclosing the post-upload pipeline: the build is 'checked automatically and started in a sandboxed browser', which tells the agent this call triggers validation and execution, not just storage. It also notes the alternate authenticated HTTP endpoint and token header. Remaining gaps are failure behavior and what happens when validation fails.

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 purpose and constraints, then the mode choice, then the curl variant, then the outcome. Dense but every sentence carries new information; the inline limits in parentheses are efficient rather than wasteful.

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 4-parameter upload tool with no output schema, it covers size/file limits, required layout, authentication source, both input modes, and the downstream validation/sandbox behavior. An agent has everything needed to invoke it 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, but the description adds real meaning: zip_url must be a public https link 'such as a GitHub release asset' and the two input modes are mutually exclusive ('Give either ... or ...'). The 8 MB base64 ceiling is reinforced beyond the schema note.

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 ('Uploads the game's .zip build for a submission') and immediately bounds it with top-level index.html, 50 MB zip, 250 MB unpacked, and 3,000 file limits. That is enough to distinguish it from upload_cover, which by name alone targets a different artifact.

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?

Explicitly tells the agent to use 'either zip_url ... or zip_base64 for builds up to 8 MB', giving a concrete selection rule between the two input modes, plus a shell/curl alternative. It does not state prerequisites like 'call submit_game first to obtain submission_id and upload_token', though the schema descriptions carry that.

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