Skip to main content
Glama

Roll back to a version

rollback_dynamic_route
Destructive

Publishes a historical version as a new deployed version and changes live routing immediately. Returns the new version in meta.deployed_version. Requires the dynamic_routes:write scope. The draft is left unchanged.

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": {
      "name": "<name>",
      "version_number": "<version_number>"
    },
    "name": "rollback_dynamic_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRoute name
noteNoRelease note recorded on the new version.
version_numberYesVersion number, from 1

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, and the description adds genuinely non-structured context: immediate live routing change, a required `dynamic_routes:write` scope, the return location (meta.deployed_version), and that the draft is untouched. It does not mention reversibility or how to undo the rollback.

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?

Four short sentences, each earning its place: effect first, then return value, then auth requirement, then the draft side-effect. Front-loaded and free of filler.

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 destructive, live-traffic-affecting mutation with an output schema, the description covers the effect, the auth precondition, the return location, and the non-effect on the draft. Nothing an agent needs in order to call this safely 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%, with name, version_number and note all documented in the schema itself. The description adds no per-parameter meaning such as version numbering semantics or how `note` differs from a release note elsewhere, so the baseline 3 applies.

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?

States a specific verb and effect: publishes a historical version as a new deployed version and switches live routing. The clause 'The draft is left unchanged' implicitly separates it from restore-style siblings, but no sibling is named outright, so an agent must infer the boundary.

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?

The phrase 'changes live routing immediately' plus 'draft is left unchanged' makes the use case and its main alternative boundary clear: use this to affect production traffic, not to stage edits. It stops short of explicitly naming restore_dynamic_route_version as the draft-side alternative or stating when not to use it.

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