Skip to main content
Glama

Airlok

Превью веток

list_previews
Read-only

Превью веток приложения на хостинге: push в любую ветку, кроме основной, собирается на отдельном адресе (у приложения должны быть включены превью). Для каждого — ветка, адрес, опубликованная версия, идёт ли сборка и id: его или имя превью можно передавать в другие инструменты (get_logs, get_deploy_status, get_app).

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a safe read (readOnlyHint=true, openWorldHint=false), and the description adds useful context beyond them: the previews-enabled prerequisite and the fact that the id or preview name is a reusable handle for other tools. It doesn't discuss pagination or what happens when no previews exist.

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?

Purpose is front-loaded, then the per-item return fields, then the id hand-off note; each clause carries information. The single sentence with nested parentheses is dense but not padded.

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?

With no output schema, the description takes on the burden and enumerates exactly what each entry contains: branch, address, published version, build-in-progress flag, and id. Combined with the prerequisite, an agent knows enough to call it and interpret results.

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?

There is a single parameter with 100% schema description coverage, and the schema already explains that it accepts an app id, name, or server/name form. The description adds no further parameter guidance, so 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 states a specific resource (branch previews of a hosted app) and explains what a preview is: a push to any non-main branch built at a separate address. This makes the object concrete rather than tautological, but it doesn't position the tool against siblings such as list_apps or get_app.

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 real precondition — the app must have previews enabled — and explains downstream use of the returned id/name in get_logs, get_deploy_status and get_app. It stops short of saying when to prefer this over other listing tools, so exclusions are absent.

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