Skip to main content
Glama

Shodan Internetdb Lookup Ip

shodan_internetdb_lookup_ip
Read-onlyIdempotent

Look up an IP address in the Shodan InternetDB. Returns open ports, hostnames, known vulnerabilities (CVEs), CPEs (software identifiers), and tags. Free, no API key needed. Example: lookup_ip("8.8.8.8").

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 address to look up (e.g., "8.8.8.8")

Output Schema

NameRequiredDescriptionDefault
ipYesThe IPv4 address that was looked up
cpesYesList of CPE software identifiers found on the IP address
tagsYesList of tags associated with the IP address
foundYesWhether the IP address was found in Shodan InternetDB
portsYesList of open ports found on the IP address
vulnsYesList of known CVE vulnerabilities for the IP address
hostnamesYesList of hostnames associated with the IP address

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/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 behavior, so the safety profile is covered. The description adds genuinely new context beyond them: it is free and requires no API key, and it summarizes what the remote query yields, which reduces uncertainty about an open-world network call.

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?

Three short sentences, front-loaded with the action and resource, followed by return fields and the free/no-key note. The trailing example call is redundant with the schema's examples block, but otherwise nothing is wasted.

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 single-parameter read-only lookup with an output schema, the description covers purpose, output shape, and cost/auth expectations, which is enough to call it correctly. Only the absence of failure behavior (invalid IPs, unknown addresses) keeps it from being fully complete.

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% with a single required "ip" string already documented as an IPv4 address with an example. The description's inline example lookup_ip("8.8.8.8") merely restates the schema examples, adding no new constraint, format, or edge-case guidance, so the baseline 3 applies.

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 and resource ("Look up an IP address in the Shodan InternetDB") and immediately enumerates the data returned (ports, hostnames, CVEs, CPEs, tags), so an agent can distinguish this passive IP-reconnaissance tool from unrelated siblings like entity_profile or company_facts.

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?

"Free, no API key needed" tells the agent it can call this without credentials or cost concerns, which is real selection context. However, it never states when to prefer this over other lookups or any exclusion (e.g., IPv6 unsupported, rate limits), so usage is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.