Skip to main content
Glama

apps

Destructive

Build a data app that runs on autario (HTML with the autario.js SDK on your own data), upload its code, set its manifest, save views, and publish or unpublish it.

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": {
      "action": "<action>"
    },
    "name": "apps"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNoOptional inline data belonging to the artifact.
nameNocreate: Display name of the app, free text up to 80 characters; the same name as another app is fine. The returned app_id is the name lowercased plus a short random part and never changes on a rename. update_manifest: New display name. Omit to keep the current one.
specNoThe saved view/configuration as JSON (e.g. a Plotly spec, a filter set).
tierNoRuntime model. 2 = sandboxed custom app (the default for anything you build here). Only set this if you know you need 1.
typeNoYour own label for the kind of artifact, e.g. "chart", "report", "board". Required when creating.
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.
shareNoLet a report of this app be opened on a secret read-only link, e.g. {"subjects":["account"],"sections":["meta","report"]}. "subjects" says WHOSE data a link points at and may only name kinds autario can resolve ("account" = the owner of the link, which is what a third-party app wants); "sections" is the list a link may request, and anything outside it is refused. Omit the key to leave the current setting alone. An app that has never declared this cannot be shared at all. The owner still decides per link who may open it: anyone with the URL, only signed-in people from named company domains, or only named addresses.
shelfNoThe app store shelf the app sits on, one id: search, analytics, social, ads, commerce, financial_markets, banking_accounting, crm, productivity, developer, ai, public_data. Pick the one that matches what the app is about (a dashboard of Instagram posts is social, an order report is commerce). Optional while the app is private; apps action "publish" refuses with shelf_required until it has one. Any other value is refused with bad_shelf and the allowed ids.
titleNoHuman title shown in the app and in my_workspace action "app_artifact".
actionYesWhich operation to run. create = a new private app, needs name; upload_bundle = replace the app's HTML or files, needs app_id; update_manifest = name, datasets, shelf, sharing, needs app_id; write_artifact = save a view or result of the app, needs app_id; publish = set visibility unlisted or public, needs app_id; unpublish = take the app back to private, needs app_id.
app_idNoupload_bundle, publish, unpublish: Id of an app you own, as returned by apps action "create". An app you do not own answers not found. update_manifest: The app id returned by apps action "create". write_artifact: The app the artifact belongs to.
contentNocreate: The app's entry document when entry_kind is "upload": one HTML file, or index.html when you also send files. It runs in a sandbox with no outbound network: read autario data through autario.js, not through fetch to third parties. upload_bundle: The entry document itself (one HTML file), or index.html when you also send files. Give content, files, or both.
taglineNocreate: One line saying what the app does, max 200 chars. Worth writing: it is what a user reads in the app store, and an app cannot be indexed without one. update_manifest: One-line description, max 200 chars.
versionNoupload_bundle: Optional version label this bundle belongs to. update_manifest: Free-text version, e.g. "1.2.0". Bundles are stored per version.
datasetsNoIds of the user's OWN datasets (connector tables, uploads; get them from my_workspace action "overview") this app may read through autario.js. Everyone the owner shares the app with (role reader and up) reads exactly these, nothing else. Public catalog datasets need no declaration.
entry_urlNocreate: REQUIRED when entry_kind is "url". Must start with https://. update_manifest: Where the app runs. An uploaded bundle uses the conventional "index.html".
entry_kindNo"url" = the app already runs somewhere (give entry_url). "upload" = you are sending the app itself (give content or files). Default "url".
source_urlNocreate: Optional link to the app's open source repository. update_manifest: Link to the open source repository.
visibilityNowrite_artifact: Who may read the artifact. Default private. publish: "public" = listed in the app store. "unlisted" = link only. Default "public".
artifact_idNoOmit to CREATE. Give an existing artifact id to PATCH that one.
content_typeNocreate: Type of the uploaded content. Default text/html. upload_bundle: Type of content when it is the only file. Default text/html.
datasets_ownedNoDatasets the app OWNS and writes through autario.rows (insert, select, update, delete), e.g. [{"key":"contacts","title":"Contacts","scope":"app","columns":[{"name":"email","type":"text","required":true},{"name":"deals","type":"integer"}]}]. scope "app" = one table of the app kept by the owner (readers read, editors write); scope "viewer" = one table per person looking at the app, readable only by that person (not by the owner). Types: text, number, integer, boolean, date (YYYY-MM-DD), timestamp (ISO with a time zone). Every written row is checked against these columns. A declared column cannot change its type and a key cannot change its scope; add new ones instead. Max 20 datasets x 50 columns. Omit to keep the current declaration.
consumed_datasetsNoWhat the app reads, e.g. [{"op":"datasetData","dataset":"<id>"}]. The sandbox bridge refuses any read the manifest did not declare. To read the connected accounts of whoever opens the app, add the connector keys: [{"op":"connectors","providers":["google_search_console","ga4"]}] | those providers then appear on the Settings tab of the app with the connection state of that viewer, so a user who has not connected one can connect it from inside the app. Add "optional": true and "unlocks":"<what it adds>" for a source the app works without.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already flag the important safety profile (destructiveHint=true, readOnlyHint=false, openWorldHint=true, idempotentHint=false), so the description does not carry the full burden. It adds real context beyond the annotations by explaining that the artifact runs on autario with the autario.js SDK against the user's own data. It does not itself warn about the destructive/irreversible aspects of publish or bundle replacement, so a 3 is appropriate.

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?

A single front-loaded sentence that lists the capabilities compactly with no filler. The action enumeration is well ordered and readable. It is efficient but very terse for a six-action lifecycle tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 23-parameter, six-action tool with nested objects and no output schema, one sentence is thin, even though the schema documents every parameter thoroughly. The description never mentions the multi-action dispatch (create/upload_bundle/update_manifest/write_artifact/publish/unpublish) that is the tool's core structure. An agent must read the schema to learn the actual operating model.

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 description coverage is 100% across 23 parameters, so the schema does the heavy lifting and the baseline would be a 3. The description adds little parameter-level detail beyond naming the operations (upload code, set manifest, save views), and offers no syntax or format hints of its own; the marginal value is therefore modest, but not absent.

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?

Names a specific resource (a data app running on autario with the autario.js SDK) and enumerates the lifecycle: create, upload code, set manifest, save views, publish/unpublish. An agent can tell this is the app-building/publishing tool rather than a reporting tool. It stops short of distinguishing itself from close siblings such as app_settings or app_report, leaving that boundary to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The sentence implies a workflow order (build → upload → manifest → save views → publish/unpublish), which gives some sense of when each phase applies. However, there is no explicit when-to-use or when-not-to-use guidance, and no stated alternative for related tasks like changing settings or reading a report. Guidance is implied at best.

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.