Skip to main content
Glama

Airlok

Подключить домен

add_domain

Подключить свой домен к приложению на хостинге или на своём сервере. Ответ — DNS-записи, которые пользователь заводит у регистратора; после этого check_domain. На хостинге сертификат HTTPS Airlok выпустит сам. Если домен уже добавлен в другом аккаунте, но там не подтверждён, ответ — заявка (domain.claim): домен перейдёт к этому приложению, как только появится TXT-запись с кодом заявки. На своём сервере запись — A на IP сервера, домен включится следующей публикацией (deploy), а у приложения один свой домен: новый заменит прежний. Требует токен с правом публикации.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app": "<app>",
      "domain": "<domain>"
    },
    "name": "add_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
domainYesнапример shop.example.ru или магазин.рф

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare write/open-world/not-idempotent/not-destructive; the description goes well beyond them by disclosing the auth requirement, that the response is DNS records the user must create at the registrar, the claim/TXT handoff of a domain from another account, and that the app holds only one custom domain so a new one replaces the old. That last side effect is exactly the kind of behavior an agent must know before calling, even though destructiveHint=false stays defensible since no data is deleted.

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?

Front-loads the action and the returned artifact, then branches into hosting / own server / claim cases, and ends with the auth prerequisite. Dense but nearly every clause carries information; a couple of long compound sentences could be split for readability.

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?

With no output schema, the description correctly covers what comes back (DNS records, or a domain.claim request) and the activation trigger for each path. What's missing is only finer detail — e.g. exact claim response fields or propagation timing — which is minor for a 2-parameter tool.

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% and both parameters already carry examples ('сервер/имя', 'shop.example.ru'), so the schema does the heavy lifting. The description only indirectly adds meaning to the domain parameter via the one-domain-per-app replacement rule; it adds nothing about the app identifier formats.

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?

States a specific verb and resource ('Подключить свой домен к приложению') and immediately splits the resource into two concrete modes — hosting vs own server. It also names the follow-up sibling check_domain, so an agent can place the tool in the workflow without opening any schema.

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?

Gives explicit post-conditions per case: on hosting the Airlok HTTPS certificate is issued automatically; on an own server the record is A-to-server-IP and the domain activates on the next deploy; then run check_domain. It also spells out the prerequisite (token with publish permission) and the special claim path when the domain already exists unconfirmed in another account.

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