Skip to main content
Glama

Ballast - Cold Email

Import leads in chunks

import_leads
Destructive

Import leads in chunks. Send up to 5,000 rows per call. The first call creates the import and returns its id; pass importId with every next chunk and final: true with the last. Addresses are deduped, suppressed ones skipped, invalid ones counted. ESP detection and verification run in the background after the final chunk. Asks for confirmation: the first call returns a preview and a confirm_token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listNoList to add every imported lead to: an existing id or a new name
rowsYes
finalNoLast chunk: starts ESP detection and verification
verifyNoVerify the new addresses with the verifier API after import
existingNoLeads already in the workspace: leave them as they are, or fill in the new valuesskip
fileNameNo
importIdNoLeave out on the first call; pass the id it returns with every next chunk.
clientInvalidNo
confirm_tokenNoLeave out on the first call: it returns a preview of exactly what will happen and a confirm_token. Show the preview to the user, and only after they agree call again with the same arguments plus that token.
clientDuplicatesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the destructiveHint/openWorldHint annotations: it discloses dedup, suppression skipping, invalid counting, background ESP detection and verification, and — importantly — the two-step confirmation returning a preview and confirm_token. This tells the agent the exact state machine and side effects of a destructive operation.

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?

Front-loads the core purpose then layers the protocol efficiently in five sentences. Dense but nearly every sentence earns its place; no significant padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive 10-parameter batch import with no output schema, the description covers the full lifecycle including the confirmation gate and background processing. Minor gaps remain around error recovery or how previews are structured, but it is complete enough to invoke correctly.

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?

With 60% schema coverage, the description meaningfully augments the coordination parameters: importId, final, and confirm_token are all given workflow semantics that the schema alone doesn't fully convey. It doesn't cover every parameter, but the critical ones are explained well beyond schema text.

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 (import) and resource (leads) along with the chunked batch protocol, which clearly separates it from siblings like add_leads_to_campaign. An agent can identify the operation without opening the schema.

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?

Explains when the chunking protocol applies (first call creates the import, subsequent calls pass importId, last passes final: true) and the confirmation flow. It doesn't name an alternative tool or explicit when-not-to-use condition, so it stays at 4.

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