Skip to main content
Glama

Remove a pipeline

dosai_archive_pipeline
Destructive

Remove (archive) a pipeline. Refused while it has open deals: move or close them first. Two steps: the first call only says what will happen.

Input Schema

NameRequiredDescriptionDefault
pipeline_idYes
workspace_idYesCRM project (workspace) id, as returned by dosai_list_workspaces.
confirm_tokenNoLeave empty on the first call: it changes nothing and returns what will happen and a code. Ask the owner; only after their explicit "yes" call again with the same arguments and this code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false; the description adds genuinely new context — that removal is an archive, that the call is refused under open deals, and that the first invocation is a no-op preview. It doesn't say whether an archived pipeline can be restored, which is the main residual question for a destructive op.

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 short sentences, zero preamble, with the core operation stated first and the constraint and two-step flow following in priority order.

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 destructive mutation with no output schema, the description covers the safety profile, the blocking condition, and the confirmation flow. Reversibility of the archive and any permission requirements are the remaining gaps, but they don't prevent correct invocation.

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 is 67%, and the confirm_token parameter already carries a thorough description including the empty-on-first-call rule. The description's 'two steps: the first call only says what will happen' reinforces that but adds little beyond the schema, and pipeline_id remains undocumented in both places.

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?

'Remove (archive) a pipeline' gives a specific verb plus resource and importantly disambiguates that the removal is archival rather than a hard delete. It doesn't explicitly name sibling tools (e.g. dosai_update_pipeline, dosai_list_pipelines), so differentiation relies on the parenthetical alone.

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?

States a concrete precondition and what to do instead: 'Refused while it has open deals: move or close them first.' This gives an agent an actionable blocked-state path. It does not name the specific sibling tools (move_deal/update_deal) that resolve the block, leaving that to inference.

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