Skip to main content
Glama

Email blacklist check

check_blacklists
Read-onlyIdempotent

Check whether a domain's sending IPs, or a single IPv4 address, are listed on the major email blacklists (Spamhaus, Barracuda, SpamCop and others). Returns each IP with its result on every list (clean, listed or unknown), totals, and the removal page for each listing.

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": {
      "target": "<target>"
    },
    "name": "check_blacklists"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesA domain (example.com) or a public IPv4 address (203.0.113.7). For a domain, its mail server and SPF IPs are checked.

Output Schema

NameRequiredDescriptionDefault
ipsYesEach IP checked with its results. Empty when a domain has no sending IPs of its own (e.g. it sends through Google Workspace).
kindYesWhether the target was an IP address or a domain.
noteYesContext for reading the result, such as why a domain has no IPs to check. Null when there is none.
listedYesHow many list checks came back listed.
targetYesThe domain or IPv4 address that was checked, normalised.
checkedYesHow many list checks were made.
toolUrlYesThe same check as a free web tool on pipefire.ai.
unknownYesHow many lists could not be queried.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedOutput schema / properties / ips / description
      Added value: +"Each IP checked with its results. Empty when a domain has no sending IPs of its own (e.g. it sends through Google Workspace)."
    • addedOutput schema / properties / ips / items / properties / ip / description
      Added value: +"A sending IP address that was looked up."
    • addedOutput schema / properties / ips / items / properties / lists / description
      Added value: +"One entry per blacklist queried for this IP."
    • addedOutput schema / properties / ips / items / properties / lists / items / properties / name / description
      Added value: +"The blacklist, e.g. Spamhaus ZEN."
    • addedOutput schema / properties / ips / items / properties / lists / items / properties / state / description
      Added value: +"clean = not listed, listed = on the list, unknown = the list did not answer."
    • addedOutput schema / properties / kind / description
      Added value: +"Whether the target was an IP address or a domain."
    • addedOutput schema / properties / note / description
      Added value: +"Context for reading the result, such as why a domain has no IPs to check. Null when there is none."
    • addedOutput schema / properties / target / description
      Added value: +"The domain or IPv4 address that was checked, normalised."
  2. Changed2 schema fields changed
    • changedInput schema / properties / target / description
      Previous value: -"A domain (example.com) or a public IPv4 address."New value: +"A domain (example.com) or a public IPv4 address (203.0.113.7). For a domain, its mail server and SPF IPs are checked."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "checked": {
      +      "description": "How many list checks were made.",
      +      "type": "integer"
      +    },
      +    "ips": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "ip": {
      +            "type": "string"
      +          },
      +          "lists": {
      +            "items": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "name": {
      +                  "type": "string"
      +                },
      +                "removal": {
      +                  "description": "Delisting page.",
      +                  "type": "string"
      +                },
      +                "state": {
      +                  "enum": [
      +                    "clean",
      +                    "listed",
      +                    "unknown"
      +                  ],
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "name",
      +                "state",
      +                "removal"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "source": {
      +            "description": "Where the IP came from, e.g. the MX or SPF record.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "ip",
      +          "source",
      +          "lists"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "kind": {
      +      "enum": [
      +        "ip",
      +        "domain"
      +      ],
      +      "type": "string"
      +    },
      +    "listed": {
      +      "description": "How many list checks came back listed.",
      +      "type": "integer"
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "target": {
      +      "type": "string"
      +    },
      +    "toolUrl": {
      +      "description": "The same check as a free web tool on pipefire.ai.",
      +      "type": "string"
      +    },
      +    "unknown": {
      +      "description": "How many lists could not be queried.",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "target",
      +    "kind",
      +    "listed",
      +    "checked",
      +    "unknown",
      +    "ips",
      +    "note",
      +    "toolUrl"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's job is to add context — and it does, disclosing the result vocabulary (clean, listed or unknown), that every IP is reported against every list, and that removal pages are included. It stops short of noting external-query latency, rate limits, or what happens when a domain has no resolvable IPs.

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?

Two sentences, zero filler: the first covers scope and inputs, the second covers outputs. The parenthetical list of blacklist vendors earns its place by making coverage concrete, and nothing is buried or repeated.

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?

With an output schema present and full annotation coverage, the description is close to complete — it explains input modes, result semantics, and aggregate output. The only real gap is operational context for an openWorld tool: expected latency or failure behavior when a domain cannot be resolved.

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 coverage is 100% and the single `target` parameter already documents both the domain and public-IPv4 forms plus the fact that a domain expands to its mail server and SPF IPs. The description restates the same distinction ('domain's sending IPs, or a single IPv4 address') without adding format, validation, or edge-case detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Check whether a domain's sending IPs, or a single IPv4 address, are listed on the major email blacklists') and names concrete lists (Spamhaus, Barracuda, SpamCop). It is immediately distinguishable from sibling tools like check_spf or check_dmarc, though it never explicitly contrasts itself with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the tool is clearly for deliverability/blacklist auditing, and the mention of 'sending IPs' hints at the pre-send context. There is no explicit when-to-use guidance, no prerequisite (e.g. domain must have resolvable MX/SPF), and no named alternative for adjacent checks.

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.