Skip to main content
Glama

Airlok

Сбор логов

set_logs_enabled
Idempotent

Включить или выключить сбор вывода приложения в Airlok, откуда его читает get_logs. На своём сервере при включении вывод приложения начнёт уходить в Airlok, собранная история при выключении остаётся до срока. Только по просьбе человека. Требует токен с правом публикации.

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

Input Schema

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

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 only declare the mutation/idempotency profile; the description adds substantive behavior: a publish-scoped token is required, on self-hosted servers output starts flowing to Airlok once enabled, and previously collected history survives a disable until expiry. That retention and side-effect detail is exactly what annotations cannot convey.

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?

Four short sentences, front-loaded with verb+resource, then side effects, then the invocation constraint, then the auth requirement. Nothing is repeated from the schema and no sentence is 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?

With two required params, no output schema, and annotations already covering safety, the description supplies auth needs, retention behavior, and invocation policy. Minor omission: it does not say how to observe the resulting state or whether the change takes effect immediately.

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 50% — only `app` is documented, `enabled` is not. The description compensates by explaining what the two states actually do (output begins flowing to Airlok vs. history is preserved but collection stops), which is the semantic an agent needs for the undocumented boolean.

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?

Names a specific verb pair (enable/disable) and a specific resource (collection of application output in Airlok), and ties it to the sibling that consumes the data (get_logs). An agent can immediately tell this apart from the read-side log tool.

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 a clear gating condition — 'only at a human's request' — which constrains when an agent may invoke it, and implicitly routes reading to get_logs. It stops short of explicitly stating when not to toggle (e.g. already enabled, or during active debugging), so no full alternative matrix.

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