Skip to main content
Glama

Применить правку к разметке сайта

refactor_site
Read-onlyIdempotent

Одно названное преобразование разметки — с предсказуемым результатом.

Инструмент НИЧЕГО НЕ ПУБЛИКУЕТ. Он возвращает изменённый HTML; показать
его человеку, получить согласие и позвать `publish_landing` — твоя работа.
Молча переписывать чужой сайт нельзя.

Преобразования идемпотентны: повторный вызов ничего не меняет и честно
отвечает `changed=false`. Пустой список изменений — не ошибка, а ответ
«применять было нечего».

⚠️ ЧЕГО ЗДЕСЬ НЕТ И ПОЧЕМУ. Шрифты со сторонних хостов, перекодировка
картинок в webp и разбор инлайн-стилей сюда НЕ входят: для них нужны сами
файлы, которых у сервера нет, либо суждение о задуманном внешнем виде.
Эти проблемы называет `site_issues` — с адресом и объяснением; правит их
тот, у кого файлы на руках.

Выигрыш меряется `check_performance` ДО и ПОСЛЕ публикации. Если разница
меньше трёх баллов — это шум измерения, а не улучшение; так и скажи.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fixYes`meta` — заполнить lang и OG-разметку из того, что на странице уже написано. `lazy_images` — отложить загрузку картинок ниже первого экрана (первую не трогает: по ней меряется LCP).
htmlYesСодержимое `index.html` — то, что лежит у пользователя на диске. Прочитай файл сам и передай сюда.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fixYes
htmlNo
changedYes
changesYes
next_actionYes
available_fixesYes

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and idempotentHint=true, and the description reinforces both: it returns modified HTML without publishing, and states 'Преобразования идемпотентны: повторный вызов ничего не меняет и честно отвечает changed=false.' The description also reveals the changed=false contract and the empty-change-list semantics ('Пустой список изменений — не ошибка'), adding valuable behavioral detail beyond what the annotations convey. It doesn't contradict annotations.

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?

Well-structured: each paragraph earns its place — purpose, idempotency contract, exclusion list, and measurement guidance. Uses bold ⚠️ callout for the critical exclusion section. Informative without padding; every sentence conveys a distinct fact about tool behavior or usage.

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?

For a 2-parameter tool with full schema coverage, an output schema, and rich annotations, the description comprehensively covers the workflow: it explains what the tool returns, how to complete the loop (publish_landing), what it won't fix, and how to interpret performance results. The interplay with check_performance, site_issues, and publish_landing is fully specified, which is complete for the operational context.

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 the schema already documents both parameters (html = file contents, fix = enum with per-value explanations). The description adds context about what each fix does (e.g., lazy_images skips the first image due to LCP) by referencing the schema's fix description. The description doesn't add new parameter-level semantics beyond the schema, which is the baseline for full 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?

The description starts with a crisp statement: 'Одно названное преобразование разметки — с предсказуемым результатом.' It names the specific verb (refactor/apply transformation) and resource (site markup), and enumerates exactly what transformations exist (meta, lazy_images). The strong negative framing — 'НИЧЕГО НЕ ПУБЛИКУЕТ' — distinguishes it clearly from publish_landing and site_issues siblings.

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?

Explicit when-to-use guidance: use it for named markup transformations, and explicitly directs the agent to call publish_landing after human approval. It also gives a clear exclusion list — fonts from third-party hosts, webp re-encoding, inline-style parsing — and points to site_issues for those. It even explains when NOT to report success (measurement noise <3 points via check_performance).

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