Skip to main content
Glama

Check a domain

check_domain
Read-onlyIdempotent

Run a passive security check on one public domain to get a score, grade and findings for TLS, security headers, SPF, DMARC, MTA-STS, CAA and security.txt, with severity and fix hints.

Instructions

Run the passive security check against one public domain (TLS certificate and protocol, security headers, SPF, DMARC, MTA-STS, TLS-RPT, CAA, security.txt). Returns score, grade and findings with severity, plain-English explanation and fix hint. Passive only; refuses IP addresses, localhost and internal names. Takes up to about 30 seconds.

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": {
      "domain": "<domain>"
    },
    "name": "check_domain"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesPublic domain name, for example "example.com". A URL is accepted and reduced to its host.

Output Schema

NameRequiredDescriptionDefault
mxNoThe domain has MX records.
webNoThe domain has a reachable web address.
hostYesHost name that was contacted (the domain or its www name).
toolYes
errorYes
gradeYesA is 90 and up, B 75, C 60, D 40, otherwise E. null unless status is complete.
scopeYesWhat the check looked at and what it never does.
scoreYesWeighted score, null unless status is complete.
domainYesNormalized domain that was checked.
statusYescomplete: findings are present. blocked: target resolves only to non-public addresses and was refused. nxdomain: the domain does not exist. error: the check could not finish.
passiveYesAlways true. The check never scans ports, logs in or sends payloads.
summaryYes
findingsYesSorted by severity, most severe first.
checkedAtYesISO 8601 timestamp (UTC) of the check.
durationMsYes
deeperScansYes
redirectsToNoPresent when the start page redirects to a different host; header checks are then skipped.
schemaVersionYesFormat version, major.minor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/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, open-world), so the description correctly spends its words on traits annotations cannot express: the ~30 second runtime and the hard refusal of IPs/internal names. The score/grade/findings return summary is partly redundant with the output schema, which keeps this from a 5.

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?

Three tight sentences: what it does and returns, then the input constraints, then the latency caveat. Front-loaded, zero filler, and the exclusion rules are stated as positive assertions rather than hedged prose.

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?

With a full output schema, rich annotations and 100% schema coverage, the remaining gaps an agent cares about are runtime and input validity — both stated. Nothing needed to call this correctly is missing.

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 `domain` parameter already documents that a URL is accepted and reduced to its host, so the baseline is 3. The description adds the constraint that the domain must be public, which meaningfully narrows valid input, but adds nothing about the parameter itself.

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 and resource ("Run the passive security check against one public domain") and enumerates exactly what is inspected (TLS, headers, SPF, DMARC, MTA-STS, TLS-RPT, CAA, security.txt) plus what comes back (score, grade, findings). That is enough for an agent to distinguish it from explain_finding and list_checks without opening any 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?

Gives clear applicability and, importantly, explicit exclusions: passive only, and it refuses IP addresses, localhost and internal names. It does not name a sibling alternative for the excluded cases, so it falls short of the 5 bar, but a caller knows exactly which inputs are in scope.

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

Deploy Server

Other Tools