Skip to main content
Glama

Upload or update a game

sekai_create_upload
Idempotent

Upload a new game, or edit a game previously uploaded through MCP. For an edit, pass game_id and base_version_id from sekai_job_status: the PUT appends a new draft version to that SAME game and preserves history. Omit both only to create a separate game. Version edits require draft mode and a finished current version. Requires creation_summary for this project only: intent (what the person asked to build, at most 500 characters) and steps (up to 10 main changes they asked for, at most 150 characters each). Write it in your own words. Do not include personal data, names, credentials, links, file paths, or anything unrelated to this game; Sekai removes such details it finds. Sekai uses it for safety review, categorization and quality review. Returns upload_id and put_url. PUT multipart/form-data with the html file, then finalize/poll. Draft mode: private draft, <= 1.5 MB, publish from app. External mode: new games only, <= 8 MB, then sekai_publish. Multiplayer (only where sekai_whoami reports upload.multiplayer: true): also pass server_js_sha256 and server_js_size (<= 256 KiB) of the game's server.js; PUT server.js to server_put_url FIRST, then the html to put_url.

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": {
      "title": "<title>",
      "creation_summary": "<creation_summary>"
    },
    "name": "sekai_create_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
introNo
titleYes
game_idNo
size_bytesNo
content_sha256No
server_js_sizeNo
base_version_idNo
idempotency_keyNo
creation_summaryYesWhat the agent declares on sekai_create_upload at the directory endpoint.
server_js_sha256No

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare non-read-only, idempotent, open-world, non-destructive, so the bar is low, and the description still adds substantial behavior: the PUT appends a new draft version and preserves history, version edits require draft mode plus a finished current version, size ceilings differ per mode, and server.js must be PUT before the html. It also discloses that Sekai scrubs personal data and uses creation_summary for safety review, which is meaningful for a write tool.

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 the create-vs-edit decision and the chaining parameters, so the most consequential information comes first. The remaining prose is a dense run-on of constraints (limits, content policy, multipart instructions) that is efficient but strains readability in a single paragraph.

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 10-parameter, nested-object, multi-step upload tool this is unusually complete: it covers prerequisites, size limits, ordering, return values (upload_id, put_url), and the finalize/poll follow-up. The residual gap is that content_sha256, size_bytes, and idempotency_key are never tied to any behavior, so an agent must guess whether they are required for integrity checks or safe retries.

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 description coverage is only 10%, so the description carries most of the burden, and it delivers real meaning for game_id, base_version_id, server_js_sha256/server_js_size, and the intent/steps contents of creation_summary, plus the critical server.js-before-html ordering. It leaves intro, size_bytes, content_sha256, and idempotency_key entirely unexplained in both schema and description, which is a notable but partial gap.

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?

Opens with a concrete verb+resource pair and immediately splits the two modes of operation: "Upload a new game, or edit a game previously uploaded through MCP." An agent can tell this apart from sekai_publish or sekai_upload_asset without opening any schema.

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?

States explicitly when to pass game_id/base_version_id (an edit, sourced from sekai_job_status) and when to omit both (a separate game). It also gives mode-selection guidance (draft vs external, external = new games only) and makes multiplayer conditional on what sekai_whoami reports, plus names sekai_publish as the follow-on step.

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