Skip to main content
Glama

Опубликовать сайт

htmlkin_publish

Публикует сайт на htmlkin.ru и возвращает его публичный адрес (URL). Принимает ровно один источник: готовый HTML (html_content) или текстовые файлы статического сайта (files). Для binary-ассетов используй ZIP через REST API или браузер. Можно задать желаемый субдомен, PIN-защиту и видимость.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "htmlkin_publish"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinNo4-значный PIN (0000–9999) для защиты просмотра сайта. Опционально.
filesNoДо 20 текстовых файлов и 2 МБ UTF-8 суммарно; обязателен корневой index.html.
commentsNoКто комментирует выделенный текст на сайте: off — никто; everyone — любой вошедший на htmlkin; team — владелец и команда, на тарифе «Бизнес». По умолчанию — off.
subdomainNoЖелаемый субдомен ({subdomain}.htmlkin.ru): 3–63 символа a-z, 0-9, «-» (не по краям). Не URL и не имя файла. Если занят — ошибка subdomain_taken.
visibilityNoКому открыт сайт: public — всем, сайт индексируют поисковики; link — всем, у кого есть ссылка, без индексации; team — участникам команды аккаунта после входа, на тарифе «Бизнес»; private — только владельцу аккаунта после входа. По умолчанию — public.
html_contentNoПолный HTML-документ сайта (inline HTML, до 30 МБ; больше — ZIP через REST API). Ровно одно из полей html_content и files.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / comments
      Added value: +{
      +  "description": "Кто комментирует выделенный текст на сайте: off — никто; everyone — любой вошедший на htmlkin; team — владелец и команда, на тарифе «Бизнес». По умолчанию — off.",
      +  "enum": [
      +    "off",
      +    "everyone",
      +    "team"
      +  ],
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / html_content / description
      Previous value: -"Полный HTML-документ сайта (inline HTML, до 30 МБ; больше — ZIP через REST API). Ровно одно из полей html_content и pdf_base64."New value: +"Полный HTML-документ сайта (inline HTML, до 30 МБ; больше — ZIP через REST API). Ровно одно из полей html_content и files."
    • removedInput schema / properties / pdf_base64
      Removed value: -{
      -  "description": "PDF-документ в base64 (можно с префиксом data:application/pdf;base64,). Ровно одно из полей html_content и pdf_base64.",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / visibility
      Added value: +{
      +  "description": "Кому открыт сайт: public — всем, сайт индексируют поисковики; link — всем, у кого есть ссылка, без индексации; team — участникам команды аккаунта после входа, на тарифе «Бизнес»; private — только владельцу аккаунта после входа. По умолчанию — public.",
      +  "enum": [
      +    "public",
      +    "link",
      +    "team",
      +    "private"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the returned URL, the exactly-one-source rule, the binary asset limitation, and configurable subdomain/PIN/visibility, but it omits auth requirements, overwrite/republish semantics, and rate limits.

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?

Three compact sentences, front-loaded with the core action and return value, followed by source constraints and options. No wasted text.

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 tool with no output schema, the description helpfully states that it returns the public URL. Combined with the rich input schema, it gives an agent enough to call the tool correctly, though auth and overwrite behavior remain unstated.

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 the schema already documents all six parameters in detail. The description adds a useful summary of source exclusivity and the subdomain/PIN/visibility options, but it does not cover the comments parameter or add syntax beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: publishes a site on htmlkin.ru and returns its public URL. It is clear what the tool does, but it does not explicitly distinguish itself from sibling tools such as htmlkin_update or htmlkin_get.

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?

The description explains that exactly one source must be supplied and directs binary assets to ZIP via REST API or browser. However, it does not say when to use this tool versus htmlkin_update, nor does it give explicit preconditions or exclusions.

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.

Resources