Skip to main content
Glama

delete_lead_list

DestructiveIdempotent

Permanently delete a lead list AND every lead in it, in one step. This cannot be undone, so check the list first with get_lead_list (it shows the lead count). To remove only some leads, use remove_lead_from_list or remove_leads_from_list instead. SCOPE: destructive, requires an ADMIN-scoped API key (a write key returns 403).

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": {
      "lead_list_id": "<lead_list_id>"
    },
    "name": "delete_lead_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
lead_list_idYesId of the lead list (from list_lead_lists).

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 and idempotentHint, but the description adds context they cannot carry: the deletion is permanent, it cascades to child leads, and it requires an ADMIN-scoped key (a write key returns 403). The 403 detail is precisely the kind of failure mode that prevents a wasted attempt.

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 sentences, front-loaded with the destructive cascade, then the safety pre-check, then the auth constraint. No filler and each sentence carries a distinct decision-relevant fact.

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 single-parameter destructive tool with no output schema, nothing needed to call it safely is absent: scope, irreversibility, alternatives, verification step, and auth requirement are all present.

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?

One parameter at 100% schema coverage; the schema states it is the list id from list_lead_lists. The description adds no format or sourcing detail beyond that, so the baseline 3 applies. Nothing is missing, but nothing is contributed either.

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 plus the critical scope detail: it deletes the list 'AND every lead in it, in one step.' That cascade clause is what separates it from remove_lead_from_list / remove_leads_from_list, which are named as single-lead or partial alternatives.

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 routes the agent: check first with get_lead_list (noting it shows the lead count), and use remove_lead_from_list or remove_leads_from_list when only some leads should go. This covers when-to-use, when-not-to-use, and the alternatives.

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