Skip to main content
Glama

ShearQuery — Barber & Beauty Industry Data

Delete a pipeline and its deals

crm_delete_pipeline

Permanently delete a pipeline AND every deal in it — it can't be undone. Say how many deals it holds (crm_pipelines) and get a clear yes first. confirm_name must repeat the pipeline's exact name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pipelineYesPipeline name or id.
confirm_nameYesThe pipeline's exact name.

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 mark this as a non-read-only, non-idempotent mutation; the description adds the critical facts they don't carry: the deletion is permanent, irreversible, and cascades to all contained deals, plus the human-confirmation requirement.

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?

Two tight sentences with zero filler; the destructive consequence is front-loaded before the procedural advice, which is the right ordering for a delete tool.

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 everything an agent needs: what is destroyed, that it is irreversible, which sibling supplies the deal count, and the confirmation gate.

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 100%, so the baseline is 3, but the description elevates confirm_name beyond its schema text by framing it as a deliberate safety guard (it 'must repeat the pipeline's exact name'), explaining the intent of the parameter rather than just its type.

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 (delete) and resource (pipeline) with explicit blast radius ('AND every deal in it'), which cleanly separates it from siblings like crm_delete_opportunity.

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?

Gives a clear prerequisite workflow — call crm_pipelines to count the deals and obtain a verbal yes before invoking — and names the sibling used for that count. It does not state explicit when-not-to-use conditions, but the intended invocation context is unambiguous.

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.