Skip to main content
Glama

Domain reputation check

domainReputation
Read-onlyIdempotent

Assess how risky a domain is, live: a verdict (safe, low_risk, suspicious, malicious or unknown) with its confidence and severity, a trust score with the positive and negative signals behind it, DGA (algorithmically generated name) analysis, matches in threat-intelligence feeds, email security (SPF, DKIM, DMARC and mail servers), and a recommended action. Its DKIM check probes only a few selectors and can report DKIM missing when a key exists, for example a Microsoft 365 key published through a CNAME; to confirm DKIM, look up ._domainkey. with dnsLookup. Use this to triage a suspicious domain from an email, a log or a domainDiscovery result before deciding whether to block it. For the domain's owner use liveWhoisLookup, for its certificate sslLookup, and for an IP address ipSecurity. Costs 5 credits. An unknown or unregistered domain still returns an assessment; lookups that failed are listed under errors and only leave out their signals. Behavior: read-only. Makes one request to the WhoisFreaks API for your WhoisFreaks account (identified by the WHOISFREAKS_API_KEY environment variable or, on the hosted server, by the API key sent with the request or the account connected with OAuth) and uses that account's API credits; nothing is created or changed. If the call fails, the result is a short message instead of data, for example: the API key was refused (invalid, or plan or credits used up) with what to do next, domain extension not supported (HTTP 403), no data found (HTTP 404), or rate limit reached (HTTP 429).

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": {
      "domainName": "<domainName>"
    },
    "name": "domainReputation"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainNameYesDomain to assess. Example: example.com (a URL also works)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish readOnly/idempotent/non-destructive/openWorld, and the description adds substantial context beyond them: 5-credit cost, one WhoisFreaks API call billed to the caller's account, credential source (env var vs hosted key/OAuth), and enumerated failure modes with HTTP codes (403 unsupported extension, 404 no data, 429 rate limit). It also discloses a real false-negative risk (DKIM probes limited selectors, can miss CNAME-published M365 keys) and confirms unknown/unregistered domains still return an assessment with failures surfaced under `errors`.

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-loaded with the outcome set, then caveats, then triage guidance, then cost and behavior — a sensible order with no filler sentences. It is long, and the parenthetical about API key env var vs hosted OAuth could be tightened, but every clause carries information an agent needs.

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

Completeness5/5

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

There is no output schema, yet the description fully enumerates the return surface (verdict, confidence, severity, trust score and signals, DGA, feed matches, SPF/DKIM/DMARC, recommended action) plus partial-failure semantics via `errors`. For a single-parameter, read-only, paid external call, nothing material is left for the agent to discover by trial.

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?

Only one parameter and schema description coverage is 100%, so the schema already carries the semantics including the "URL also works" flexibility. The description adds no additional parameter-level detail beyond what the schema states, so it neither compensates nor detracts — baseline 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?

The opening clause names a specific verb and resource ("Assess how risky a domain is, live") and enumerates the exact outputs — verdict scale (safe/low_risk/suspicious/malicious/unknown), trust score with signals, DGA analysis, feed matches, email authentication, recommended action. It is unmistakably distinct from siblings like liveWhoisLookup or sslLookup.

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

Usage Guidelines5/5

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

It states the triggering scenario ("triage a suspicious domain from an email, a log or a domainDiscovery result before deciding whether to block it") and explicitly routes adjacent needs elsewhere: owner → liveWhoisLookup, certificate → sslLookup, IP address → ipSecurity. The DKIM caveat even names the alternative tool and the exact query pattern to confirm a key.

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