Skip to main content
Glama

Copy a version into the draft

restore_dynamic_route_version
Destructive

Replaces the current draft with a historical version without changing live routing. Review the returned draft validation, then simulate the draft by omitting version_number before explicitly deploying. Requires the dynamic_routes:write scope.

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": "restore_dynamic_route_version"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRoute name
version_numberYesVersion number, from 1

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNoEmpty for a single resource. Endpoint-specific context appears here rather than as a sibling of `data`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds genuinely new context: the destruction is confined to the draft and does not touch live routing, and the call requires the `dynamic_routes:write` scope. The suggested follow-up path (validate, simulate, then deploy) further discloses consequences beyond the annotations.

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

Conciseness4/5

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

Two tightly packed sentences with the most important fact (draft replaced, live routing untouched) front-loaded. The middle clause about omitting version_number is slightly ambiguous about which call it applies to, costing a point but not readability.

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?

With an output schema covering the returned draft validation and annotations covering safety, the description supplies what's still needed: auth scope, blast radius, and the recommended next steps. Only the explicit alternative-to-rollback routing is left implicit.

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%, so `name` and `version_number` are already documented with types, minimum, and descriptions. The description mentions version_number only in the context of the simulate step (omitting it), which adds little meaning about this tool's own parameters, 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?

The description states a specific verb and resource: it replaces the current draft with a historical version, and explicitly notes live routing is unaffected. That contrast implicitly separates it from rollback/deploy siblings, though no sibling is named outright.

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?

It gives a clear operational sequence: review the returned draft validation, simulate the draft by omitting version_number, then explicitly deploy. What's missing is an explicit when-not-to-use cue (e.g., use rollback_dynamic_route if you want live traffic changed), so the routing decision still needs a small 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.

Resources