Skip to main content
Glama

Deploy a web frontend

lavela.provision_hosting

Deploy a WEB FRONTEND (static, Vite, Next.js, Astro, SvelteKit, Remix) from GitHub to a live URL on a funded account. An app with its own server, or any app on the free welcome credit, deploys with lavela.provision_compute_from_repo (launch_saas's next_step says which). Async: poll lavela.get_status until hosting is active (check verified) or failed (next_step has the fix). Details: https://console.lavela.dev/docs/mcp#deploy-from-repo

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNoBuild-time env the app reads (exact names, e.g. NEXT_PUBLIC_SUPABASE_URL). Stored (encrypted) on the project: later redeploys keep using them — pass only keys you add or change. May reach the browser: no secrets.
branchNoBranch to deploy instead of the default — required (not a URL /tree/ suffix) for a name with "/". Remembered for later redeploys; "" = back to the default.
subdirNoMonorepo folder to deploy (e.g. "apps/web") — only that subtree. Remembered for later redeploys; "" = back to the repo root.
frameworkNo
githubUrlNohttps://github.com/<owner>/<repo>[/tree/<branch>]
projectIdYes

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?

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is known. The description adds substantial context beyond that: the operation is async, must be polled via lavela.get_status until active ('verified') or failed, and requires a funded account. Return format is not described, but the async completion protocol largely covers it.

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 core purpose, then the routing rule, then the async workflow, then the docs link. Sentences are dense but each carries actionable information; the only minor cost is heavy parenthetical nesting that slightly slows parsing.

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?

No output schema exists, yet the description covers the essentials for a deployment tool: prerequisite account state, the sibling that handles the other case, and the exact async completion signal to watch. Remaining gaps (framework param semantics, return shape) are minor given the async protocol is spelled out.

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 67%, with rich schema-level docs for env, branch, subdir, and githubUrl (encrypted storage, redeploy persistence, monorepo subtree). The description itself adds almost no per-parameter meaning ('from GitHub' only gestures at githubUrl), so the schema carries the load and the uncovered framework/projectId params remain undocumented in both places.

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 ('Deploy a WEB FRONTEND ... from GitHub to a live URL') and enumerates the supported frameworks, so the agent knows exactly what gets deployed. It explicitly distinguishes itself from lavela.provision_compute_from_repo by naming the condition that routes to the sibling.

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?

Names the alternative tool (lavela.provision_compute_from_repo) and the exact conditions selecting it ('an app with its own server, or any app on the free welcome credit'), and points to launch_saas's next_step for the decision. This is explicit when/when-not guidance, not inference.

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