Skip to main content
Glama

upload_app_bundle

Idempotent

Upload or replace the code of an app YOU own: one entry document (content: HTML or JavaScript, max 512 KB), or a bundle of files (files: index.html plus the JavaScript, CSS, images, fonts and further HTML pages it loads by relative path, max 50 files, 1 MB each, 2 MB in total; images and fonts base64). A new upload replaces the whole bundle of that version. autario stores it and serves it inside a locked sandbox with no outbound network access, so the app reads World Bank, FRED, Eurostat, SEC and connector data through autario.js (autario.query, autario.datasets, autario.artifacts) rather than calling anything itself; autario inlines the SDK into the served page, so a script tag for https://autario.com/autario.js is optional. Re-uploading the same version replaces it in place. Use it to ship a new build of an app you created with create_app, or to fix one after a user reports something.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filesNoA multi-file app: index.html plus every file it loads by relative path (e.g. "app.js", "css/style.css", "img/logo.png", "about.html"). Paths are relative, use "/", no "..". Allowed: html, js, mjs, css, json, svg, png, jpg, webp, woff2. Max 50 files, 1 MB each, 2 MB in total. Put index.html in this list or pass it as content. Links between the HTML pages work, every page gets autario.js.
app_idYesId of an app you own, as returned by create_app. An app you do not own answers not found.
contentNoThe entry document itself (one HTML file), or index.html when you also send files. Give content, files, or both.
versionNoOptional version label this bundle belongs to.
content_typeNoType of content when it is the only file. Default text/html.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / content / description
      Previous value: -"The entry document itself."New value: +"The entry document itself (one HTML file), or index.html when you also send files. Give content, files, or both."
    • changedInput schema / properties / content_type / description
      Previous value: -"Default text/html."New value: +"Type of content when it is the only file. Default text/html."
    • addedInput schema / properties / files
      Added value: +{
      +  "description": "A multi-file app: index.html plus every file it loads by relative path (e.g. \"app.js\", \"css/style.css\", \"img/logo.png\", \"about.html\"). Paths are relative, use \"/\", no \"..\". Allowed: html, js, mjs, css, json, svg, png, jpg, webp, woff2. Max 50 files, 1 MB each, 2 MB in total. Put index.html in this list or pass it as content. Links between the HTML pages work, every page gets autario.js.",
      +  "items": {
      +    "properties": {
      +      "content": {
      +        "description": "The file: text as is, binary (images, fonts) as base64 with encoding \"base64\".",
      +        "type": "string"
      +      },
      +      "encoding": {
      +        "description": "Default utf8.",
      +        "enum": [
      +          "utf8",
      +          "base64"
      +        ],
      +        "type": "string"
      +      },
      +      "path": {
      +        "description": "Relative path inside the app, e.g. \"js/app.js\".",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "path",
      +      "content"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "app_id",
      -  "content"
      -]New value: +[
      +  "app_id"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / app_id / description
      Previous value: -"The app id."New value: +"Id of an app you own, as returned by create_app. An app you do not own answers not found."
  3. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources