Skip to main content
Glama

Start an app from a template

build_app_from_template

Use this when the user picks one of Xenition's app templates (from find_app_templates) and wants their own working copy. Copies the full template into their Xenition workspace and publishes it to a live URL; publishing takes a few minutes and app_status reports the links. To generate a new app from a description instead, use build_app.

Input Schema

NameRequiredDescriptionDefault
nameNooptional name for the user's copy; defaults to the template's name
templateIdYesthe template id from find_app_templates, e.g. 'tpl-danceschool'

Output Schema

NameRequiredDescriptionDefault
nameYes
errorNo
filesNo
phaseNo
apiUrlNo
statusYes
liveUrlNo
openUrlNo
mobileUrlNo
artifactIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover mutation/idempotency flags. Description adds real behavioral context: copies full template, publishes to a live URL, and publishing takes a few minutes with app_status reporting links. Does not explicitly state async/polling flow or permissions, but the timing and status-pointer are meaningful beyond annotations.

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, front-loaded with the trigger condition and alternative routing. No filler; every clause earns its place.

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?

Output schema exists, so return values need not be explained. Description covers trigger, effect, timing, status-check path, and the sibling alternative — complete for this tool's complexity.

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 100%, so both parameters are documented in schema. Description references templateId source (find_app_templates) and implied name default, but adds no syntax or format detail beyond schema baseline.

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?

Specific verb+resource (copies template into workspace, publishes to live URL) with explicit prerequisite referencing find_app_templates. Clearly distinguishes from build_app by naming the alternative and the condition that selects it.

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?

States exactly when to use (user picked a template from find_app_templates and wants their own copy) and when not to (to generate from description, use build_app). Explicit alternative named.

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.