Skip to main content
Glama
anythink-cloud

Anythink-MCP

Official

Workflows: export

workflows_export
Destructive

Export a workflow's definition as JSON—triggers, steps, parameters, and on_success/on_failure links—to back up or copy it. Check with the user first.

Instructions

Export an existing workflow to JSON (round-trippable with seed). Gives the workflow's definition as JSON with no ids: its triggers, and its steps with their parameters, linked by step key through on_success/on_failure. Use it to back up or copy a workflow; for the ids the step tools need, use workflows_get. It changes or deletes existing data, so check with the user before running it.

Input Schema

NameRequiredDescriptionDefault
idYesWorkflow ID to export. Find it with workflows_list.
outputNoWrite to FILE instead of stdout

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.37
    • changedInput schema / properties / id / description
      Previous value: -"Workflow ID to export"New value: +"Workflow ID to export. Find it with workflows_list."
  2. Addedv0.2.27

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, and the description reinforces this with an explicit 'check with the user before running it' warning. Beyond annotations, it discloses the return shape (triggers, steps with parameters, linked via on_success/on_failure, no ids, round-trippable with seed), which is genuinely useful behavioral context.

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 tight sentences with the core action and the routing alternative front-loaded, followed by the caution. No filler or redundancy.

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 compensates by describing the returned JSON structure and its linking model. Combined with the schema and annotations, an agent has everything needed to invoke the tool and interpret its result.

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 both `id` and `output` are already documented in the schema. The description adds only a marginal note that the exported payload carries no ids; otherwise it does not extend parameter meaning, matching the baseline for full 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?

States a specific verb (export) and resource (existing workflow) plus the output format (JSON). It explicitly distinguishes itself from the sibling `workflows_get` and by implication `workflows_seed`, so an agent can route correctly without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete use cases (back up or copy a workflow) and names the alternative (`workflows_get`) with the condition that selects it (need the ids the step tools require). It also adds a pre-run caution to check with the user.

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

Deploy Server

Other Tools