Skip to main content
Glama
OtaKit

OtaKit

Official

Revert an OtaKit release

revert_release
DestructiveIdempotent

Revert the reviewed current release for its exact lane; if rolling out, the revert cancels the rollout. Requires expected state and an idempotency key, and reports pending manifest sync.

Instructions

Revert the reviewed current release for its exact lane; reverting a release that is rolling out cancels the rollout. Requires expected state and an idempotency key and reports pending manifest synchronization truthfully.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdNoOtaKit app ID. Optional on a local connection whose project configures one; required otherwise.
releaseIdYesOtaKit release ID
forceImmediateNoMake devices apply and reload on their next check
idempotencyKeyYesStable key reused only when retrying this exact mutation
expectedRolloutPercentNoWhen cancelling a rollout: the rollout percentage that was reviewed. The revert is refused if the rollout changed or completed meanwhile.
expectedCurrentReleaseIdYesOtaKit release ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.1

TDQS

A3.9/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 substantive behavior: cancelling an in-flight rollout, the expected-state concurrency guard, and truthful reporting of pending manifest synchronization. It does not describe permissions or error handling in depth, keeping it short of a 5.

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?

One compact sentence front-loads the action and scope before the side-effect and requirement clauses; nothing is redundant. It is densely packed with semicolon-joined clauses rather than being maximally scannable.

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, idempotent mutation with no output schema and 6 parameters, the description covers the action, scope, a key side effect, preconditions, and a hint about the response ('reports pending manifest synchronization'). Return shape and failure modes remain unspecified, but these are minor given the rich per-parameter schema and annotations.

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 every parameter (appId, releaseId, forceImmediate, idempotencyKey, expectedRolloutPercent, expectedCurrentReleaseId) is already documented with formats and constraints. The description only alludes to 'expected state and an idempotency key', adding no syntax or semantics beyond the schema, so the baseline of 3 applies.

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?

Specific verb (revert) plus resource (the reviewed current release) with an explicit scope qualifier ('for its exact lane') that separates it from prepare_revert and set_rollout_percent. An agent can identify the operation without opening the schema.

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?

It states the precondition of a reviewed current release and notes that reverting a rolling-out release cancels the rollout, which implies when the tool applies. However, it never names the sibling to run first (prepare_revert) or says when not to use this tool, so routing is left to inference.

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