Skip to main content
Glama

Subdomain Discovery

subdomain_discovery
Read-onlyIdempotent

Discover subdomains from Certificate Transparency logs to map a domain's attack surface. Flags operational names and wildcard certs that often indicate forgotten assets, helping identify takeover risks.

Instructions

Enumerate the subdomains of a domain from Certificate Transparency logs — fully passive (no packets are sent to the target; CT logs are public records of every TLS certificate ever issued). Flags operational-looking names (dev, staging, admin, vpn, legacy) and wildcard certificates, because forgotten subdomains are a common takeover path. Use this as the first recon step to map a domain's attack surface. Use dns_lookup to check whether a discovered name still resolves, or lookalike_domains for typosquat variants of the domain name itself. Read-only; requires no API key; rate-limited. Returns the subdomain count, risky-name count, wildcard flag, and the hostname list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesRegistrable domain to enumerate (e.g., 'example.com'), without scheme or path. Subdomains found in CT logs for this domain are returned.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kpisNoKey metrics as label/value pairs
gradeNoLetter grade (A+ to F) when the tool grades the target
scoreNo0-100 score when the tool scores the target
issuesNoDetected problems, severity-rated
statusYesOverall verdict, e.g. 'good' | 'warning' | 'bad' | 'info' | 'unknown'
actionsNoRecommended next actions, most important first
summaryNoOne-paragraph interpretation of the result
reportUrlYesHuman-facing interactive report for this exact lookup on dechonet.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

A5/5.0
Behavior5/5

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

The description goes beyond the annotations by disclosing that it is 'fully passive (no packets are sent to the target)' and that CT logs are public records. It also explains the flagging behavior for operational-looking names and wildcard certificates, plus mentions rate-limiting and read-only nature. This richly informs the agent of the tool's runtime behavior.

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?

The description is moderately long but every sentence serves a purpose: it states the core action, explains the passive method, describes output flags, gives usage context, points to alternatives, and lists return values. It is well-structured and front-loaded with the primary purpose, so it remains concise despite the detail.

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?

For a recon tool with one parameter, the description is complete: it covers input format, method, output contents, relationship to sibling tools, safety characteristics, and rate-limiting. There is no missing context that an agent would need to decide to call or interpret the results of this tool.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description covers 100% of the parameters, and the description adds extra semantic detail: the domain must be a 'registrable domain' without scheme or path, with an example ('example.com'). It also clarifies that subdomains found in CT logs for that domain are returned, so the parameter meaning is fully clear.

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 clearly states a specific verb and resource: 'Enumerate the subdomains of a domain from Certificate Transparency logs.' It also distinguishes itself from sibling tools by mentioning the passive CT-log method and by referencing dns_lookup and lookalike_domains as complementary next steps.

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?

Explicit guidance is provided: 'Use this as the first recon step to map a domain's attack surface' and when to use alternatives: 'Use dns_lookup to check whether a discovered name still resolves, or lookalike_domains for typosquat variants.' This leaves no ambiguity about when to choose this tool.

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