Skip to main content
Glama

Subdomain Takeover Check

dns_takeover_check
Read-only

Check a host name for subdomain takeover through a dangling CNAME. takeover_possible is null when the CNAME points to a service whose DNS does not show whether the name can be claimed.

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

Input Schema

NameRequiredDescriptionDefault
domainYesHost name, such as shop.example.com

Output Schema

NameRequiredDescriptionDefault
chainYesIt lists every target of the CNAME chain in order, cname first. The check judges the last name. [] without a CNAME.
cnameYesIt is the target of the host name's first CNAME. null when the host name has none.
creditsYes
summaryYes
danglingYestrue when the host name has a CNAME and the last name of chain does not exist.
hostnameYes
providerYesThe service whose name suffix ends the last name of chain. null when the check knows no such suffix.
target_existsYesWhether the last name of chain exists. null without a CNAME.
takeover_possibleYesfalse without a CNAME. With a provider, true when dangling is true and false otherwise. null when the host name has a CNAME and provider is null, even when the last name exists. DNS alone cannot tell then.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so safety and external-network behavior are covered. The description does add real value by explaining the tri-state result, specifically why takeover_possible can be null rather than false, which prevents an agent from misreading a null as a negative finding. It stops short of mentioning network cost, timeouts, or how it differs from running a raw lookup.

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, no waste, and the core purpose is front-loaded ahead of the null-value caveat. The second sentence earns its place because it disambiguates a result state an agent would otherwise misinterpret.

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?

Low-complexity single-parameter tool with a full input schema and an output schema, so return structure needn't be described. The null semantics clarification covers the trickiest interpretation case. Missing only operational context such as resolution prerequisites or whether a CNAME is followed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 fully at 100% coverage with an example format, so the schema carries the load and the baseline applies. The description reinforces that the input is a host name rather than a domain apex, which is the main ambiguity risk for this param, but adds little else.

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?

Names a specific verb (check), a specific resource (a host name), and the exact failure mode it detects (subdomain takeover via a dangling CNAME). An agent can tell this apart from a generic dns_lookup, though the description never names that sibling explicitly.

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 by the tool's purpose: you would call it when assessing takeover risk for a host. There is no statement of when to prefer dns_lookup or subdomain_enum first, no prerequisite about the name needing to resolve, and no exclusions.

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.