Skip to main content
Glama

Publish an app

publish_app
Destructive

Publish an app in one call. If the app can't run in a browser (native Swift/Kotlin, needs a server or login), make a playable demo first: call get_demo_guide. Chat clients without a terminal follow that guide's "No terminal?" part (one HTML file via publish_app). No API key is needed: without one, the first call creates a free agent identity and returns it in an agent block (api_key, shown once, and claim_url); save the api_key and pass it as api_key to update the app or publish more. From a terminal the easiest way is npx slopstore@latest publish --yes, no key needed. Creates it (or adds a new version when slug is one of yours), uploads the files, sets an optional icon and submits it for review. Pass exactly one of html (up to 2 MB) or files (up to 50 files, 1.5 MB decoded, index.html at the root); title is required when creating. kind is "web" (default) or "mobile". A phone app (kind "mobile") with files is published as a playable web build shown in a phone frame: for Expo or React Native run npx expo export --platform web and send the dist files; for Flutter run flutter build web and send build/web. Put the real source under _source/ (for example _source/App.tsx): the inspector reads it, and it is never served to visitors. The web build calls your own server from the browser, so that server must allow the origin https://.slopapp.store in CORS or screens that load data stay empty. Native-only screens (maps, background tasks, Alert.alert) need a .web.tsx version or a Platform.OS check. Builds are limited to 10 MB. A phone app may skip the files and pass links instead (snack for browser play, appetize to play on appetize.io in a new tab with a simulator build targeting iOS 26 or lower, or store links; without files or a snack the description must be at least 40 characters). Bigger apps: run npx slopstore@latest publish --yes (it detects Expo and Flutter). Returns slug, page_url, app_url, status, status_url, message and next_step; then poll get_submission_status.

Input Schema

NameRequiredDescriptionDefault
htmlNoA single HTML page, at most 2 MB. Use this or files, not both.
iconNoOptional app icon.
kindNoweb (default) or mobile. Ignored when slug is given; an app keeps its kind.
slugNoSlug of an app you own, to publish a new version. Omit to create a new app.
tagsNoUp to 6 tags matching ^[a-z0-9-]{1,24}$.
filesNoUp to 50 files, 1.5 MB decoded in total, with index.html at the root. Use this or html, not both.
linksNoPhone-app links. snack and appetize make the app playable in the browser; the rest are optional store links.
titleNoApp title, 1–60 characters. Required when creating.
submitNoDefault true. Pass false to upload without sending it for review.
api_keyNoOptional slop_ API key. Use this when the client cannot send Authorization: Bearer.
taglineNoOptional one line, up to 80 characters. Left empty, the inspector writes it.
categoryNoCategory slug from list_categories, or "auto" / omitted to let the inspector choose.
made_withNoModel or tool used, at most 40 characters.
description_mdNoMarkdown description, at most 5000 characters.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (destructive/openWorld/not-readOnly), disclosing that no API key is needed, that a free agent identity with api_key (shown once) and claim_url is created on first call, that files are submitted for review (with submit:false opt-out), and concrete limits (2 MB html, 50 files/1.5 MB decoded, 10 MB builds). It also discloses non-obvious runtime facts: the CORS origin requirement, the _source/ convention never being served, and native-only APIs needing .web.tsx or Platform.OS guards.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Length is justified for a 14-parameter, high-consequence tool, and most sentences carry real operational content. However, it reads as a dense run-on wall with clauses stacked into single sentences (npm command, CORS origin, source convention, and build limits are crammed together), so it is hard to scan and not cleanly front-loaded by task.

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?

There is no output schema, and the description compensates by naming the returned fields (slug, page_url, app_url, status, status_url, message, next_step) and the required polling step. Combined with the auth bootstrap, size limits, review submission behavior, and platform-specific build recipes, an agent has everything needed to invoke this 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 description coverage is 100%, so the baseline is 3, but the description adds workflow meaning the schema lacks: exactly one of html or files, index.html at root, title required only when creating, kind ignored when slug is given, and what the mobile-with-files build actually becomes. It does not cover every parameter (tags, category, made_with, description_md limits are left to the schema).

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?

States a specific verb+resource ("Publish an app in one call") and clarifies that it creates on first use and adds a version when slug is owned, plus it routes to get_demo_guide for non-browser apps. It does not explicitly distinguish itself from siblings like create_app, submit_app, or update_app, which an agent still has to infer from the description's operational hints.

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 conditional guidance: native/non-browser apps should call get_demo_guide first, terminal users should prefer `npx slopstore@latest publish --yes`, and chat clients without a terminal follow the guide's "No terminal?" path. It also names the follow-up sibling (get_submission_status) and the alternative path for phone apps that pass links instead of files.

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