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

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, which covers the safety profile. The description adds meaningful context beyond the annotations: the action is reversible ('Действие обратимо') but the time window with the wrong version on the address cannot be recovered. It also adds the important caveat that app platforms (ssr_next, streamlit, gradio, flask) may not support rollback at all — this is behavioral context not captured in annotations. Slight gap: doesn't detail auth permissions needed or rate limits, but the reversibility nuance and app-platform caveat add real value.

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?

Description is appropriately structured: a single clear purpose sentence, a bolded warning about side effects, reversibility caveat, and then a paragraph about app-platform limitations. Front-loaded with the most critical information (modifies what visitors see). The app-platform paragraph adds length but earns its place with critical behavioral nuance. Slightly long but well-organized with clear section breaks.

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?

This is a destructive, side-effect-heavy operation with no room for under-specification. The description covers: what it does, its reversibility, the irrecoverable consequence, when it fails (app platforms), the required user confirmation protocol, and fallback behavior (suggest rebuilding). There is an output schema present which handles return-value documentation. For a high-stakes mutation tool, this is thorough and complete.

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 are already well-documented in the schema: project is described as slug or id with guidance to pull slug from my_projects, and deploy is described as the build id with default behavior clarified. The description itself doesn't add parameter semantics beyond the schema, but the baseline of 3 is appropriate given complete schema coverage.

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?

Description clearly states the verb+resource: 'Вернуть на живой адрес предыдущую рабочую сборку' (return previous working build to live URL). The title 'Откатить сайт на прошлую сборку' and name 'rollback' are mutually reinforcing, and the description adds concrete behavioral detail about what gets changed (what visitors see). Clearly distinguishes from siblings like retry_deploy and cancel_deploy by specifying it switches to a previous working build on the live address.

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?

Excellent guidance. Explicitly says to ask the human before invoking unless rollback was explicitly requested ('спроси человека перед вызовом, если он не попросил откат прямо'). Clearly states it modifies what visitors see (a side effect requiring confirmation). Also gives explicit when-to-use-elsewhere guidance: for app platforms (ssr_next, streamlit, gradio, flask) rollback often doesn't work, and instructs the agent to explain failure to the user rather than retry. This is exemplary usage guidance.

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.7/5.0
Disambiguation3/5

Most tools are distinct, but there's real confusion risk between the deploy-related set (cancel_deploy, retry_deploy, deploy_logs, diagnose_deploy) and the site-inspection set (site_status, read_site, site_issues, site_screenshot) where purposes overlap. compose_landing vs compose_landing_submit are differentiated mostly by an obscure note rather than naming. Several tools address similar concepts (landing composition, publishing, deploy) making agent misselection plausible.

Naming Consistency3/5

Most tools use a clean verb_noun pattern (list_deploys, connect_domain, check_domain, publish_landing, read_site, rollback). However, conventions are mixed: some use compose/x/check/y (check_copy, check_domain, check_performance) while others use site_x (site_status, site_analytics, site_issues, site_screenshot) with inconsistent ordering. Descriptions mix English and Russian heavily, though that's content not naming.

Tool Count4/5

27 tools is a large but arguably justified surface for a full site-building/deploying/monitoring platform spanning composition, domain management, deploys, performance, analytics, and environment configuration. It sits slightly above what feels tight, but each tool has a defined role in the overall workflow.

Completeness4/5

The surface covers the full landing lifecycle: compose, publish, deploy, monitor, rollback, diagnose, and connect external resources (domain, analytics, integrations). Minor gaps: no explicit tool for site deletion/teardown, only read_site for editing with refactor_site being narrow, and no way to update an existing landing's text beyond refactor. Still, core CRUD and operational flows are covered.

Resources