Skip to main content
Glama

Deploy app

apps.deploy

Analyze a GitHub repository, enforce one owner per stable branch within the logical app, resolve or create its environment instance, apply plan-aware defaults, and start a linked deployment.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "tanda-api",
      "branch": "dev",
      "template": "web-service",
      "project_id": "project-id",
      "target_port": 8080,
      "health_checks": {
        "startup_path": "/healthz",
        "liveness_path": "/healthz",
        "readiness_path": "/readyz"
      },
      "build_contexts": [
        {
          "name": "biometric-sdk",
          "branch": "main",
          "repository_url": "https://github.com/DataInfosec/biometric-sdk"
        }
      ],
      "build_strategy": "dockerfile",
      "environment_id": "environment-id",
      "repository_url": "https://github.com/DataInfosec/tanda-campus",
      "dockerfile_path": "deployments/Dockerfile",
      "idempotency_key": "tanda-api-staging-v1"
    },
    "name": "apps.deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoapp display name; defaults to the analyzed repository name
branchNostable branch; defaults to the repository default branch and must not already target another environment in the same logical app
replicasNostable replica count; defaults to 1
templateNoweb-service or static-site; omitted values are detected from the repository
cpu_limitNoKubernetes CPU quantity such as 500m
build_argsNoDocker build arguments; values are treated as sensitive in returned deployment data
project_idNoproject in the selected organization; omit only when the organization has one project
static_spaNoenable conservative single-page-app fallback for extensionless routes
technologyNoframework or runtime; omitted values are detected
descriptionNooptional app description
region_codeNotarget region; omit for plan-aware recommendation
target_portNoexplicit container port from 1 to 65535; omit for runtime discovery
memory_limitNoKubernetes memory quantity such as 512Mi
runtime_modeNocontainer or shared; shared is opt-in for paid plans and the default for eligible free-plan apps
build_commandNooptional build command override
health_checksNooptional HTTP health probes; target_port is required
resource_typeNoservice, web_application, static_website, or function; omitted values are detected
start_commandNooptional start command override
workload_pathNodirectory inside a monorepo; defaults to repository root
build_contextsNonamed BuildKit contexts backed by GitHub repositories
build_strategyNorailpack or dockerfile; omitted values are detected
environment_idYestarget environment identifier belonging to the project
repository_urlYesGitHub repository URL; repository identity and access are resolved server-side
dockerfile_pathNoDockerfile path relative to workload_path
idempotency_keyYesunique caller-generated key for safe retries of this exact request
install_commandNooptional dependency installation command override
organization_idNoorganization membership to use for this call; omit only when the account has one current membership
previews_enabledNocreate previews only for pull requests targeting this stable branch; previews inherit this environment configuration
preferred_regionsNoordered preferred region codes
deployment_strategyNosingle-region or multi-region
sensitive_variablesNoenvironment variable keys whose values must be encrypted and redacted
environment_variablesNoruntime environment variables
static_output_directoryNooptional compatibility override for the static-site build output directory relative to workload_path; omit for automatic detection
inherit_environment_variablesNoalso inherit environment variables and secrets from the configuration source
configuration_source_instance_idNoexisting app instance whose stable configuration should be inherited

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations only assert openWorldHint=false and destructiveHint=false, so the description adds real value: it discloses a non-obvious side effect (enforcing one owner per stable branch), that an environment instance may be created rather than merely resolved, and that plan-aware defaults are applied. It stops short of noting auth requirements, rate limits, or what happens on repeated idempotency keys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence, so nothing is wasted, but the clause ordering is backwards for an agent: the operative outcome ('start a linked deployment') is buried at the end behind 'Analyze a GitHub repository'. Front-loading the deploy action would make selection faster.

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

Completeness3/5

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

An output schema exists, so return values need not be explained. However, for a 35-parameter, mutation-capable deploy tool the description omits prerequisite workflow (validate GitHub source, pick environment/project), idempotency semantics, and safe-retry behavior, leaving notable gaps for correct invocation.

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% across 35 parameters, so the schema already carries parameter meaning and the baseline is 3. The description references 'stable branch' and 'environment instance' conceptually but adds no syntax, defaults, or interactions beyond what the schema documents.

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 names a concrete verb and resource ('start a linked deployment' of a GitHub repository) and enumerates the pipeline steps involved. It is clear what the tool does, but it never positions itself against the close sibling 'workspaces.deploy' or 'deployments.redeploy', so sibling differentiation is absent.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no prerequisites (e.g. a validated GitHub connection), and no mention of alternatives such as workspaces.deploy or deployments.redeploy. The 'one owner per stable branch' clause is a constraint on input, not usage routing.

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