Skip to main content
Glama

Delete leads

lead_delete
Destructive

Permanently remove leads from a campaign along with their pending actions. Irreversible — confirm with the user, and prefer lead_update with isExcluded: true when they only want sending to stop.

Input Schema

NameRequiredDescriptionDefault
leadIdsNoSpecific leads to delete.
selectAllNoDelete every lead matching a filter instead of an id list, e.g. { "status": "FAILED" }.
campaignIdYesCampaign id, from `campaign_list` or `campaign_create`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 non-idempotent, but the description adds critical context they don't carry: the deletion is irreversible and cascades to pending actions. That cascade side-effect is exactly the kind of trait an agent needs before invoking.

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 sentences, zero waste. The destructive consequence is front-loaded, and the safer alternative follows immediately.

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 three-parameter destructive tool with no output schema, the description covers the destructive consequence, the cascade, the confirmation requirement, and the safer alternative. Nothing an agent needs 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 coverage is 100%, so leadIds, selectAll, and campaignId are all documented in structured fields. The description adds no syntax or format detail beyond what the schema provides, so the baseline 3 applies.

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 ("Permanently remove leads from a campaign") plus a scope extension ("along with their pending actions"). It is immediately distinguishable from sibling tools like lead_update or lead_move.

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?

Explicitly names the alternative ("prefer `lead_update` with `isExcluded: true`") and the exact condition that selects it ("when they only want sending to stop"). It also mandates confirming with the user first.

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