Skip to main content
Glama

restore_flow

Idempotent

Restore a flow from trash back to active state. Use list_flows with state='trashed' to find trashed flows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
flow_idYesThe unique identifier of the trashed flow to restore.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already provide key safety signals (readOnlyHint=false, idempotentHint=true, destructiveHint=false). The description adds the specific state transition ('from trash back to active state') but does not disclose additional behavioral details such as permissions, side effects, or edge cases. Given the annotations, this is adequate but not rich.

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 two sentences, front-loaded with the purpose, and includes a helpful tip for finding trashed flows. Every word earns its place; no fluff 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?

Given the tool's simplicity (one parameter, no output schema), the description is complete enough. It tells the user what the tool does and how to locate the right input. The annotations and schema cover the remaining details, so no further explanation is needed.

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 coverage for the single parameter (flow_id) is 100%, with a clear description in the schema. The tool description does not add extra meaning or clarify syntax beyond what the schema already provides, so the baseline of 3 is appropriate.

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 a specific action (restore) on a specific resource (a trashed flow) and the result (back to active state). It distinguishes restore_flow from siblings like delete_flow or cancel_flow by focusing on the trash-to-active transition.

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 a clear when-to-use context: use when you need to restore a trashed flow. It also provides a practical prerequisite via list_flows with state='trashed'. However, it does not explicitly mention alternatives or when not to use the tool, so it stops short of full exclusion guidance.

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