Skip to main content
Glama

Restore an archived pipeline

restore_pipeline
Idempotent

Bring back a pipeline archived with archive_pipeline or on the dashboard, as a draft.

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": {
      "pipeline_id": "<pipeline_id>"
    },
    "name": "restore_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
pipeline_idYesThe archived pipeline's id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare the safety profile (not read-only, not destructive, idempotent, closed-world). The description's one genuine addition is that the restored pipeline comes back as a draft rather than active/deployed, which matters for follow-up actions. It says nothing about failure behavior when the id is not an archived pipeline, or whether the id is preserved.

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?

One short sentence, front-loaded with the action and ending with the important outcome state. No filler or redundancy.

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 one-parameter, non-destructive, idempotent tool with full schema coverage and annotations, the description covers what an agent needs: which resource, the prerequisite state, and the resulting state. Only edge-case outcomes (invalid/non-archived id) are unaddressed.

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?

Single parameter with 100% schema description coverage; the schema already explains pipeline_id is the archived pipeline's id. The description repeats the "archived" qualifier but adds no format, source, or lookup detail beyond the schema.

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?

A specific verb (bring back) and resource (pipeline) plus the resulting state (as a draft), and it names the inverse operation archive_pipeline. It does not explicitly distinguish itself from the sibling restore_agent/restore_workflow/restore_version beyond the resource noun, but the object is unambiguous.

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

Usage Guidelines3/5

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

"archived with archive_pipeline or on the dashboard" implicitly scopes use to pipelines that are currently archived, which is real contextual guidance. There is no explicit when-not case (e.g., what to do with a live pipeline, or whether duplicate is the right alternative), so the guidance is implied rather than stated.

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