Skip to main content
Glama

shodan_internetdb

Query an IP address against Shodan intelligence to retrieve open ports, hostnames, CPEs, tags, and known CVEs for rapid threat assessment without an API key.

Instructions

Query Shodan's InternetDB for quick intelligence on an IP address. Returns known open ports, hostnames, CPEs (software versions), tags, and known vulnerabilities (CVEs). Free, no API key required. Use this for rapid threat assessment of an IP.

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

Input Schema

NameRequiredDescriptionDefault
ipYesIP address to query

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the behavioral burden and does a good job: it discloses that the service is free, requires no API key, and returns specific categories of host intelligence. It does not mention rate limits, data freshness, or coverage limitations, but the core read-only behavior and access requirements are transparent.

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?

The description is short and front-loaded with the core query purpose. It includes returns, access constraints, and a usage hint without unnecessary filler, though 'quick intelligence' and 'rapid threat assessment' are slightly redundant.

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 simple one-parameter query with no output schema, the description is largely complete: it lists the returned data fields and notes that no API key is needed. It does not describe response structure or edge cases like missing data, but the essential information for correct invocation is present.

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?

The input schema has 100% description coverage for the single 'ip' parameter, so the schema already explains that it is the IP address to query. The description adds no syntax, formatting, or validation detail beyond what the schema provides, making the baseline score appropriate.

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 description states a specific verb and resource: query Shodan's InternetDB for an IP address. It clearly says what the tool returns (ports, hostnames, CPEs, tags, CVEs), but it does not explicitly distinguish itself from overlapping siblings such as port_scan or full_recon.

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?

It gives a usage context: 'Use this for rapid threat assessment of an IP.' That implies when the tool is appropriate, but it does not say when to avoid it or which sibling tool to use for deeper scans or broader reconnaissance.

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