Skip to main content
Glama

Сценарии

flows_list
Read-onlyIdempotent

List bot automation scenarios with active status and node counts. Filter by specific bot or case to review workflow details across your panel.

Instructions

Какие сценарии заведены, какой из них в работе и сколько в них узлов. Без параметра bot возвращает сценарии всего дела — со всех ботов сразу. У сценария есть вид: для диалогов (личная переписка) или для сообществ (группы и каналы); у бота по одному включённому на вид.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
botNoБот: название, @username или идентификатор. Без него — все боты дела.
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.13
    • changedInput schema / properties / bot / description
      Previous value: -"Бот: название, @username или идентификатор."New value: +"Бот: название, @username или идентификатор. Без него — все боты дела."
    • removedInput schema / required
      Removed value: -[
      -  "bot"
      -]
  2. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral detail beyond that: it aggregates across all bots when bot is absent, reports work status and node counts, and explains the per-type enabled-scenario constraint. This is meaningful context not visible in the schema or annotations.

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?

The description is three compact Russian sentences with no wasted words. It front-loads the purpose, then explains parameter behavior, then covers the scenario-type domain rule. Every clause contributes distinct, useful information.

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?

Although there is no output schema, the description still conveys what the agent can expect: registered scenarios, the active one, and node counts. It also covers parameter defaults and the scenario kind constraint. The only minor gap is the lack of an explicit response shape or pagination note, but the tool is simple enough that the description is largely adequate.

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 description coverage is 100%, so the baseline is 3. The description adds value by explaining what happens when bot is omitted — all bots of the case — and how case resolves when not specified: explicit value, then default case, then last opened. These behavioral defaults go beyond the schema's basic field descriptions.

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 opens with concrete returned information: which scenarios are registered, which one is in work, and how many nodes they contain. This clearly identifies it as a read/list operation on the flows resource. However, it does not explicitly name sibling tools like flows_get, so differentiation from that single-scenario lookup remains implicit.

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?

The description gives important usage context: omitting the bot parameter returns scenarios from all bots of the case, and the case parameter has a documented fallback order. This helps the agent decide when to call the tool and with which parameters. It does not explicitly state when to prefer flows_get or flows_versions instead, so exclusions and alternatives are only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.