Skip to main content
Glama

Octolane

delete_pipeline

DestructiveIdempotent

Delete a sales pipeline from the CRM. This is a soft delete; the pipeline and its deals are removed from views but can be restored by an admin. The last remaining pipeline in an organization cannot be deleted. Use when asked to delete or remove a pipeline. Requires the pipeline_id. Confirm with the user before calling.

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

Input Schema

NameRequiredDescriptionDefault
session_idNoThe ID of the task this call belongs to. Leave it out on your first call. On every later call for the same task, send the ID an earlier result gave you, and pass it to any subagent working on that task.
pipeline_idYesUUID of the pipeline to delete

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true, readOnlyHint=false), the description discloses that this is a soft delete, that deals are hidden from views but restorable by an admin, and that the last remaining pipeline cannot be deleted. These are substantive behavioral facts an agent could not infer from the annotations or schema.

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?

Five short sentences, front-loaded with the action and constraint, with the irreversible-sounding operation softened immediately by the soft-delete note. 'Use when asked to delete or remove a pipeline' is mildly redundant with the opening, but it earns its place as a routing cue.

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 two-parameter destructive tool with no output schema, the description covers the mutation semantics, the restore path, the business-rule guard, and the confirmation requirement. Nothing an agent needs in order to call it safely 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%, with both pipeline_id and session_id fully documented in the schema, so the baseline is 3. The description only restates that pipeline_id is required and adds no format, validation, or sourcing 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?

The description opens with a specific verb and resource ('Delete a sales pipeline from the CRM'), which is clearly distinct from the sibling field-level tools like delete_pipeline_field and bulk_delete_pipeline_fields. It does not explicitly name a sibling to disambiguate against, so it falls just short of a 5.

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 states an explicit usage trigger ('Use when asked to delete or remove a pipeline') and a precondition ('Confirm with the user before calling'). It gives clear context for when to use it, though it does not name alternatives such as the bulk deletion variants.

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