Skip to main content
Glama

build_app_from_plan

PREFERRED way to build a new business app. After the reseller confirms the plan from recommend_app_plan (and the primary colour), pass the whole confirmed plan here once. The server creates the app and builds EVERY page with its content, the background, homepage banners and header fit in one go, then returns a completeness report listing each requested feature as built, needs_owner (with what the owner must add) or failed (with the reason). Share that report with the reseller; fix any failed item with the individual tools. Never report a build as done while items are failed.

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": {
      "name": "<name>",
      "pages": "<pages>"
    },
    "name": "build_app_from_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
pagesYesThe confirmed pages in order, as returned by recommend_app_plan (feature, name/title, tool, toolArgs/args, prefill) plus any confirmed content: config, items, confirmedByOwner.
styleNoOptional look-and-feel choices. Anything omitted keeps the account default (get_default_style) or the template default.
colorsNoConfirmed brand colours, primary first.
logoUrlNoConfirmed logo (prefer the first research_business logo candidate). Omit to make a starter logo.
categoryNo
greetingNo
backgroundNogenerate (default), library, none, or an https image URL.
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does substantial work: it discloses that the server creates the app, builds all pages and styling in one go, and returns a completeness report with three per-item states (built, needs_owner, failed), which substitutes for the missing output schema. It does not cover permissions/auth requirements, idempotency or what happens to a partially built app on retry, which keeps it from a 5.

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?

Front-loaded with the PREFERRED marker and the trigger condition, then workflow and reporting rules; every sentence carries an instruction. It is dense but slightly long, with the build-behaviour and report-behaviour sentences partly overlapping.

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

Completeness4/5

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

For a 9-parameter tool with a nested style object and no output schema, the description covers the essential contract: input is the whole confirmed plan, output is a per-item completeness report, and failures are repaired with other tools. It falls short only on failure/retry semantics and on documenting the non-style top-level parameters.

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 coverage is 56%, so the schema documents about half the surface, and the description adds only selective meaning — it clarifies that 'colors' is the confirmed brand colour with primary first and that 'pages' must be the whole confirmed plan. It says nothing about name, category, greeting, background, description or logoUrl semantics, so it does not compensate for the remaining coverage gap.

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 ('build a new business app') and immediately marks itself as the 'PREFERRED' path, which distinguishes it from create_app and the 'individual tools' it names. The follow-on sentence adds scope: it builds every page, content, background, banners and header in one call.

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?

Explicit sequencing: run after the reseller confirms the plan from recommend_app_plan (and primary colour), pass the whole confirmed plan once. It also names the alternative path for failures ('fix any failed item with the individual tools') and a reporting rule ('never report a build as done while items are failed'), so there is essentially nothing left to infer.

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