Skip to main content
Glama

Publish a space

publish

Publish a browser game or any other page made to play or use on Velven's hosting, from one HTML page or a small set of files (3 MB in all). Signed in: a private preview by default, or with prod: true the next live version, live on its Velven page within seconds. Not signed in: an unlisted page, live the same way, returned with a claim token that keeps it. A new space needs title and devices from the person. To update a space pass space (signed in) or claim (not signed in).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sdkNoAdd Velven's SDK script to the entry page. Default true.
spaNoServe the entry page for any unknown path (a single-page app).
clipNoThe video the tile plays on hover, without sound. Give the path of one of the files sent: an MP4 or WebM, up to 3 MB and 5 to 10 seconds long. Velven then records no clip of its own. Without a thumbnail, the clip's first frame is the picture. It must show the space itself. A clip outside that length is refused. If the file doesn't say its length, Velven measures it once live. It keeps the first 10 seconds of a longer clip, and drops a shorter one. A later version that names neither keeps the space's.
htmlNoA whole page as one HTML string, published as index.html.
prodNoGo live on the space's Velven page instead of making a preview. Signed in only. Default false.
claimNoThe claim token of an unlisted page: publishes its next version, or claims it when signed in.
entryNoThe page that opens first, if not index.html.
filesNoFiles by relative path: text as a string, binary as { "base64": "..." }. Must include the entry page (index.html unless entry says otherwise). A velven.json, a dotfile, a dot-folder or node_modules, in any folder, is left out (never published; the result names the first 10 and counts the rest): send velven.json's settings as this tool's fields.
spaceNoPublish a new version of this space (yours, signed in).
titleNoThe space's name. Required for a new space.
engineNoWhat it draws with, if one of these.
devicesNoWhere it can be played. Required for a new space.
thumbnailNoThe picture on the space's tile. Give the path of one of the files sent: a JPEG, PNG or WebP, up to 2 MB and 4096 pixels on each side. It's used as soon as the version is live, and Velven takes no picture of its own. It must show the space itself.
descriptionNoOne line under the name.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
spaceYesThe space's slug.
termsNoThe Terms line to show the person (no account).
reasonNoWhy it was refused, naming the file when it was one.
statusYesThe version's status: preview, publishing (waiting on Velven to publish it), live or refused.
leftOutNoFiles not published (velven.json, dotfiles, node_modules), the first 10.
pageUrlYesThe space's page on Velven.
versionYesThe version this publish made.
claimUrlNoOpen signed in to claim the page (no account).
watchUrlNoWhere to follow the version on Velven.
expiresAtNoWhen an unlisted page is deleted unless claimed (no account).
claimTokenNoThe unlisted page's claim token, shown once (no account).
previewUrlNoThe private preview, for 24 hours (a preview only).
leftOutCountNoHow many files were left out in all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / how_made
      Removed value: -{
      -  "description": "How it was made, in the creator's words.",
      -  "maxLength": 2000,
      -  "type": "string"
      -}
    • removedInput schema / properties / type
      Removed value: -{
      -  "description": "What it is. Required for a new space.",
      -  "enum": [
      -    "game",
      -    "world",
      -    "tool",
      -    "wonder"
      -  ],
      -  "type": "string"
      -}
  2. Changed2 schema fields changed
    • changedInput schema / properties / clip / description
      Previous value: -"The short muted video its tile plays on hover: the path of one of the files sent, an MP4 or WebM up to 3 MB (five seconds at 480p is right). Velven records no clip then; without a thumbnail, the clip's first frame is the picture. A later version that names neither keeps the space's."New value: +"The video the tile plays on hover, without sound. Give the path of one of the files sent: an MP4 or WebM, up to 3 MB and 5 to 10 seconds long. Velven then records no clip of its own. Without a thumbnail, the clip's first frame is the picture. It must show the space itself. A clip outside that length is refused. If the file doesn't say its length, Velven measures it once live. It keeps the first 10 seconds of a longer clip, and drops a shorter one. A later version that names neither keeps the space's."
    • changedInput schema / properties / thumbnail / description
      Previous value: -"The space's picture on its tile: the path of one of the files sent, a JPEG, PNG or WebP up to 2 MB. It is used from the moment the version is live, instead of a picture Velven takes."New value: +"The picture on the space's tile. Give the path of one of the files sent: a JPEG, PNG or WebP, up to 2 MB and 4096 pixels on each side. It's used as soon as the version is live, and Velven takes no picture of its own. It must show the space itself."
  3. Changed6 schema fields changed
    • addedInput schema / properties / clip
      Added value: +{
      +  "description": "The short muted video its tile plays on hover: the path of one of the files sent, an MP4 or WebM up to 3 MB (five seconds at 480p is right). Velven records no clip then; without a thumbnail, the clip's first frame is the picture. A later version that names neither keeps the space's.",
      +  "type": "string"
      +}
    • changedInput schema / properties / prod / description
      Previous value: -"Go live after the safety check instead of a preview. Signed in only. Default false."New value: +"Go live on the space's Velven page instead of making a preview. Signed in only. Default false."
    • addedInput schema / properties / thumbnail
      Added value: +{
      +  "description": "The space's picture on its tile: the path of one of the files sent, a JPEG, PNG or WebP up to 2 MB. It is used from the moment the version is live, instead of a picture Velven takes.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / reason
      Added value: +{
      +  "description": "Why it was refused, naming the file when it was one.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / status / description
      Previous value: -"The version's status: preview, checking (in the safety check) or live."New value: +"The version's status: preview, publishing (waiting on Velven to publish it), live or refused."
    • changedOutput schema / properties / watchUrl / description
      Previous value: -"Where to follow the check."New value: +"Where to follow the version on Velven."
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations give the safety profile (non-readOnly, non-destructive, non-idempotent, open-world), so the bar is lower, yet the description adds real behavior: default is a private preview, prod:true goes live within seconds, unsigned publishing returns a claim token that retains the page, and update path differs by auth. Auth needs and default outcome are covered; no rate limits or failure modes are mentioned.

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?

Purpose and the signed-in/not-signed-in distinction are front-loaded, and each sentence carries workflow information. The prose is dense and a bit run-on (the prod clause is embedded mid-sentence), but there is little outright waste.

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 14-parameter tool with nested file objects, an output schema (so return values needn't be explained), and annotations covering the safety profile, the description covers the key workflows and defaults. It stops short of explaining version semantics or the interaction between claim and signed-in publishing in full, but is adequate to call correctly.

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 description coverage is 100% with all 14 parameters documented in the schema itself, so baseline is 3. The description only restates that title and devices are needed for a new space and that space/claim select the update path, adding no syntax or format meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (publish) and resource (a space/page) plus scope details: one HTML page or a small file set up to 3 MB. An agent can tell this creates or updates a hosted space, but it never names the sibling tools (rollback, versions, my_spaces) to disambiguate the management-vs-publish boundary.

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?

It clearly branches the usage by auth state (signed in = private preview by default, or prod:true for live; not signed in = unlisted page with a claim token) and by new vs update (title+devices for new, space or claim for update). What's missing is explicit guidance against alternatives like rollback or versions.

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.