Skip to main content
Glama

Airlok

Настройки приложения

update_app_settings
Idempotent

Изменить у приложения из git ветку, папку проекта, публикацию по push, превью веток и авто-откат. Передайте только то, что меняется. Ветка и папка действуют со следующей публикации. Только по просьбе человека. Требует токен с правом публикации.

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": "update_app_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
branchNoветка, из которой публиковать; должна быть в репозитории
previewsNoсобирать push в другие ветки на отдельных адресах; только на хостинге и вместе с auto_deploy; с дня тарифных пределов, о котором Airlok предупредит письмом, — не на бесплатном тарифе. Превью получает переменные основного приложения, а Data API — только с ключом anon; cron, боты и воркеры в превью не запускаются
root_dirNoпапка проекта внутри репозитория; пустая строка — корень
auto_deployNoпубликовать при каждом push в ветку; для GitHub нужен установленный на репозиторий GitHub App Airlok. Выключение выключает и превью
auto_rollbackNoвернуть прошлую версию, если сайт упал вскоре после публикации

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare it is a non-destructive idempotent mutation, so that part needs no restating. The description contributes real behavioral context the annotations cannot: that supplied branch/root_dir do not apply immediately but from the next publication, and that a token with publish rights is required.

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?

Front-loaded with the verb and the full field list, then partial-update rule, then timing caveat, then constraint and auth. Every clause carries distinct information; nothing is padded or restated from the schema.

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 6-param, fully documented settings update with no output schema, the description covers purpose, partial-update contract, deferred effect and auth. Only a note on what the call returns or whether an immediate relaunch happens is absent, which is minor here.

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%, including long per-field explanations for previews and auto_deploy, so the baseline is 3. The description still adds value by stating the PATCH-style semantics (send only changed fields) and the deferred effect for branch and root_dir, but it adds no field-level detail beyond that.

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?

A specific verb ('Изменить') binds to a specific resource ('у приложения') and then enumerates exactly which settings fall under it — git branch, project folder, deploy-on-push, branch previews, auto-rollback. An agent can tell this is the app-level settings mutator without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Передайте только то, что меняется" gives partial-update guidance and "Только по просьбе человека" states an explicit precondition for acting at all. What is missing is any routing to a sibling (e.g. update_site_settings vs set_app_project) for overlapping concerns, so it is clear but not comparative.

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