Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Playgama MCP - Publish & Manage HTML5 Games. If you published it, claim ownership there.

Start a screenshot or video upload

start_media_upload
Destructive

Step 1 of 3 of uploading one screenshot or video to the game’s form. Offer it once, after the covers: three or more screenshots of real play and a short horizontal trailer; the developer may skip it. If they have none, the open skill playgama-game-video (https://github.com/Playgama/gamedev-skills) films a trailer and takes screenshots from the running game: pass that link on as it is, and film only when they ask. Export a trailer as a non-fragmented MP4. Answers uploadUrl and headers: PUT the file there with exactly those headers within an hour, e.g. curl -T trailer.mp4 -H "Content-Type: video/mp4" "<uploadUrl>", then call confirm_media_upload.

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": {
      "applicationId": "<applicationId>",
      "kind": "<kind>",
      "format": "<format>",
      "contentSize": "<contentSize>"
    },
    "name": "start_media_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhich field of the form this file goes to: screenshot = png/jpeg up to 10485760 bytes; trailer = mp4 up to 209715200 bytes, one per game: a confirmed one replaces it; video = mp4 up to 209715200 bytes. Covers are not uploaded here.
formatYesThe file’s actual format — it is checked against the bytes on confirm
contentSizeYesExact size of the file in bytes (`wc -c < trailer.mp4`). The upload URL is signed for this length and the storage refuses any other.
applicationIdYesGame id from list_applications

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it discloses the two-phase lifecycle: this call returns `uploadUrl` and `headers`, the file must be PUT to that URL with exactly those headers within an hour, and confirm_media_upload must follow. The expiry window, required header reuse, and the hand-off to the confirm tool are exactly the hidden behaviors an agent needs and are not derivable from readOnlyHint/destructiveHint.

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 "Step 1 of 3" and the upload intent, then the content guidance, then the mechanical PUT/confirm steps. It is dense and a few clauses (the skill link policy) are wordy, but almost every sentence carries operational information.

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?

There is no output schema, and the description compensates by naming the returned fields (`uploadUrl`, `headers`) and describing what to do with them. Combined with the fully documented input schema, an agent has everything needed to invoke this tool and complete the upload.

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 meaning the schema does not: a trailer must be exported as a non-fragmented MP4, and the curl example shows the Content-Type value to pair with the format. It does not add anything for contentSize or applicationId beyond 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?

"Step 1 of 3 of uploading one screenshot or video to the game's form" gives a specific verb, resource, and position in a multi-step flow, and the schema plus description explicitly rule out covers ("Covers are not uploaded here"), separating it from start_cover_upload and confirm_media_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?

It states exactly when to offer the tool ("once, after the covers"), what counts as adequate content (three or more screenshots of real play and a short horizontal trailer), that the developer may skip it, and what to do if they have nothing (point them at the linked skill, film only on request). That is explicit when/when-not guidance with a named alternative path.

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