Skip to main content
Glama

Publish a new version

update_app

Publishes complete html or zipBase64 as a new version of an app in the account, with the same checks as create_app. The data and the link are kept as long as the app.db collections and fields and the localStorage keys stay the same. Returns openUrl and the version; identical content adds no version. Earlier versions remain available to rollback_app.

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": {
      "appId": "<appId>"
    },
    "name": "update_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
htmlNoThe complete contents of ONE HTML file, with its CSS and JS inline. noback injects its SDK (window.app) itself. Mutually exclusive with zipBase64.
appIdYesThe app's short id, as returned by create_app or list_apps (e.g. "a-x7k2pq").
zipBase64NoA complete .zip package encoded in base64, as an alternative to html: index.html at the root, an optional noback.toml, plus scripts, styles and files. Mutually exclusive with html.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / credential
      Removed value: -{
      -  "description": "The token connect_status returned after the person approved you. Send it on every create_app and update_app in this conversation (or as the header Authorization: Bearer <token>). Leave it out the first time: create_app then asks for approval. Never show it to the person or put it in an app.",
      -  "minLength": 20,
      -  "type": "string"
      -}
    • removedInput schema / properties / editKey
      Removed value: -{
      -  "description": "Only for apps published before connecting existed: the private edit key create_app returned then. Never put it in the HTML, the data or a shared link.",
      -  "minLength": 16,
      -  "type": "string"
      -}
  2. Changed2 schema fields changed
    • changedInput schema / properties / html / description
      Previous value: -"The complete contents of ONE HTML file, with its CSS and JS inline. Don't add the noback SDK by hand: noback injects window.app. Send html or zipBase64, not both."New value: +"The complete contents of ONE HTML file, with its CSS and JS inline. noback injects its SDK (window.app) itself. Mutually exclusive with zipBase64."
    • changedInput schema / properties / zipBase64 / description
      Previous value: -"A complete .zip package encoded in base64, instead of html: index.html at the root, an optional noback.toml, plus scripts, styles and files. Send html or zipBase64, not both."New value: +"A complete .zip package encoded in base64, as an alternative to html: index.html at the root, an optional noback.toml, plus scripts, styles and files. Mutually exclusive with html."
  3. Changed3 schema fields changed
    • addedInput schema / properties / credential
      Added value: +{
      +  "description": "The token connect_status returned after the person approved you. Send it on every create_app and update_app in this conversation (or as the header Authorization: Bearer <token>). Leave it out the first time: create_app then asks for approval. Never show it to the person or put it in an app.",
      +  "minLength": 20,
      +  "type": "string"
      +}
    • changedInput schema / properties / editKey / description
      Previous value: -"The private edit key returned by create_app. Never put it in the HTML, the data or a shared link."New value: +"Only for apps published before connecting existed: the private edit key create_app returned then. Never put it in the HTML, the data or a shared link."
    • changedInput schema / required
      Previous value: -[
      -  "appId",
      -  "editKey"
      -]New value: +[
      +  "appId"
      +]
  4. Changed4 schema fields changed
    • changedInput schema / properties / appId / description
      Previous value: -"Nombre corto de la app devuelto por create_app o list_apps."New value: +"The app's short id, as returned by create_app or list_apps (e.g. \"a-x7k2pq\")."
    • changedInput schema / properties / editKey / description
      Previous value: -"Clave privada de edición devuelta por create_app. Nunca la incluyas en el HTML ni en el link público."New value: +"The private edit key returned by create_app. Never put it in the HTML, the data or a shared link."
    • changedInput schema / properties / html / description
      Previous value: -"Contenido completo de UN archivo HTML; CSS y JS inline, sin SDK manual."New value: +"The complete contents of ONE HTML file, with its CSS and JS inline. Don't add the noback SDK by hand: noback injects window.app. Send html or zipBase64, not both."
    • changedInput schema / properties / zipBase64 / description
      Previous value: -"Paquete .zip completo en base64, en lugar de html. index.html en la raíz; noback.toml opcional."New value: +"A complete .zip package encoded in base64, instead of html: index.html at the root, an optional noback.toml, plus scripts, styles and files. Send html or zipBase64, not both."
  5. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-destructive, open-world write, and the description adds real behavioral context beyond them: retention of data and link conditional on unchanged app.db collections/fields and localStorage keys, the idempotency rule ('identical content adds no version'), and the return payload (openUrl and version). What it omits is failure behavior and permission/ownership requirements for the target app.

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?

Four compact sentences, front-loaded with the action, followed by retention, return value, and version-history facts in descending order of importance. Slight compression ('the same checks as create_app') requires the agent to already know that tool, but nothing is filler.

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 3-parameter write with no output schema, the description covers the return values, idempotency, data-retention conditions, and version lifecycle. Gaps are secondary: no mention of what happens when validation fails or whether the caller must own the app.

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 coverage is 100%, so the mutual exclusivity of html and zipBase64 and the appId format are already documented in the schema. The description restates the two content modes without adding format or packaging detail beyond what the schema provides, so the baseline of 3 applies.

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 ('Publishes complete html or zipBase64 as a new version of an app in the account') and immediately situates it relative to create_app (same checks) and rollback_app (earlier versions). An agent can tell this is the version-publishing path for an existing app without opening the schema.

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?

The required appId plus 'as a new version of an app in the account' makes clear this is for existing apps, and the closing clause routes agents to rollback_app when they need an earlier version. It stops short of explicit when-not-to-use guidance (e.g. new app vs. existing app, or delete_version for pruning).

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