Skip to main content
Glama

Run Httpx

run_httpx

Probe HTTP hosts to collect status codes, titles, servers, technologies, and network details; filter responses, scan ports and paths, and save JSON or screenshots for reconnaissance.

Instructions

httpx is a fast and multi-purpose HTTP toolkit that allows running multiple probes. Tags: network, web, scanner, security, pentest, enumeration, reconnaissance

Usage Guide:

  • Basic Probing: Use target for a single host or list_file for multiple hosts.

  • Information Gathering: Enable status_code, title, and server for general reconnaissance, or tech_detect and content_length for deep analysis.

  • Filtering: Use match_code or filter_code to focus on specific HTTP responses. Use search_string to find keywords in page bodies.

  • Advanced Scans: Use ports and paths for non-standard discovery. Enable screenshot (requires chrome) for visual confirmation.

  • Infrastructure: Use cdn, ip, asn, and favicon to map out the target's network footprint and organizational assets.

  • Output: Use json and output_file for automation-ready results, or store_response to save full raw response bodies.

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

Input Schema

NameRequiredDescriptionDefault
ipNoDisplay target IP.
asnNoDisplay target ASN information.
cdnNoDetect if target is behind a CDN.
jarmNoFingerprint SSL/TLS with JARM.
jsonNoOutput results in JSON format.
pathsNoComma-separated list of paths to probe./admin,/api/v1
portsNoComma-separated list of ports to probe.80,443,8080,8443
titleNoDisplay page title.
serverNoDisplay server name.
targetNoSingle target URL/IP to probe (e.g., example.com).
faviconNoExtract and hash favicon (mmh3).
threadsNoNumber of concurrent threads (default 20).
tls_grabNoGrab TLS/SSL certificate information.
list_fileNoFile containing list of targets (default: subdomains.txt).subdomains.txt
include_rrNoInclude full request/response in JSON output.
match_codeNoComma-separated list of status codes to match.200,301,302
rate_limitNoMaximum requests per second (default 50).
screenshotNoCapture screenshots of targets (requires chrome).
filter_codeNoComma-separated list of status codes to filter out.404,400
output_fileNoFile to save output results.results.json
status_codeNoDisplay HTTP status code.
tech_detectNoDetect technologies using Wappalyzer.
response_dirNoDirectory to store raw responses.saved_responses
max_redirectsNoMaximum number of redirects to follow (default 5).
response_timeNoDisplay response time.
search_stringNoSearch for specific string in response body.admin
system_chromeNoUse local installed chrome for screenshots.
content_lengthNoDisplay response content length.
screenshot_dirNoDirectory to save screenshots.screenshots
store_responseNoStore raw HTTP responses.
follow_redirectsNoFollow HTTP redirects.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It usefully flags the 'requires chrome' dependency for screenshots and explains that output goes to json/output_file/store_response, but it never states that the tool writes files to disk (output_file defaults to results.json, plus screenshot_dir/response_dir), whether those files are overwritten, or that it is an active network scan against the target.

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?

Front-loads the one-line identity, then uses labeled bullets so an agent can jump straight to the relevant group. The 'Tags:' line is filler for an agent, and a few operational flags (threads, rate_limit, redirects) are omitted rather than the text being padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 31-parameter tool with zero annotations, the description covers the main scanning workflows well and an output schema handles return values. However, it leaves operational parameters unexplained (threads, rate_limit, max_redirects, follow_redirects, tls_grab, jarm, response_time) and skips side effects like file writes, which matters at this complexity.

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 coverage is 100%, so the baseline is 3. The description rises above that by bundling flags into goal-oriented combinations ('status_code, title, and server for general reconnaissance', 'match_code or filter_code to focus on specific responses'), which conveys how parameters interact rather than just what each one means.

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?

States a concrete verb and resource: an HTTP probing toolkit that runs multiple probes, named httpx, with tags scoping it to network/web reconnaissance. The purpose is unambiguous, but the text never differentiates from overlapping siblings such as run_whatweb (tech detection) or run_ffuf/run_gobuster (path probing), so an agent must infer the boundary.

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?

Gives clear when-to-use guidance organized by goal: 'Information Gathering' vs 'Filtering' vs 'Advanced Scans' vs 'Infrastructure', and names which flags to enable for each. It lacks any negative guidance or explicit routing to sibling scanners, so an agent knows how to use it but not when to prefer something else.

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