Skip to main content
Glama

Publish a game

neme_publish

Upload a game build as a new numbered version: keep it as a private preview or make it live for players, while preserving earlier versions for rollback.

Instructions

Upload the game described by dir/neme.json to neme.world as a new numbered version. With preview true it stays private and players see no change; without it the new version becomes the one players get, so do that only when the developer says so. Earlier versions are kept: neme_promote goes back to one, and makes an approved preview live without uploading again. Uses NEME_TOKEN; with none, the game goes online for a day at a temporary, unlisted address (preview true then fails, uploading nothing) and the result ends with a claim link to give the developer, who keeps the game by opening it and signing up. Returns text: the version number, its download size, the link to play or try it, and once live a README badge line (Markdown) to offer the developer. Fails, changing nothing players see, if neme.json is missing or the build breaks a rule in neme_guide.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "neme_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirNoThe project folder: the one holding neme.json. Absolute, or relative to the folder this server was started in. Default: that folder.
previewNotrue: upload as a private preview, leaving what players get unchanged. Needs NEME_TOKEN: with no token there are no private previews, and it fails without uploading anything. false or left out: make the new version live.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.7.0
    • changedInput schema / properties / dir / description
      Previous value: -"Folder holding neme.json. Default: the current folder."New value: +"The project folder: the one holding neme.json. Absolute, or relative to the folder this server was started in. Default: that folder."
    • changedInput schema / properties / preview / description
      Previous value: -"Upload without making it live."New value: +"true: upload as a private preview, leaving what players get unchanged. Needs NEME_TOKEN: with no token there are no private previews, and it fails without uploading anything. false or left out: make the new version live."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint false, destructiveHint false, openWorldHint true, non-idempotent), and the description goes well beyond them: earlier versions are retained, no-token uploads go live for a day at a temporary unlisted address with a claim link, and failures leave what players see unchanged. The only gap is that it doesn't state whether a failed/partial upload ever leaves server-side artifacts beyond what players see.

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 is front-loaded and every sentence carries operational information (versioning, token fallback, return text, failure modes). It is dense and long, with some restatement of the schema's preview/token wording, so it's slightly over-packed but not padded.

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?

With no output schema, the description supplies the return contract (version number, download size, play link, README badge line once live) and the failure conditions (missing neme.json, guide rule violation, token-less preview). Auth, rollback, and no-token fallback are all covered, so nothing essential is missing for a 2-parameter publishing 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 baseline is 3, but the description adds decision-level meaning: preview true is gated on NEME_TOKEN and fails without uploading anything, and it frames the flag as a developer-consent choice. Much of the token/preview failure text duplicates the schema, which keeps this from a 5.

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 with scope: 'Upload the game described by dir/neme.json to neme.world as a new numbered version.' It also implicitly separates itself from neme_promote by naming that sibling as the way to roll back or activate a preview, so an agent can route between them without opening either 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?

Explicitly splits the two modes: preview true keeps the version private with no player-visible change, omitting it makes the version live, and it adds the governance rule 'do that only when the developer says so'. It also names the alternative path (neme_promote) for reverting and for making an approved preview live without re-uploading.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.