Skip to main content
Glama

CMO Studio: deploy and host AI-built apps

Redeploy a version

redeploy_version
Destructive

Deploy a kept earlier version again (roll back). The last 5 versions are kept. Container projects: every process goes back to that version's image without a new build (any version that succeeded; its release process is not run again).

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>",
      "deploymentId": "<deploymentId>"
    },
    "name": "redeploy_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesProject slug
deploymentIdYesDeployment id of the version to deploy again

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The destructiveHint annotation signals a mutating operation, and the description adds real behavioral depth beyond it: no new build is triggered, the version must have succeeded previously, and its release process is not re-run. That is exactly the kind of mechanism detail annotations cannot convey. It stops short of saying what happens to the currently live deployment or whether the rollback is itself reversible.

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?

Three short sentences, front-loaded with the core action and rollback synonym, followed by the retention boundary and the container-project mechanics. No filler and no repetition of the title.

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 two-parameter, no-output-schema tool this covers intent, version availability, and the rebuild behavior well. The remaining gap is the effect on the current deployment (replacement, downtime, reversibility), which matters for a destructive operation but is not described.

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 slug and deploymentId are already documented, and the description only loosely reinforces that the id refers to a previously deployed version. It adds no format, sourcing, or lookup guidance beyond the schema baseline.

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 kept earlier version again') and immediately glosses it as a rollback, which pins down the intent. It also scopes the source pool ('the last 5 versions are kept'), so an agent knows this is not a general deploy or a fresh build.

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 implied rather than stated: the agent can infer it should call this to revert to an earlier version, and the 'last 5 versions are kept' note usefully bounds which versions qualify. However, there is no explicit when-not guidance and no named alternative (e.g., deploying a new build), so routing decisions still require 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.