Skip to main content
Glama

Archive pipeline

archive_pipeline
Destructive

Archive (or restore) a content pipeline — flips is_active off/on, mirroring the Content Pipeline UI's soft-delete/restore. No data is deleted or cascaded. Use when the user says "archive this pipeline", "pause my newsletter automation", "turn off this pipeline", or "bring back my archived pipeline" (pass restore:true).

[write-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoOptional. Why this pipeline is being archived or restored.
restoreNoSet true to REACTIVATE an archived pipeline instead of archiving it. Default false (archive).
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
pipeline_idYesID of the pipeline to archive/restore (get from list_pipelines)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

The description goes well beyond annotations: it explains soft-delete semantics, confirms "No data is deleted or cascaded", and discloses the write-tier approval behavior including from-now-on vs just-once approvals and the instruction not to re-ask in chat. The destructiveHint=true annotation is not contradicted since flipping is_active still mutates state and can pause live automation.

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 front-loaded with the core action, then gives trigger phrases and approval context in three compact, information-dense sentences. Every sentence earns its place and there is no filler or repetition of schema content.

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?

For a mutating 4-parameter tool with no output schema, the description covers the action, reversible behavior, absence of cascade deletion, user-intent triggers, the restore flag, and the approval workflow. Nothing an agent needs to invoke it correctly is missing.

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 the schema already documents all four parameters. The description adds a useful natural-language mapping for restore:true, but it does not materially enrich parameter semantics beyond what the input schema already provides.

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 states a specific verb and resource: "Archive (or restore) a content pipeline" and clarifies it flips is_active off/on. It distinguishes itself from siblings like archive_playbook by making the resource explicit and by framing it as the UI's soft-delete/restore action.

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 gives explicit trigger phrases: "archive this pipeline", "pause my newsletter automation", "turn off this pipeline", and "bring back my archived pipeline" with pass restore:true. It provides strong when-to-use guidance and approval-flow instructions, but it does not explicitly name an alternative tool or a when-not-to-use condition for hard deletion or pipeline edits.

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