Skip to main content
Glama

Airlok

Обновить систему или перезагрузить сервер

upgrade_server_os
Destructive

Поставить обновления системы (upgrade) или перезагрузить сервер (reboot). Только если человек прямо попросил. При upgrade сайты продолжают работать, nginx перезапускается на долю секунды; при reboot сайты недоступны 1–2 минуты и запускаются сами. Сколько обновлений и нужна ли перезагрузка — list_servers, ход и итог — get_server, поле os_upgrade. Требует токен с правом публикации.

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": {
      "server": "<server>",
      "action": "<action>",
      "confirm": "<confirm>"
    },
    "name": "upgrade_server_os"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
serverYesid или имя сервера из list_servers
confirmYesточное имя сервера, которое подтвердил человек

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and non-idempotency, but the description goes further: it quantifies impact per action (nginx restarts for a fraction of a second vs. 1–2 minutes of downtime with sites self-starting) and states the auth requirement of a token with publish rights. That is exactly the operational context annotations cannot carry.

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?

Five short sentences, each doing distinct work: action definition, gating condition, per-action impact, where to check status, and auth requirement. Nothing is repeated from the schema and the riskiest information is front-loaded.

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 destructive three-parameter mutation with no output schema, the description covers impact, prerequisites and progress tracking via get_server. The only gap is that it never explains the confirm safeguard, which matters for a tool the annotations mark as destructive.

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?

With 67% schema coverage, the description adds real meaning for the action enum by spelling out what upgrade and reboot each do, and it reinforces that server comes from list_servers. However, the confirm parameter is never addressed in the description, leaving the human-approval safeguard explained only by the schema's own text.

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?

The description names two specific verbs on a specific resource (system upgrade vs. server reboot) and distinguishes them in the very first sentence. It also points to list_servers and get_server for the read-only counterparts, so an agent can separate this mutation tool from its siblings 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?

Explicit gating is given: only when a person has directly asked. The description also routes pre-checks to list_servers (how many updates, whether a reboot is needed) and post-checks to get_server/os_upgrade, so both the decision to call and the follow-up are covered.

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