Skip to main content
Glama

Run Amass

run_amass

Enumerates DNS and maps network assets to discover attack surface, supporting passive or active subdomain recon, ASN/CIDR mapping, and scan comparison.

Instructions

Amass is an in-depth DNS enumeration and network mapping tool for attack surface discovery. Tags: reconnaissance, dns, enumeration, subdomains, osint, pentest, security

Usage Guide:

  • Passive Discovery (mode="enum", passive=True): Performs reconnaissance gathering data from public sources (search engines, cert logs) without direct target interaction. Best for avoiding detection.

  • Active Enumeration (mode="enum", active=True, brute=True): Thorough search using DNS queries, certificate pulling, and brute-forcing. More intrusive and detectable.

  • Configuration (config): Use a specific config file for API keys (Censys, Shodan, etc.) to expand results.

  • Infrastructure (asn, cidr): Identify assets via ASN numbers or specific CIDR blocks to find "shadow IT".

  • Tracking (mode="track"): Compares current enumeration with previous runs to highlight new or removed assets.

  • Analysis (mode="subs"): Provides a summarized view/statistics of discovered subdomains and IP distribution.

  • Visualization (mode="viz"): Generates D3.js interactive graph visualizations of infrastructure relationships.

  • History (mode="enum", list_history=True): Lists all previous enumeration sessions from the local database.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "run_amass"
  }
}

Input Schema

NameRequiredDescriptionDefault
asnNo
cidrNo192.168.1.0/24
modeNoenum
bruteNo
activeNo
configNo~/.config/amass/config.yaml
domainNo
passiveNo
sourcesNocrtsh,hackertarget
output_fileNoresults.txt
list_historyNoIf True, lists previous enumeration sessions (enum mode only).

Output Schema

NameRequiredDescriptionDefault
resultYes

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?

No annotations are supplied, so the description carries the full behavioral burden, and it does disclose real traits: active brute-forcing is intrusive and detectable, config files supply third-party API keys (Censys, Shodan), track mode reads from a local database, and history lists prior sessions. It stops short of covering rate limits, whether results are persisted to output_file, or what the return payload looks like, which is a meaningful gap for a no-annotation tool.

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?

Purpose and the operationally important passive-vs-active distinction are front-loaded, then the remaining modes are delivered as short scannable bullets with a consistent 'capability (parameters): effect' pattern. The only near-waste is the 'Tags:' line, which adds little for an agent that already has the description and sibling list.

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?

For an 11-parameter tool with no annotations, the definition gives enough to choose a mode and a detection posture confidently, and the output schema handles return-value explanation. What is missing is guidance on domain (the obvious primary target selector), sources, and output_file, plus any note on defaults that could silently affect a run.

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?

Schema description coverage is only 9% (just list_history), so the description must compensate for 11 parameters, and it does explain the semantics of mode values, passive/active/brute flags, config, asn, cidr, and list_history. It leaves domain, sources, and output_file entirely unexplained, and it never mentions the surprising cidr default of 192.168.1.0/24 or the sources default, so coverage is strong but incomplete.

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?

The first sentence names a specific tool and its function: 'in-depth DNS enumeration and network mapping tool for attack surface discovery.' The Usage Guide then enumerates the concrete capabilities (passive recon, active brute-force, ASN/CIDR mapping, tracking, viz). It does not differentiate itself from close siblings such as run_subfinder or run_theharvester, which is the only thing keeping it from a 5.

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?

Each bullet pairs a mode with the situation that selects it: passive=True for 'avoiding detection,' active+brute for a 'more intrusive and detectable' thorough search, mode='track' to compare against previous runs, mode='subs' for statistics. The detection tradeoff between passive and active is stated explicitly rather than left to inference.

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