Skip to main content
Glama
Security Intelligence MCP Server

Security Intelligence MCP Server

by df4u1t

shodan_query

Retrieve Shodan host details by IP or search for hosts matching a query to support threat intelligence and exposure analysis.

Instructions

Query Shodan for host information by IP or search for hosts matching a query

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": {
      "action": "<action>",
      "value": "<value>"
    },
    "name": "shodan_query"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYesIP address (for host_info) or search query (for search)
actionYes"host_info" for IP lookup, "search" for keyword search

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it discloses nothing beyond the bare operation: no API-key/credential requirement, no rate limits or query-credit costs, no indication of result volume or pagination, and no statement that this is a read-only external lookup. Only 'Query' weakly implies a non-mutating 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?

A single front-loaded sentence with no filler, and the two operating modes are presented in parallel structure. It is efficient, though it is arguably under-sized for a tool with no annotations or output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with full schema coverage and no output schema, the definition covers the mechanics of calling it, but omits any expectation of what comes back (host record vs. list of matches), result limits, and authentication needs. Adequate but with clear gaps given zero annotation support.

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 description coverage is 100% and the enum already documents host_info vs. search, so the description's mapping of 'value' to IP-vs-query adds nothing the schema does not already state. Baseline 3 is appropriate since the schema does the heavy lifting.

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 (Query) and resource (Shodan host information) and names the two modes of operation, IP lookup vs. keyword search. It does not distinguish itself from siblings such as vt_lookup or otx_query, so an agent must infer the service boundary, but the tool's own function is unambiguous.

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 description implies which action to pick by pairing each mode with its input type, but offers no explicit when-to-use guidance, no exclusions, and no mention of when a different sibling lookup tool would be preferable. Usage is inferable rather than stated.

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