Skip to main content
Glama
ZeroBounce MCP Open Source

ZeroBounce MCP Open Source

Official

Validate an SFTP file

validate_sftpfile

Validate a bulk email list stored on your connected SFTP/FTP server, with optional header row and duplicate removal, and get results via a callback URL when the job finishes.

Instructions

Start a bulk validation of a file already in the SFTP/FTP storage connected to the ZeroBounce account. When to use: When the user's list is in their SFTP/FTP storage rather than uploaded here. Parameters: fileName — the file's name in that storage; returnUrl — HTTPS URL notified when the job finishes (required by the API); hasHeaderRow (optional) — whether the first row is a header; removeDuplicates (optional). WRITE: Changes ZeroBounce account data (uploads, deletes, filters, tests, batch validation, warmup settings). Confirm with the user before calling. CREDITS: Each successful call spends ZeroBounce account credits. Confirm with the user before calling unless they explicitly asked for validation, enrichment, or activity data.

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": {
      "fileName": "<fileName>",
      "returnUrl": "<returnUrl>"
    },
    "name": "validate_sftpfile"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNameYesPath of the file on your configured SFTP/FTP server
returnUrlYesHTTPS callback URL notified when the job completes. Required: the API refuses a job without one. Only use trusted URLs you control; an attacker-controlled URL can receive bulk results.
hasHeaderRowNoWhether the first row is a header row. Defaults to false.
removeDuplicatesNoWhether to drop duplicate rows before processing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), the description adds two material behaviors: it mutates ZeroBounce account data and each successful call spends credits, both requiring user confirmation. That is real value the annotations do not convey. It does not say the job is asynchronous beyond the returnUrl mention, nor how to track completion afterwards.

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?

The description is front-loaded: purpose first, then when-to-use, then parameters, then safety and credit warnings. It is somewhat padded by the generic WRITE block enumerating unrelated operations (deletes, filters, tests, warmup settings) that do not apply to this call, which costs it a point.

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

Completeness3/5

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

There is no output schema, and the description never says what a successful call returns (e.g., a job/file identifier) or how to check status later via sibling file_status tools, despite the job being asynchronous. For a write-plus-async tool this leaves a meaningful gap, though the credit and confirmation guidance covers the main risk.

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 description coverage is 100%, so the schema already explains all four parameters, including that returnUrl is mandatory and a security consideration. The description only restates them at a high level and adds no format, path-syntax, or defaulting detail beyond the schema; 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?

"Start a bulk validation of a file already in the SFTP/FTP storage connected to the ZeroBounce account" gives a concrete verb (start a validation), the resource (a file in SFTP/FTP storage), and the scope (bulk, stored-file rather than upload). This distinguishes it from the uploaded-file and S3 variants implied by siblings such as validate and send_file.

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?

The "When to use" line explicitly states the selecting condition: the user's list lives in SFTP/FTP storage rather than being uploaded here, which implicitly routes the agent away from upload-based validation. It stops short of naming a specific alternative tool or covering what to do when the file is not yet in storage.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.