Skip to main content
Glama

Publish app

publish_app

Publish the app to a public URL. Returns immediately while it builds; the deployment status changes to LIVE or FAILED when the build finishes. A frontend + API app publishes as a site plus one backend per server service; the site routes /api to the backend.

Input Schema

NameRequiredDescriptionDefault
slugNoSubdomain (lowercase, digits, dashes). Omit to keep the current one, or derive it from the project name.
project_idNoProject id (or use session from use_project)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the bar is lower, yet the description adds real value: publishing is asynchronous ('returns immediately'), status transitions to LIVE or FAILED, and a frontend+API app is split into a site plus one backend per server service with /api routed to the backend. It does not mention idempotency, re-publish behavior, or what identifier is returned to poll.

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?

Three tightly written sentences, front-loaded with the action and async contract before the topology detail. Nothing is padded, though the topology sentence is only relevant to a subset of apps.

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?

With no output schema, the description does the right thing by explaining the async contract and the status terminal states. It stops short of saying what is returned (deployment id/slug) or how to poll (get_deployment), which is the one remaining gap for a caller.

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 both parameters (slug, project_id) are fully documented in the schema, making 3 the baseline. The description adds no parameter-level detail beyond implying a public URL/subdomain exists, so it neither compensates for nor improves on the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Publish the app to a public URL') and clarifies the resulting deployment semantics. It is clearly distinguishable from siblings like unpublish_app or publish_readiness, though it never names those alternatives explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the verb 'publish'; there is no statement of preconditions, no mention of publish_readiness as a prerequisite check, and no pointer to get_deployment/list_deployments for tracking the build. An agent can infer intent but must guess the workflow.

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