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.

Confirm a screenshot or video upload

confirm_media_upload
Destructive

Step 3 of 3, after the PUT: checks that the file is the format the upload was started as and within its kind’s size. A trailer must also be a non-fragmented MP4. On success, the file appears in the form. For a trailer, replaced names the previous trailer, if any. Refused with 409 while nothing is uploaded, or 422 for the wrong format, a file over the size limit, or a fragmented trailer. After a 422, start a new upload with a corrected file. Re-export a fragmented trailer without fragmentation first. A successful confirmation is safe to repeat. Moderation sees the file with the next submit to it. The catalog takes screenshots carried by an update or submit sent after the upload: its publication adds to the end of the game’s gallery the ones whose delivery the console has not confirmed yet. The trailer reaches the catalog only with a submit sent after the upload that a moderator publishes, only up to 100 MiB and only while the game there shows no video; other videos do not reach it, so do not promise them to players.

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>",
      "mediaId": "<mediaId>"
    },
    "name": "confirm_media_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
mediaIdYesMedia id, as answered by start_media_upload
applicationIdYesGame id from list_applications

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Far beyond what the annotations carry: concrete refusal conditions (409 when nothing is uploaded, 422 for wrong format/oversize/fragmented trailer), the trailer-replacement effect surfaced via `replaced`, a non-fragmented-MP4 prerequisite, moderation timing, and downstream catalog/gallery consequences for screenshots versus trailers. The statement that a successful confirmation is 'safe to repeat' sits in mild tension with idempotentHint=false, but read as 'does not error' rather than 'has no effect' it is reconcilable, and the destructiveHint=true annotation is corroborated by the previous-trailer replacement.

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

Conciseness3/5

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

The core check and the step-3 framing are front-loaded, but the back half is dense and convoluted — 'The catalog takes screenshots carried by an update or submit sent after the upload: its publication adds to the end of the game's gallery the ones whose delivery the console has not confirmed yet' takes real work to parse. The closing imperative 'do not promise them to players' is guidance to the agent rather than tool behavior, and the passage could be tightened considerably.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation with no output schema, the description covers validation rules, error codes, recovery steps, and one return field (`replaced`), plus the downstream submission/moderation effects. It leaves the rest of the success payload unspecified and the idempotency signal ambiguous, which keeps it just short of complete.

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 coverage is 100% and both parameters already document their provenance (mediaId from start_media_upload, applicationId from list_applications), so the description need not add parameter detail. It adds only the sequencing context that ties mediaId to the earlier start call — the baseline 3 is appropriate.

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?

The description gives a specific verb and resource ('Step 3 of 3, after the PUT: checks that the file is the format the upload was started as and within its kind's size'), scoping it to screenshots/videos/trailers and thereby separating it from the archive/cover confirmation siblings. An agent knows exactly what this call does and where it sits in the upload sequence without opening the schema.

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?

Timing is explicit (after the PUT, third of three steps) and the failure paths carry actionable next steps: 'After a 422, start a new upload with a corrected file' and 'Re-export a fragmented trailer without fragmentation first.' It stops short of naming the sibling tools (confirm_archive_upload, confirm_cover_upload) as alternatives, but the screenshot/video/trailer scoping implies the routing.

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