Skip to main content
Glama

BlackVeil DNS & Email Security Scanner

check_subdomain_takeover

Read-onlyIdempotent

Sweep subdomains for dangling CNAMEs pointing at deprovisioned cloud services an attacker could claim (subdomain takeover); detects 16 provider families such as AWS S3/CloudFront, Azure, GCP Storage, Heroku, GitHub Pages, Vercel and Firebase. Use when asked if subdomains point to deprovisioned services. Pair with discover_subdomains to widen candidates (it returns a CT sample).

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_subdomain_takeover"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYese.g. example.com
formatNocompact: less text
subdomainsNoExplicit subdomains to sweep (FQDNs or short labels; max 1000). Default: a 15-name built-in list.
force_refreshNoSkip cache.

Output Schema

NameRequiredDescriptionDefault
scoreYes
passedYes
partialNo
categoryYes
findingsYes
checkStatusNo
verdictWithheldNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Domain, e.g. example.com"New value: +"e.g. example.com"
    • changedInput schema / properties / force_refresh / description
      Previous value: -"Bypass the cache."New value: +"Skip cache."
    • changedInput schema / properties / format / description
      Previous value: -"Output verbosity."New value: +"compact: less text"
  2. Changed4 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Domain to check (e.g., example.com)."New value: +"Domain, e.g. example.com"
    • changedInput schema / properties / force_refresh / description
      Previous value: -"Bypass cache and run a fresh check. Useful after DNS changes."New value: +"Bypass the cache."
    • changedInput schema / properties / format / description
      Previous value: -"Output verbosity. Auto-detected if omitted."New value: +"Output verbosity."
    • changedInput schema / properties / subdomains / description
      Previous value: -"Optional explicit subdomain list (full FQDNs or short labels). When provided (deduped, capped at 1000), this list is swept instead of the 15-name built-in. Source from Certificate-Transparency enumeration or brand-audit discovery."New value: +"Explicit subdomains to sweep (FQDNs or short labels; max 1000). Default: a 15-name built-in list."
  3. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  4. Changed1 schema field changed
    • addedOutput schema / properties / verdictWithheld
      Added value: +{
      +  "type": "boolean"
      +}
  5. Changed2 schema fields changed
    • addedOutput schema / properties / checkStatus
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / partial
      Added value: +{
      +  "type": "boolean"
      +}
  6. Changed1 schema field changed
    • addedInput schema / properties / force_refresh
      Added value: +{
      +  "description": "Bypass cache and run a fresh check. Useful after DNS changes.",
      +  "type": "boolean"
      +}
  7. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "category": {
      +      "type": "string"
      +    },
      +    "findings": {
      +      "items": {
      +        "additionalProperties": {},
      +        "properties": {},
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "passed": {
      +      "type": "boolean"
      +    },
      +    "score": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "category",
      +    "score",
      +    "passed",
      +    "findings"
      +  ],
      +  "type": "object"
      +}
  8. Changed2 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Domain to check (e.g., example.com)"New value: +"Domain to check (e.g., example.com)."
    • addedInput schema / properties / subdomains
      Added value: +{
      +  "description": "Optional explicit subdomain list (full FQDNs or short labels). When provided (deduped, capped at 1000), this list is swept instead of the 15-name built-in. Source from Certificate-Transparency enumeration or brand-audit discovery.",
      +  "items": {
      +    "maxLength": 253,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  "maxItems": 1000,
      +  "type": "array"
      +}
  9. Changed2 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Domain to check (e.g., example.com)."New value: +"Domain to check (e.g., example.com)"
    • removedInput schema / properties / subdomains
      Removed value: -{
      -  "description": "Optional explicit subdomain list (full FQDNs or short labels). When provided (deduped, capped at 1000), this list is swept instead of the 15-name built-in. Source from Certificate-Transparency enumeration or brand-audit discovery.",
      -  "items": {
      -    "maxLength": 253,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "maxItems": 1000,
      -  "type": "array"
      -}
  10. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false, idempotentHint=true, openWorldHint=true), so the bar is lower, and the description still adds real behavioral scope by enumerating the provider families it can detect and by disclosing that discover_subdomains supplies a CT-derived candidate sample. It does not mention scan cost or rate behavior when sweeping up to 1000 subdomains, and return shape is left to the output schema.

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?

Three tight sentences, front-loaded with what is swept and what is detected, followed by usage and pairing. The provider enumeration is long but functional; overall structure is efficient with little wasted wording.

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 rich annotations, a full output schema, and 100% schema coverage, the description only needs to convey detection scope, trigger, and cross-tool dependency, and it does all three. The only gap is that large-scale sweeps (up to 1000 subdomains) carry no performance or caching caveat beyond what the schema's force_refresh hints at.

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 every parameter (domain, format, subdomains, force_refresh) is already documented in the schema, including the 15-name default list and the 1000-item cap. The description adds no per-parameter meaning beyond that, so 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?

The description names a specific verb and target ("Sweep subdomains for dangling CNAMEs pointing at deprovisioned cloud services") and names the exact outcome being detected (subdomain takeover), then bounds the detection surface with "16 provider families such as AWS S3/CloudFront, Azure, GCP Storage, Heroku, GitHub Pages, Vercel and Firebase." An agent can distinguish this from discovery/scanning siblings without opening the 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?

It gives an explicit triggering question ("Use when asked if subdomains point to deprovisioned services") and a concrete companion action with rationale ("Pair with discover_subdomains to widen candidates (it returns a CT sample)"). What's missing is any exclusion or when-not guidance, so it stops short of full routing guidance.

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.