Skip to main content
Glama

subdomain_takeover_check

Read-only

Check a domain's subdomains (enumerated from Certificate Transparency) for dangling-CNAME takeover risk: a CNAME that delegates to a third-party service (GitHub Pages, S3, Heroku, Azure, Netlify, …) which no longer claims the name. Status is 'vulnerable' (the service's unclaimed-page fingerprint was seen), 'dangling' (CNAME to the service but the name no longer resolves), or 'potential' (still resolves, unconfirmed). DNS-first; an HTTP GET runs only for CNAME matches, to confirm the fingerprint.

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": "subdomain_takeover_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesDomain, e.g. example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnly and openWorld, but the description goes further by disclosing the execution model: DNS-first resolution with an HTTP GET issued only on CNAME matches, and the three possible verdicts with what each means. It does not state rate limits, expected runtime, or subdomain-count limits, keeping it short of 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core purpose and then adds the verdict taxonomy and method in one dense passage; nearly every clause carries information. Slight cost in readability from nested parentheticals and the ellipsis in the service list, but no filler.

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 no output schema, the description compensates well by defining the three status values an agent will receive and the methodology behind them. Missing details on empty-result behavior, enumeration limits, and timing are minor for a single-parameter read-only check.

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 the schema already documents it at 100% coverage with an example. The description adds that the argument is the parent domain whose subdomains are enumerated via CT, which clarifies scope beyond the schema, but adds nothing about format normalization or wildcard handling.

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 states a specific verb (check), a specific resource (subdomains enumerated from Certificate Transparency), and a specific threat model (dangling-CNAME takeover). It cleanly distinguishes itself from generic DNS siblings like dns_lookup or zone_transfer_check by naming the exact risk class and delegation targets.

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 implied by phrasing the tool as a takeover-risk check with defined verdicts, but there is no explicit when-to-use guidance, no prerequisites, and no named alternative tools for related questions (e.g., plain resolution vs. zone transfer). An agent can infer the context but is not routed to or away from this tool.

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