SendBridge MCP
Open the app

Email Validation

delete_validation_batch

Delete a validation batch. Remove a finished batch and its results from the account.

Deletes data Free scope: validation asks first

Asks first. Without confirm: true this tool changes nothing and returns a preview of what would happen and what it would cost. The assistant shows you the preview and calls again with the confirmation only after you agree.

What it does

Tidies up the list of batches. Like the delete button in the app, it removes a finished batch and its results from your account.

When to use it

  • An old list is no longer needed, or was uploaded by mistake.

Try asking

  • Delete the "test import" batch.

Parameters

NameTypeRequiredDescription
batch_tokenstringrequiredFrom list_validation_batches.
confirmbooleanoptionalLeave out (or false) to get a preview of what would happen and what it costs; nothing is changed. Set to true only after the user has agreed to the preview.

Result

Fields of data. Every result also has a meta object with mode, credits_charged, credits_remaining and request_id.

NameTypeDescription
confirmation_requiredbooleantrue = preview only, nothing was deleted.
deletedboolean
batch_tokenstring
namestring
recordsinteger
messagestring

Example

Call

What the assistant sends. Your MCP client adds the protocol envelope and headers itself.

tools/call
{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "delete_validation_batch",
        "arguments": {
            "batch_token": "demoBatch0000000000000000000001",
            "confirm": true
        }
    }
}

Result

The tool result carries this object as structuredContent and, for clients that read text, the same JSON as a text block.

structuredContent
{
    "data": {
        "confirmation_required": false,
        "deleted": true,
        "batch_token": "demoBatch0000000000000000000001",
        "name": "March-leads",
        "records": 1250,
        "message": "The batch \"March-leads\" was deleted."
    },
    "meta": {
        "request_id": "req_9f2c11ab22cd33ef44aa55bb66cc",
        "mode": "live",
        "credits_charged": 0,
        "credits_remaining": 4820
    }
}

In test mode

A test key answers as if the demo batch were deleted; nothing is changed.

Errors

invalid_requestAn argument is missing, has the wrong type or is out of range.
not_foundThe id or token does not exist in this account.
unprocessableThe request is valid but cannot be carried out: the item already exists, a plan limit is reached, or the item is in the wrong state.
forbiddenThe account may not do this yet, most often because its email address is not confirmed.

What the assistant is told

This is the description your assistant reads when it decides whether to use the tool:

Deletes a completed bulk validation from the account; its results can no longer be read or downloaded. Running batches cannot be deleted and spent credits are not returned. Without confirm=true nothing is deleted: you get a preview naming the batch. Call again with confirm=true only after the user has agreed. Free.

Documentation