Skip to main content
Glama

Open Web Arcade

Upload cover art

upload_cover

Optional. Uploads cover art for a submission: a 16:9 JPEG, PNG or WebP up to 2 MB, ideally 1280 x 720. Give cover_url (public https) or cover_base64. Upload it before upload_zip (or after the game reaches review). Only one cover per submission. Without one, a screenshot from the sandbox is used.

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_cover"
  }
}

Input Schema

NameRequiredDescriptionDefault
cover_urlNoPublic https URL of the image.
cover_base64NoThe image as base64, up to 2 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.6/5.0
Behavior4/5

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

Annotations already declare mutation (readOnlyHint=false), non-idempotence, and open-world scope. The description adds genuinely new constraints: one cover per submission, the default fallback asset, and the required ordering relative to upload_zip. It does not say what happens if a cover is uploaded twice or whether an existing cover can be replaced, which matters given idempotentHint=false.

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?

Four short sentences, front-loaded with the most decision-relevant word ('Optional'), with no redundancy. Every sentence carries a distinct, actionable fact: format, input choice, timing, cardinality, and fallback.

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?

No output schema exists, but the description does not need one for a simple upload acknowledgement. It covers format, size, mechanism, timing, and default behavior, leaving only re-upload semantics on the table for a non-idempotent mutation tool.

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 the baseline is 3. The description earns above baseline by stating the either/or relationship between cover_url and cover_base64 ('Give cover_url ... or cover_base64'), a mutual-exclusivity constraint the schema does not encode, plus the 'public https' restriction and the 2 MB pre-encoding limit.

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 cover art for a submission') and immediately constrains it with concrete format specifications (16:9 JPEG/PNG/WebP, 2 MB, ideally 1280x720). It is unambiguous against the sibling upload_zip, which it names as a distinct step in the flow.

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?

Opens with 'Optional', then gives explicit when-to-use timing ('before upload_zip (or after the game reaches review)'), names the two alternative input mechanisms (cover_url vs cover_base64), and states the fallback consequence of skipping ('a screenshot from the sandbox is used'). This is unusually complete routing guidance.

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