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

shodan-internetdb-ip-intel-mcp

Audit open ports and exposed services

audit_ip_open_ports
Read-onlyIdempotent

Audit a public IPv4 address by retrieving open ports from Shodan InternetDB, mapping them to common services, and flagging high-risk exposures such as RDP, SMB, Redis, and databases.

Instructions

Retrieve open ports from Shodan InternetDB for an IPv4 address, map them to common network services, and highlight high-risk exposures like RDP, SMB, Redis, or databases.

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": {
      "ip": "<ip>"
    },
    "name": "audit_ip_open_ports"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesPublic IPv4 address to audit open ports.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/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 useful provenance by naming Shodan InternetDB as the external source and stating that results are enriched/flagged, but it says nothing about latency, rate limits, or what happens for non-public or unresolvable IPs.

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?

One front-loaded sentence with the core action first and the enrichment/highlighting detail after. It is efficient, though the trailing list of example services adds length without much decision value.

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, no-output-schema tool with rich annotations, this is nearly complete: the source, the processing, and the nature of the returned highlights are all conveyed. The main omission is expected latency or failure behavior for unreachable/invalid addresses.

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

Parameters3/5

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

Schema coverage is 100% and the single 'ip' parameter is fully documented as a public IPv4 address. The description restates that constraint ('for an IPv4 address') without adding format or validation detail beyond the schema, so baseline 3 applies.

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 specific verb and resource ('Retrieve open ports... for an IPv4 address') plus the data source (Shodan InternetDB) and the analysis performed (service mapping, high-risk flagging). This meaningfully separates it from vague siblings like lookup_ip_intel, though overlap with check_ip_vulnerabilities remains unaddressed.

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: the agent can infer this audits a single public IPv4's exposed services. There is no explicit when-to-use, no when-not-to-use, and no named alternative such as batch_lookup_ips for multiple addresses or check_ip_vulnerabilities for CVE-focused work.

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