Skip to main content
Glama

List neighbouring IPs

securitytrails_ip_neighbors
Read-onlyIdempotent

Find adjacent IP blocks for an IPv4 address to uncover sibling infrastructure, with site counts and sample hostnames per block.

Instructions

List IP blocks adjacent to the given IPv4 address, with the number of sites and sample hostnames seen on each. Useful for finding sibling infrastructure in the same allocation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesIPv4 address, e.g. 8.8.8.8
response_formatNo"markdown" for a compact human-readable summary, "json" for the full raw API payloadmarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and non-destructive behavior. The description adds useful behavioral context by explaining that output includes adjacent IP blocks, site counts, and sample hostnames, and it is fully consistent with the read-only annotations.

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?

Two concise sentences with no filler: the first states the action and output, the second provides the use case. Information is front-loaded and every sentence earns its place.

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 two-parameter tool with no output schema, the description covers the essential purpose, output components, and use case. It does not detail the exact JSON response shape, but the schema covers parameters and the description gives enough for an agent to call it correctly.

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%: both 'ip' and 'response_format' are already described in the input schema. The tool description provides no additional parameter-specific details, so the baseline of 3 is 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 action and resource: 'List IP blocks adjacent to the given IPv4 address' and names the output ('number of sites and sample hostnames'). It is clearly distinct from sibling IP tools like ip_whois or ip_useragents, though it does not explicitly name an alternative.

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 description gives a clear use case: 'Useful for finding sibling infrastructure in the same allocation.' This tells an agent when to use the tool, but it does not contrast it with alternatives such as search_ips or associated, so it stops short of full when/when-not guidance.

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