Skip to main content
Glama

Deploy an app

deploy_app
Destructive

Trial version, not for production, online for a limited time. Without a key, this first call creates the trial. Builds the code sent (or the GitHub or GitLab repository linked with link_git_repo, or an image) and deploys it to an environment, in place of the previous version; the response gives the version, its address, its build and what changed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "deploy_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNofalse: returns at once (follow with deploy_app { release }).
imageNoOCI image already built (while registry or external), ideally with its digest.
trialNoThe key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call.
digestNosha256:<64 hex>; without it, while resolves it: the image always goes by its digest.
intentNoContent of while.yaml, when deploying an image without sending sources.
projectNoThe project.
releaseNoThe number returned by an upload (or a version in progress): deploy_app follows its build and its deployment.
languageNoTrial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English.
redeployNoA version already built, put back online with today's variables and secrets (after set_env, or to restart an app that went down), without rebuilding. Going back: rollback_app.
environmentNoProduction or a preview.production
timeout_secondsNoMaximum wait; beyond it, the response says how to resume.
confirm_overwriteNotrue: while.yaml overwrites what a person changed on screen.
source_archive_base64NoLast resort, slow: the tar.gz archive of the sources, in base64. Exclusive with image and release.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Trial creation: your user's language (while's for them, their app's and their emails'); without it, your session's, then English."New value: +"Trial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English."
    • changedInput schema / properties / trial / description
      Previous value: -"The key returned by the first deploy_app (trial_key), passed again on each call."New value: +"The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call."
  2. Changed1 schema field changed
    • changedInput schema / properties / confirm_overwrite / description
      Previous value: -"true: while.yaml overwrites what a person changed on screen (after clarifying it with them)."New value: +"true: while.yaml overwrites what a person changed on screen."
  3. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already flag destructive=true and openWorldHint=true, but the description adds meaningful context: the trial is not for production and lasts a limited time, and the deployment overwrites the previous version. It also describes what the response returns (version, address, build, what changed). Rate limits, permissions, and pricing are not discussed, so it is not 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?

It is front-loaded with the most decision-relevant fact (this creates a limited trial) and every clause carries information. The second sentence is long and parenthesis-heavy, which makes it harder to scan than the first, but not a serious flaw.

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 13-parameter, destructive tool, the description covers the trial lifecycle, source variants, overwrite semantics, and the shape of the response. The schema covers the async behavior (wait, timeout_seconds, resume) and the alternative paths, and no output schema exists. That leaves little uncovered, though it does not discuss permissions or errors.

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 explains all 13 parameters, including trial, release, redeploy, wait, and timeout. The description adds only the taxonomy of source inputs (sent code, git repo, image) without parameter-level detail such as precedence or exclusivity, which the schema handles. Baseline 3 is appropriate.

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 states a concrete verb and resource: it builds the submitted code (or a linked Git repo, or an image) and deploys it to an environment, replacing the previous version. It also names link_git_repo as the source-linking sibling, so an agent can tell how repository deployments fit. It stops short of distinguishing plan_deploy or apply_plan, which is why it is not a 5.

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: 'Without a key, this first call creates the trial' tells the agent this is the entry point for a trial, and 'in place of the previous version' hints that it is the redeploy path. There is no explicit when-not guidance in the description, such as when to plan first with plan_deploy or when to use rollback_app instead. The alternatives (redeploy, rollback) are covered in the schema, not the description.

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