validate_email
Validate an email address. Check one address: syntax, domain, MX and a live SMTP probe.
Action 1 credit per address with a final result scope: validation
What it does
The quickest way to answer "is this address real?". SendBridge checks the syntax, looks up the domain and its mail servers, then talks to the receiving server over SMTP and asks whether it would accept mail for that mailbox. The conversation stops before any message is sent, so the owner of the address never notices.
A deliverable result means the server confirmed the mailbox. Undeliverable means it will bounce. Risky means the domain accepts everything (catch-all), so the mailbox cannot be confirmed. Unknown means the server did not give a final answer this time; try again later.
When to use it
- One address, or a handful, needs an answer now.
- A sign-up or a lead looks mistyped.
- Not for lists: use start_bulk_validation, which runs in the background.
Try asking
- Is jane.doe@example.com a real mailbox?
- Check these three addresses before I email them: ...
- This lead gave info@acme.test. Will mail to it bounce?
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
email | string | required | The email address to check, for example jane@example.com. |
Result
Fields of data. Every result also has a meta object with mode, credits_charged, credits_remaining and request_id.
| Name | Type | Description |
|---|---|---|
result | string | deliverable = safe to send; undeliverable = will bounce, remove it; risky = catch-all domain, the mailbox cannot be confirmed; unknown = no final answer (greylisting, timeout, temporary error). One of: deliverable, undeliverable, risky, unknown. |
reason | string | Why the address got this result. One of: mailbox_exists, invalid_syntax, invalid_domain, mailbox_not_found, catch_all, greylisted, temporary_failure, smtp_unreachable, unknown. |
score | integer | Confidence that mail will be delivered, 0 to 99. |
email | string | The address that was checked, lower-cased. |
syntax | object | |
syntax.valid | boolean | |
domain | object | |
domain.mx_found | boolean | The domain has a mail server. |
domain.mx_server | string | null | |
domain.free_provider | boolean | Free mailbox provider such as gmail.com. |
domain.catch_all | boolean | The domain accepts mail for any address. |
smtp | object | |
smtp.checked | boolean | |
smtp.code | integer | null | SMTP reply code to RCPT TO, for example 250 or 550. |
smtp.accepts_mail | boolean |
Example
Call
What the assistant sends. Your MCP client adds the protocol envelope and headers itself.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "validate_email",
"arguments": {
"email": "jane.doe@example.com"
}
}
}Result
The tool result carries this object as structuredContent and, for clients that read text, the same JSON as a text block.
{
"data": {
"email": "jane.doe@example.com",
"syntax": {
"valid": true
},
"domain": {
"mx_found": true,
"mx_server": "mx.example.com",
"free_provider": false,
"catch_all": false
},
"smtp": {
"checked": true,
"code": 250,
"accepts_mail": true
},
"result": "deliverable",
"reason": "mailbox_exists",
"score": 99
},
"meta": {
"request_id": "req_9f2c11ab22cd33ef44aa55bb66cc",
"mode": "live",
"credits_charged": 1,
"credits_remaining": 4820
}
}In test mode
With a test key the result is decided by the local part of the address, so you can try every outcome for free: "bounce@..." is undeliverable, "catchall@..." risky, "grey@..." greylisted, "timeout@..." unreachable, "temp@..." a temporary failure, "invalid@..." bad syntax, "badtld@..." a bad domain. Anything else is deliverable.
Good to know
- The same address checked again within one minute is not charged twice.
- Greylisted addresses come back as unknown. Check again after a few minutes; the retry is what the receiving server expects.
Errors
invalid_request | An argument is missing, has the wrong type or is out of range. |
not_enough_credits | The balance does not cover the action. |
rate_limited | Too many tool calls in a minute, or a daily fair-use limit was reached. |
forbidden | The 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:
Checks whether one email address can receive mail. Runs syntax, domain and MX checks and a live SMTP conversation with the receiving server (no email is sent), and returns a verdict: deliverable, undeliverable, risky (catch-all domain) or unknown, with a reason and a 0-99 score. Takes a few seconds. Costs 1 credit, charged only when a final result is returned; "unknown" caused by greylisting or a technical error is free. For more than about ten addresses use start_bulk_validation instead.