Skip to main content
Glama

Airlok

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

deploy
Destructive

Поставить в очередь публикацию ветки или коммита: на своём сервере или на хостинге Airlok. Если новая версия не соберётся или не запустится, сайт останется на предыдущей, а публикация станет failed с причиной; success — новая версия запущена и отвечает. Требует токен с правом публикации.

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>"
    },
    "name": "deploy"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
refNoветка или хеш коммита; по умолчанию последняя версия ветки приложения

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (which only flag mutation and destructiveness), the description discloses the failure contract: a failed build/start leaves the site on the previous version and marks the publication failed with a reason, while success means the new version is live and responding. It also states the required permission scope (token with publish rights), which annotations cannot convey.

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 action is front-loaded in the first clause, followed by outcome semantics and the auth prerequisite; each sentence carries distinct information with no filler. Slightly dense but well ordered.

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?

With no output schema, the description compensates by explaining what success and failure mean for the returned deployment state, plus the target scope and permission requirement. Nothing essential for calling this mutation correctly appears to be missing.

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 app and ref parameters are already fully documented in the input schema. The description only restates that a branch or commit is published and does not add format or default details beyond what the schema provides, so the baseline of 3 applies.

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?

The description names a specific verb and resource — queue a publication of a branch or commit — and scopes it to two targets (own server or Airlok hosting), so an agent can distinguish it from a read-only status check like get_deploy_status. It stops short of explicitly naming the sibling it is not, which keeps it at 4 rather than 5.

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 two deployment targets are mentioned, which implies when the tool applies, but there is no explicit when-to-use/when-not guidance and no named alternative for checking progress (e.g. get_deploy_status). Usage is inferable from the verb but not routed.

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