Skip to main content
Glama

Откатить сайт на прошлую сборку

rollback
Destructive

Вернуть на живой адрес предыдущую рабочую сборку.

МЕНЯЕТ ТО, ЧТО ВИДЯТ ПОСЕТИТЕЛИ, — спроси человека перед вызовом, если он
не попросил откат прямо. Действие обратимо (можно откатиться обратно), но
промежуток времени с чужой версией на адресе вернуть нельзя.

⚠️ Для приложений (`ssr_next`, `streamlit`, `gradio`, `flask`) откат
работает не так, как для статики, и часто невозможен: у приложения нет
готового артефакта, который просто переключить. Если платформа откажет —
объясни это человеку прямо и предложи собрать заново, а не повторяй вызов.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deployNoid сборки, на которую откатываем. Без него платформа берёт ближайшую пригодную из предыдущих.
projectYesПроект: слаг (`my-site`) или id. Слаг — то, что видно в адресе сайта; если пользователь назвал сайт словами, возьми слаг из `my_projects`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
projectYes
deploy_idYes
next_actionYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and openWorldHint=true, establishing this is a mutating, user-visible action. The description adds meaningful context beyond these: it explicitly warns that it visibly changes what visitors see, discloses reversibility limits (the time window with the wrong live version is irrecoverable), and candidly notes frequent failure for app platforms. This transparency meaningfully exceeds what the annotation booleans convey, though without output schema or return details it doesn't reach 5.

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?

The description is compact: a purpose line, a highlighted behavioral warning, and a platform-specific proviso. Every sentence earns its place, the most critical user-impact warning is bolded and front-loaded, and no filler or redundancy exists. Excellent structure for a high-risk mutation tool.

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?

Given the output schema exists (so return format is documented elsewhere) and annotations flag destructive/open-world behavior, the description is appropriately complete. It covers purpose, safety framing, user-consent requirement, platform limitations, and failure-handling guidance. The only minor gap is not stating prerequisites (e.g., whether a prior successful deploy is required), but the schema note about 'ближайшую пригодную' partially covers this. Strong overall completeness.

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 both parameters (project and deploy) are documented in the schema itself. The description does not add parameter-level meaning beyond the schema; however, it implies deployment mechanics contextually. With full schema coverage, baseline 3 is appropriate — the description doesn't compensate for any gap because no gap exists.

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?

The description clearly states the action: return the previous working build to the live address. It distinguishes the resource (site build) and verb (rollback) precisely, and the title complements rather than tautologizes. The scope is specific and unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance: call only when the user explicitly requested a rollback, ask first if not requested. It also names specific app types (ssr_next, streamlit, gradio, flask) where rollback often fails, and directs fallback behavior (offer rebuild, don't retry). This is model usage guidance exceeding the dimension requirements.

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.

TDQS

A3.8/5.0
Disambiguation5/5

Each tool targets a distinct resource and action. The deploy lifecycle is cleanly separated into cancel, retry, rollback, diagnose, logs, list, and status, while the site_* tools each answer a different question. Even the two compose_landing tools are explicitly differentiated for model vs. internal use.

Naming Consistency3/5

Tool names mix verb-first patterns (check_domain, list_deploys, connect_analytics) with noun-first patterns (site_issues, deploy_logs, env_vars), and some are bare verbs (rollback, whoami). The naming is descriptive and readable, but not consistent enough to predict the style for a new tool.

Tool Count2/5

27 tools exceeds the typical well-scoped range and pushes into 'too many' territory. While the server covers a broad platform scope, many tools are highly specialized (check_copy, site_screenshot), and an agent may be overwhelmed by the sheer number of choices. Consolidation could reduce the load.

Completeness4/5

The core lifecycle is solid: compose, publish, monitor, diagnose, and rollback, with supporting tools for domains, analytics, performance, and content inspection. However, there are no delete/remove operations for projects, domains, or integrations, and integration management is limited to adding. These are minor gaps that agents can work around, but they are notable for a full platform.