Skip to main content
Glama

Airlok

Настройки запуска

set_run_settings
Idempotent

Как запускать приложение на хостинге, если airlok.yml нет или сборщик угадал не то: порт, команда запуска, команда перед запуском новой версии (миграции) и нужна ли база. Неуказанные поля не меняются; 0 и пустая строка возвращают решение сборщику. Действует со следующей публикации. Требует токен с правом публикации.

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

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
portNoпорт приложения; 0 — как решит сборка
databaseNoзавести приложению PostgreSQL и передать DATABASE_URL
start_commandNoкоманда запуска одной строкой
release_commandNoкоманда перед запуском новой версии, например alembic upgrade head

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (which only declare non-read-only, idempotent, non-destructive), the description discloses partial-update semantics (unspecified fields are left untouched), reset semantics (0 and empty string hand the decision back to the builder), deferred effect (applies from the next publication), and an auth prerequisite. These are exactly the behavioral traits an agent needs before invoking a mutating settings tool.

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?

Purpose and triggering condition are front-loaded, followed by short sentences covering reset behavior, timing, and auth. Every clause carries information an agent would otherwise have to guess; no filler or restated title.

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 5-parameter mutation tool with full schema coverage and annotations, there is no output schema to explain, and the description supplies the remaining essentials: partial-update behavior, reset values, effective timing, and the required permission. Nothing needed to call it correctly is missing.

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%, so the per-field meanings are already documented and the baseline is 3. The description still adds meaning the schema lacks: the empty-string reset rule for string fields and the cross-cutting 'unspecified fields are unchanged' rule, which determines how partial payloads behave. It mostly restates the port/database semantics already in the schema, so it lands at 4.

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 concrete verb+resource (setting how an app runs on hosting) and enumerates exactly which run parameters are covered: port, start command, pre-release command, and database. It also states the motivating scenario (missing airlok.yml or a builder that guessed wrong), which makes it distinguishable from generic settings tools like update_app_settings. It does not explicitly contrast itself with a named sibling, so it stops short of a 5.

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?

The opening clause gives a clear when-to-use condition: airlok.yml is absent or the builder misdetected the runtime. It adds important operational context — a token with publication rights is required and changes take effect only from the next publication. There is no explicit when-not-to-use or named alternative (e.g. env vars or project settings tools), so 4 rather than 5.

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