Skip to main content
Glama

Archive a pipeline

archive_pipeline
DestructiveIdempotent

Move a pipeline to Archived, like the dashboard's Archive. Nothing is deleted: its past runs stay viewable and restore_pipeline brings it back. Pause its schedules first (pause_schedule). Call without approved to see what happens, and with approved: true only after the person confirms. Never archive a pipeline the person did not agree to archive.

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": "archive_pipeline"
  }
}

Input Schema

NameRequiredDescriptionDefault
approvedNotrue only after the person has confirmed.
pipeline_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the crucial interpretation: nothing is deleted, past runs stay viewable, and the change is reversible via restore_pipeline. It also discloses the confirmation gate that governs the approved parameter, which no annotation conveys.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and the safety caveat, and each sentence contributes distinct information. The phrase "see what happens" is the one loose spot, since it gestures at preview behavior rather than stating it directly.

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?

No output schema exists, but the description covers the essentials for a mutating tool: reversibility, precondition, and confirmation protocol. Minor gaps remain, such as the pipeline_id format and whether archival affects live deployments, but nothing that would cause a mis-call.

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 coverage is only 50%, yet the description adds real meaning for the undocumented-in-schema case by defining the two-mode call pattern: omitting approved yields a preview, and approved: true is a confirmed mutation. It does not specify the expected form of pipeline_id, leaving that parameter to the schema, which is unlabeled here.

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 and resource ("Move a pipeline to Archived") and anchors it to a familiar mental model ("like the dashboard's Archive"). The immediately following sentence disambiguates it from hard deletion and from the sibling restore_pipeline, so an agent can distinguish it from archive_agent/archive_workflow by resource alone.

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 explicit prerequisites ("Pause its schedules first (pause_schedule)"), an explicit sequencing protocol (call without approved first, then with approved: true after the person confirms), and names the reversing alternative (restore_pipeline). It even states a hard prohibition ("Never archive a pipeline the person did not agree to archive").

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