Skip to main content
Glama
shodan-internetdb-ip-intel-mcp

shodan-internetdb-ip-intel-mcp

Resolve domain to IPv4 and audit InternetDB

resolve_and_audit_host
Read-onlyIdempotent

Resolve a hostname or domain to its public IPv4 addresses via Google DoH, then audit each IP against Shodan InternetDB for open ports, CVEs, and tags.

Instructions

Resolve a hostname or domain to its public IPv4 A records via Google DoH and audit each IP against Shodan InternetDB for open ports, CVEs, and tags.

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

Input Schema

NameRequiredDescriptionDefault
domainYesHostname or domain (e.g. "cloudflare.com").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new behavioral context: it depends on two external services (Google DoH and Shodan InternetDB), and it performs N downstream audits after resolution. It does not mention failure modes such as a hostname with no A records or IPv6-only hosts, nor any rate limits.

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?

One front-loaded sentence with the resolution step before the audit step, matching execution order. Every clause carries information; there is 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?

For a one-parameter tool with no output schema, the description names the returned data (open ports, CVEs, tags) and the two upstream sources, which is enough to call it correctly. The remaining gap is edge-case behavior when resolution yields zero records.

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% with a single well-documented parameter, so the baseline is 3. The description adds real meaning beyond the schema by constraining the result to public IPv4 A records, implying that URL forms, private addresses, and AAAA-only hosts are out of scope.

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 names a specific verb ("Resolve") and resource ("hostname or domain") and states the exact output (public IPv4 A records), then chains a second concrete action (audit each IP against Shodan InternetDB for open ports, CVEs, and tags). Because it is keyed on a domain rather than an IP, an agent can distinguish it from IP-oriented siblings like audit_ip_open_ports without opening either schema.

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?

The domain-in, IP-audit-out chain implies when this tool applies, but there is no explicit when-to-use or when-not-to-use guidance. Nothing tells the agent to prefer audit_ip_open_ports when it already holds an IP, or lookup_ip_intel when it wants richer intel than InternetDB offers.

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