Skip to main content
Glama

shodan_dns_resolve

Read-only

Resolve hostnames to IP addresses with comma-separated domain inputs. Perform forward DNS lookups for security analysis and network investigations.

Instructions

Resolve hostnames to IP addresses (forward DNS lookup).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostnamesYesComma-separated hostnames (e.g., 'google.com,facebook.com')
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds the 'forward DNS lookup' clarification, but it does not mention return format, rate limits, or other behavioral details. It is consistent with annotations and provides modest value beyond them.

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

Conciseness5/5

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

The description is a single, focused sentence that presents the verb and resource first. There is no redundant information, making it exceptionally concise and well-structured.

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, read-only DNS lookup tool, the description, schema, and annotations together provide sufficient context. The only minor gap is not specifying the output format, but no output schema is provided and the core behavior is clearly communicated.

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 already documents the only parameter with a concrete format and example. The description adds no additional parameter semantics. With schema description coverage at 100%, the baseline of 3 is appropriate.

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 clearly states the action ('Resolve'), the object ('hostnames'), and the output ('IP addresses'). The parenthetical '(forward DNS lookup)' explicitly distinguishes it from the reverse DNS sibling (shodan_dns_reverse), making the purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'forward DNS lookup' phrase implies when to use this tool (hostname→IP) versus a reverse lookup, but it does not explicitly name alternatives or state when not to use it. This is clear context without exclusions, meeting the criteria for a 4.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/schwarztim/sec-shodan-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server