Skip to main content
Glama

Airlok

Перезапустить

restart_app
Idempotent

Перезапустить работающую версию приложения без пересборки: если оно зависло или нужно перечитать состояние. На хостинге после изменения переменных перезапуск не нужен — он происходит сам; на своём сервере перезапуск передаёт приложению переменные из дашборда (кроме тех, что встраиваются при сборке). Требует токен с правом публикации.

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

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=true, destructiveHint=false), the description discloses that no rebuild occurs, that the operation requires a token with publish permission, and that on a self-managed server it forwards dashboard variables except build-time-embedded ones. That is meaningful behavioral and authorization context; it only lacks notes on downtime or in-flight requests.

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?

Three sentences, each carrying distinct information: what it does, the hosting versus own-server variable behavior, and the auth requirement. Front-loaded with the action and the no-rebuild constraint, with no filler.

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 one-parameter mutation tool with full schema coverage and annotations covering safety and idempotency, the description covers purpose, triggers, environment-specific behavior, and permissions. Only operational side effects such as brief downtime are left unstated.

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 the single `app` parameter already documents that it accepts an id, a name, or "server/name". The description adds no further semantics about the parameter, 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 states a specific verb and resource ("Перезапустить работающую версию приложения") and adds a distinguishing qualifier, "без пересборки", which separates it from a redeploy. It does not explicitly name siblings such as start_app or stop_app, so the differentiation is implied rather than stated.

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?

It gives concrete when-to-use triggers (the app hung, or state needs re-reading) and an explicit when-not-to case: on hosting, a restart after variable changes is unnecessary because it happens automatically. It stops short of naming an alternative tool to use instead in that case, but the conditions themselves are clear.

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