Skip to main content
Glama

Airlok

Логи приложения

get_logs
Read-only

Последние строки вывода приложения (stdout, stderr) и сообщения 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>"
    },
    "name": "get_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesid приложения, его имя или «сервер/имя»
limitNoсколько строк, по умолчанию 100
errors_onlyNoтолько stderr и сообщения Airlok

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?

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds real value on top by disclosing the data sources (stdout, stderr, Airlok launch messages) and the precondition that logging be enabled, which determines whether the call returns anything useful. It does not mention truncation, ordering, or behavior when logs are disabled.

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?

Two sentences, front-loaded with what is returned and immediately followed by the diagnostic use case; no filler or redundant restatement of the title. Slightly denser than ideal because the environment/prerequisite clause is packed into the second sentence.

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 no output schema and only three well-documented parameters, the description covers what comes back, why to call it, and the enabling precondition. Remaining gaps — output format, truncation of long lines, and error behavior when logging is off — are modest for a read-only diagnostic tool.

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 description coverage is 100%, so the parameters are already fully documented. The description implies 'latest lines' (relevant to limit) and enumerates the stderr/Airlok sources (relevant to errors_only), but adds no format or semantics beyond the schema — the baseline 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 names a specific verb and resource: it returns the latest application output lines (stdout, stderr) plus Airlok launch messages. That is clearly distinct from siblings such as get_metrics or get_deploy_status, though no sibling is named explicitly.

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 a concrete diagnostic scenario — 'to understand why the site responds with an error or doesn't start' — plus a prerequisite (log collection must be enabled) and the environments it covers (hosting or own server). It stops short of naming alternatives or stating when not to use it.

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