Skip to main content
Glama

Airlok

Обновить агента

update_agent
Idempotent

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

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

Input Schema

NameRequiredDescriptionDefault
serverYesid или имя сервера из list_servers

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?

Beyond the annotations, the description discloses that the update is queued and asynchronous, that sites keep running, that an in-progress publication is allowed to finish first, and that a token with publish permission is required. That is meaningful operational context that the hints alone do not convey. The remaining gap is polling behavior, which is only partly covered by pointing to get_server.

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 and its non-disruptive guarantee come first, and the follow-up guidance and permission requirement come after. Every sentence carries information, though the dash-joined clauses make it slightly denser than necessary.

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 single-parameter mutation with no output schema, the description covers trigger, safety, permission, and where to verify the outcome. Nothing an agent needs in order 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the server parameter is already documented as an id or name from list_servers. The description adds no extra meaning about the parameter, so the schema carries the load and baseline 3 applies.

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 states a specific verb and resource: it queues an Airlok agent update on a named server, and it adds scope that separates it from other update tools. An agent can tell this is an agent-version update rather than an app or site settings change.

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 an explicit trigger constraint, 'only at a human's request', and routes version checking and result verification to get_server, field agent. It does not mention set_agent_auto_update as an alternative, so the boundary with the sibling that controls automatic updates is left implicit.

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