Skip to main content
Glama

Build a web app

build_app

Build a working web app from a prompt with PromptUI. Starts an asynchronous build (costs credits from the authenticated account) and returns a buildId — poll get_build_status for progress and the preview link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoBuild mode: 'quality' (default) or 'fast'quality
promptYesWhat to build, in plain language
frameworkNoOutput framework: 'react-spa' (default) or 'nextjs-app'react-spa
_confirmedNoSet to true only after the user has explicitly approved this exact write or credit-spending action.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / _confirmed
      Added value: +{
      +  "default": false,
      +  "description": "Set to true only after the user has explicitly approved this exact write or credit-spending action.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations (readOnly=false, idempotent=false), the description discloses that the build is asynchronous, spends credits on the authenticated account, and returns a buildId. This is meaningful behavior an agent cannot infer from the schema alone.

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

Conciseness5/5

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

Two sentences, with the core action first and the async follow-up second. Every clause adds information: what it builds, what it costs, what it returns, and what to call next.

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?

For a tool with one required parameter and rich schema descriptions, the description covers the critical non-schema facts: async behavior, credit cost, the buildId return value, and the get_build_status polling path. No essential guidance is missing.

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 description coverage is 100%, so the schema already documents prompt, mode, framework, and the confirmation flag. The description adds no parameter-level detail beyond that, matching the baseline for a fully documented schema.

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?

The description names a specific action ('Build a working web app'), the input source ('from a prompt'), and the key output ('returns a buildId'). It distinguishes itself from siblings like get_build_status by explicitly pointing to that tool for polling progress.

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?

It gives clear operational context: this is the asynchronous, credit-costing first step for creating an app, with get_build_status as the follow-up. It stops short of naming explicit when-not-to-use conditions or alternative build approaches, so it does not earn a 5.

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