Skip to main content
Glama

Загрузить сценарий из выгрузки

flows_import

Import a flow scenario from an exported object into a bot or case. Existing scenarios remain, duplicates get a numbered suffix, and invalid AI/knowledge-base links are removed with details.

Instructions

Заводит сценарий из объекта, полученного через flows_export. Существующие не трогает: загруженный добавляется рядом, а при совпадении названий получает номер. Ссылки на ИИ-сервис и базу знаний исходного дела при переезде проверяются, и неразрешимые снимаются — о каждой снятой сказано в ответе.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
botYesБот: название, @username или идентификатор.
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
nameNoСвоё название вместо записанного в выгрузке.
documentYesСодержимое выгрузки целиком — то, что вернул flows_export.
Behavior5/5

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

Beyond the annotations (openWorldHint true, destructiveHint false), the description reveals that existing flows are left untouched, unresolved AI service and knowledge base links are removed, and each removal is reported in the response. This adds substantial behavioral detail not present in the structured 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?

Three concise sentences, front-loaded with the main action, no redundant wording. Every sentence adds value and structure is clear.

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?

For a creation tool with a complex nested document parameter and no output schema, the description explains conflict resolution behavior and response content for link removals. It hints at the response but could be more explicit about the success return value, yet given the available annotations it is reasonably complete.

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?

All 4 parameters have schema descriptions (100% coverage), and the description only adds context (e.g., the document is the whole export from flows_export) without giving deeper parameter-specific meaning. This aligns with the baseline 3 for high schema coverage.

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 clearly states it creates a scenario from an export object obtained via flows_export ('Заводит сценарий из объекта, полученного через flows_export'). This distinguishes it from related tools like flows_save or flows_delete by focusing on the import-from-export use case.

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 implies usage after flows_export and clarifies that existing flows are not overwritten and name conflicts get numbering, providing useful context. However, it does not explicitly contrast with flows_save for editing or specify when not to use this tool, so it falls short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/uk-kd/operbots-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server