Skip to main content
Glama

SiteCheck Web Intel

Lists the TCP ports Shodan has seen open on an IPv4

security_open_port_scanner
Read-only

Lists the TCP ports Shodan has seen open on an IPv4 address, from its pre-collected passive scan data (not a live scan: nothing connects to the address now). The record can be days old, and an address with no record returns known=false, which does not prove the ports are closed. Related tools on this server, for a different need: security_open_resolver_check when you need reports whether Shodan's pre-collected passive scan data. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 address such as 1.1.1.1 (required)

Output Schema

NameRequiredDescriptionDefault
ipNo
knownNo
sourceNo
checkedAtNo
openPortsNo
portCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only and open-world, but the description goes further by disclosing that nothing connects to the target, that records may be days stale, that known=false is not evidence of closed ports, and that billing is $0.002 per successful call with failures free. That last point is genuinely useful operational context an agent would otherwise have to discover. Only the exact shape of the known=false response is left to the output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core statement is front-loaded and tight, and the staleness caveat earns its place. The sibling sentence is broken mid-thought and reads as an editing artifact, which wastes space and actively confuses rather than helping.

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?

An output schema exists, so the description need not enumerate return fields, and it correctly uses that budget for the stale-data and known=false caveats that an agent would otherwise misread. Pricing is covered too. The only real hole is the unusable pointer to the alternative tool.

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?

With a single parameter at 100% schema coverage, the schema already supplies the name, type, format example, and required flag. The description adds no meaning beyond that — it never says whether hostnames or CIDR ranges are rejected, or how the address is normalized. 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 opening clause names a specific verb and resource ('Lists the TCP ports Shodan has seen open on an IPv4 address') and immediately narrows scope to pre-collected passive data rather than a live scan. An agent can distinguish this from a port-scanning tool and from the sibling lookup tools on the server.

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?

Useful context is given implicitly: this is passive data, not a live probe, so it belongs in recon/enrichment flows rather than active verification. However, the explicit alternative sentence is malformed ('security_open_resolver_check when you need reports whether Shodan's pre-collected passive scan data'), so it conveys no actual when-to-use rule and never names the trade-off that would send an agent elsewhere.

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.

Resources