Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Put the staging version live

promote_staging

Deploys the newest version that worked on the staging copy to the live project, as a new version (roll back with redeploy_version if needed). Ask the user before promoting.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "slug": "<slug>"
    },
    "name": "promote_staging"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesSlug of the live project or of its staging copy

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 only declare destructiveHint=false; the description adds meaningful behavior on top: the operation creates a new version rather than overwriting, it is reversible via redeploy_version, and it requires user confirmation first. It stops short of stating effects on traffic or what happens if staging is behind live.

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, zero filler. The core action comes first, the rollback escape hatch and the confirmation requirement follow in order of importance.

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?

For a one-parameter, no-output-schema tool with a supplied annotation, this covers what the agent needs: what it deploys, what it produces, how to undo it, and that approval is required. Nothing essential to a correct call is missing.

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% and the slug property already documents that it accepts the live project or its staging copy. The description adds no additional meaning about the parameter, so the schema-baseline of 3 applies.

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: deploys the newest staging-tested version to the live project, producing a new version. The parenthetical naming redeploy_version as the rollback path separates it from that sibling without requiring the agent to open either schema.

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

Usage Guidelines4/5

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

Gives a concrete precondition for use (a version already worked on staging) and an explicit human-in-the-loop instruction ("Ask the user before promoting"), plus routes rollback to redeploy_version. It does not address the negative case, e.g. what to do when no staging version exists.

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.