Skip to main content
Glama

rollback

Destructive

Revert a Vercel or Cloudflare deployment to a named previous version; returns a dry-run preview unless confirm is true.

Instructions

Roll back to a named previous deployment/version. Requires confirm:true; otherwise returns a dry-run description. Vercel: promotes via vercel rollback. Cloudflare: publishes a Worker version via wrangler rollback.

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": {
      "to": "<to>"
    },
    "name": "rollback"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
cwdNo
confirmNo
projectNo
platformNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructive=true and openWorld=true, but the description adds non-obvious behavior the annotations cannot convey: without confirm the call is a safe dry-run, and the underlying action differs by platform (Vercel promotion vs Cloudflare Worker version publish). It stops short of saying whether a completed rollback is reversible or what permissions are needed.

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 operation and the safety gate, with the platform-specific details last. Every sentence carries information an agent cannot get from the schema or annotations.

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 destructive, open-world mutation with no output schema, the description covers the essentials: what it does, the dry-run default, and per-platform mechanics. The remaining gap is how to identify a valid `to` value and the role of `project`/`cwd`, which matters more here given zero schema coverage.

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 0%, so the description must carry parameter meaning, and it does explain `confirm` (dry-run toggle) and `to` (named previous deployment/version) plus implicitly `platform` through the per-platform behavior. The `cwd` and `project` parameters receive no explanation, leaving two of five undocumented in both schema and description.

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 specific verb (roll back) and a specific target (a named previous deployment/version), so an agent knows exactly what operation this performs. It does not, however, distinguish itself from the sibling `redeploy` or explain why rollback differs from re-deploying an existing build, leaving that boundary to inference.

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?

The confirm:true gate is stated explicitly and the dry-run fallback is spelled out, which is genuinely useful invocation guidance. There is no guidance on when to choose this over `redeploy` or what prerequisites (platform support, target state) must hold before calling it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.