Skip to main content
Glama

ohmyho.st

Restore earlier deployment

deployment_rollback
DestructiveIdempotent

Restores an earlier deployment using the exact reviewed precondition and confirmation token. Source history remains.

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": {
      "project_id": "<project_id>",
      "deployment_id": "<deployment_id>",
      "if_match": "<if_match>",
      "confirmation_token": "<confirmation_token>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "deployment_rollback"
  }
}

Input Schema

NameRequiredDescriptionDefault
if_matchYes
project_idYes
deployment_idYes
idempotency_keyYes
confirmation_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, but the description adds two facts those annotations cannot convey: the if_match value must be the exact precondition obtained from a prior review, and source history is preserved by the restore. The confirmation-token gate is another behavioral detail beyond the schema. It still doesn't say what happens to the currently active deployment or what authorization is required.

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, front-loaded with the action and the safety inputs, with zero filler. The trailing clause about source history is the only extra and it carries real information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, five-required-parameter mutation with no output schema, the description covers the safety mechanism and one post-condition but omits prerequisites (how the token is obtained), permissions, and what state results after the restore. Adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five required parameters, so the description must carry the meaning. It only glosses if_match ('exact reviewed precondition') and confirmation_token; project_id, deployment_id and idempotency_key are left entirely unexplained, and it is ambiguous whether deployment_id is the target of the rollback or the deployment being replaced.

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 resource — restores an earlier deployment — which an agent can distinguish from planning or creating deployments. It does not name a sibling tool (e.g. rollback_plan) explicitly, so differentiation is only implicit via 'reviewed precondition'.

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 phrase 'the exact reviewed precondition and confirmation token' implies a prior review step is required before calling this tool, which is useful implicit guidance. However, no explicit alternative is named and no when-not condition is given.

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.