Skip to main content
Glama

Create apps

apps_create

Create an app — a small, self-contained HTML tool hosted here. Takes the HTML; apps_build writes it for you from a description Apps run in a sandbox. Use fetch('/api/v1//') or mu.service(name, method, args); mu.api does not exist. Direct external fetch is blocked. Inspect real service schemas and data before coding; never invent fields, rankings or claim runtime verification from static checks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
htmlYesThe app's HTML, inline CSS and JavaScript included, up to 256KB
iconNoAn SVG icon
nameYesApp name, e.g. "Pomodoro Timer"
slugNoURL-friendly id, e.g. pomodoro-timer. Derived from the name if omitted
tagsNoComma-separated tags
priceNoCredits charged per use, 0 for free, up to 1000
publicNoPublish only when explicitly requested by the owner. Personal apps are private by default.
privateNoKeep this app private to its owner; use true for personal widgets
descriptionNoWhat the app does. Defaults to the name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / public
      Added value: +{
      +  "description": "Publish only when explicitly requested by the owner. Personal apps are private by default.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / private
      Added value: +{
      +  "description": "Keep this app private to its owner; use true for personal widgets",
      +  "type": "boolean"
      +}
  3. Added
  4. Removed
  5. Changed8 schema fields changed
    • changedInput schema / properties / description / description
      Previous value: -"Short description of what the app does"New value: +"What the app does. Defaults to the name"
    • changedInput schema / properties / html / description
      Previous value: -"The app's HTML content (can include inline CSS and JavaScript, max 256KB)"New value: +"The app's HTML, inline CSS and JavaScript included, up to 256KB"
    • addedInput schema / properties / icon
      Added value: +{
      +  "description": "An SVG icon",
      +  "type": "string"
      +}
    • changedInput schema / properties / name / description
      Previous value: -"App name (e.g. Pomodoro Timer)"New value: +"App name, e.g. \"Pomodoro Timer\""
    • changedInput schema / properties / price / description
      Previous value: -"Credits charged per use (0 = free, max 1000)"New value: +"Credits charged per use, 0 for free, up to 1000"
    • changedInput schema / properties / slug / description
      Previous value: -"URL-friendly ID (e.g. pomodoro-timer)"New value: +"URL-friendly id, e.g. pomodoro-timer. Derived from the name if omitted"
    • changedInput schema / properties / tags / description
      Previous value: -"Comma-separated tags (optional)"New value: +"Comma-separated tags"
    • changedInput schema / required
      Previous value: -[
      -  "name",
      -  "slug",
      -  "description",
      -  "html"
      -]New value: +[
      +  "name",
      +  "html"
      +]
  6. First observed

TDQS

A3.8/5.0
Behavior3/5

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

With only a title annotation, the description carries the behavioral burden. It discloses that apps run in a sandbox, that direct external fetch is blocked, and that internal calls must use fetch or mu.service, which are important constraints for producing valid app HTML. It does not disclose the create operation's own behavior, such as idempotency, validation, or response format, leaving some gaps.

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?

The description is dense but all sentences add value: creation purpose, apps_build alternative, sandbox constraints, and coding cautions. The lack of punctuation between 'from a description' and 'Apps run' makes it feel run-on, but information is front-loaded with the primary purpose.

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 create tool with 9 parameters and no output schema, the description provides good environmental context and identifies the key sibling, but it omits what the call returns and how creation is confirmed. The guidance about inspecting service schemas is useful for writing the HTML, but the create API's own response and error behavior remain unspecified.

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?

All 9 parameters have schema descriptions, and the description adds little beyond confirming that HTML is the input ('Takes the HTML'). It does not elaborate on slug derivation, price limits, or visibility toggles beyond what the schema already says. Baseline 3 applies at 100% schema coverage.

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 ('Create an app') and describes the artifact as a small, self-contained HTML tool hosted here. It also distinguishes itself from apps_build by noting that apps_build writes the app from a description, whereas this tool takes the HTML. The purpose is unambiguous despite the slightly run-on sentence.

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 description signals the main alternative: apps_build writes the app from a description, so apps_create is for when you already have HTML. It also provides sandbox constraints that shape how the HTML should be written. However, it does not explicitly say 'use apps_build when you lack HTML' or enumerate when to avoid apps_create, relying on implication.

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.