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

Schema Changelog

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

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description reinforces idempotency ('repeat calls change nothing and honestly answer changed=false') and adds valuable context: empty change list is a valid response, the tool publishes nothing, and it discloses the excluded work domains. It adds meaningful behavioral context beyond the annotations without contradicting them.

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?

The description is structured with clear sections (verdict, safety note, idempotency, exclusions, measurement protocol). It front-loads the core function in the first sentence. It is somewhat verbose and uses heavy formatting (⚠️, ALL-CAPS emphasis) which carries important warnings but could be trimmed. Every sentence serves a purpose — no filler.

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 transformation tool with two well-documented parameters, a good safety model (non-publishing), output schema present, and idempotency annotations, the description is thorough: it covers return semantics (changed=false), the workflow contract (human approval before publish), exclusion boundaries (site_issues), and measurement guidance (check_performance threshold). Given the annotations and schema richness, this is complete.

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

Parameters4/5

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

Schema coverage is 100% with both parameters documented. The description's main added value is the global scope note (tool is non-publishing, idempotent) rather than per-parameter detail. The fix enum values are well described in the schema; the description reinforces contextually. Slight deduction since the description doesn't add per-parameter meaning beyond the schema, though the fix semantics are already rich there.

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 states a specific verb+resource: 'apply one named transformation to markup with a predictable result.' It clearly distinguishes from siblings by explicitly stating it returns modified HTML rather than publishing, naming publish_landing as the separate publishing step. The distinction from site_issues (which reports problems it doesn't fix) is explicit.

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?

One transformation (rendering) produces HTML instead of publishing; the description explicitly tells the agent to show it to a human, get consent, and call publish_landing. It clearly states when NOT to use it: fonts from third-party hosts, webp conversion, and inline-style parsing are excluded and belong to site_issues. It also specifies when to use it — measuring wins via check_performance before/after, with noise threshold of three points.

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.