Skip to main content
Glama

Deploy a game to PopNow Game Maker

deploy_game

Put a browser game the user made with you (HTML, JavaScript, CSS) online on PopNow Game Maker and get a link anyone can play: popnow.ai/play/. Send every text file in files (index.html at the top level, up to 2 MB of text). For pictures, music, sound effects and 3D models, first make them with create_image, create_music, create_sound_effects or other PopNow tools, then map the paths your code loads to those popnow:// links in assets; they are copied into the game for good. Games run in a sandbox on their own domain: they can load scripts and fonts from cdn.jsdelivr.net, cdnjs.cloudflare.com, unpkg.com, esm.sh and Google Fonts, but can't call other servers, use cookies, open pop-ups or register service workers; localStorage works for the session, and Web Workers must be created from blob: URLs. No server code: static files only. Free: no credits are used. To ship an update, call it again with the same game_id. Afterwards give the user the play link; to list the game in the PopNow Game Maker market, call publish_game.

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": {
      "files": "<files>"
    },
    "name": "deploy_game"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesEvery text file of the game, up to 2 MB in total. Include index.html at the top level. Reference other files with relative paths (js/game.js, not /js/game.js).
titleNoOptional game title. Defaults to the <title> of index.html.
assetsNoPictures, audio, video and 3D models for the game: a map from the path the game loads (for example assets/hero.png or sfx/jump.mp3) to a popnow:// link from an earlier PopNow result. They are copied into the game so the links never expire. Match the extension to the kind of file.
game_idNoTo ship a new version of a game you deployed before, its game_id from the earlier result. Leave empty to create a new game.
orientationNoHow the game is meant to be held on a phone: landscape, portrait or any. Default any.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only flag non-read-only, non-open-world, non-idempotent, non-destructive; the description goes far beyond that with sandbox restrictions (allowed CDNs, no other servers, no cookies/pop-ups/service workers, blob: workers), a static-files-only constraint, a 2 MB text cap, the fact assets are permanently copied so popnow:// links never expire, and that deployment is free. These are exactly the behavioral facts an agent needs before invoking a deploy 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?

It is long but front-loaded with the core action and return link, then proceeds to files, assets, sandbox limits, cost and update path in a logical order. Nearly every sentence carries operational information, though the CDN allow-list and sandbox enumeration could be tightened into a single list.

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 5-parameter deploy tool with no output schema, the description names the key returned values (play link, game_id reused for updates) and covers all major constraints. It does not enumerate the full response object, but an agent has enough to call it and report results correctly.

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 already 100%, but the description adds real meaning: it explains that game_id triggers an update rather than a new game, that files must include index.html at the top level within the 2 MB text budget, and that assets maps runtime load paths to popnow:// links that get copied in. Only the orientation parameter gets no extra treatment beyond the enum's schema text.

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 ('Put a browser game ... online on PopNow Game Maker') and the concrete outcome (popnow.ai/play/<id>). It is clearly distinguished from the sibling publish_game, which is named as the separate market-listing step.

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?

Gives explicit when-to-use guidance: after building assets with create_image/create_music/create_sound_effects, and for updates 'call it again with the same game_id'. It also routes to the alternative when the goal is market listing ('call publish_game'), so an agent can choose the right tool without inference.

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.