Skip to main content
Glama
duksh

PeerGlass

by duksh

rir_detect_transfers

Read-onlyIdempotent

Detect historical ownership transfers and cross-registry movements for IP prefixes or ASNs by analyzing consecutive WHOIS record changes.

Instructions

Detect past ownership or cross-RIR transfers for an IP prefix or ASN.

An ownership transfer happens when a registered org (e.g. 'GOOGL-ARIN') changes to another org ('META-1-ARIN') in the registration record. A cross-RIR transfer is rarer — it means the resource physically moved between registries (e.g. from ARIN to RIPE NCC after an acquisition).

Transfer types detected: 🏢 Org Change — The registering organization changed 🌍→🌎 Cross-RIR — The resource moved to a different RIR 🔄 Intra-RIR — Maintainer changed within the same RIR

How it works: compares consecutive historical WHOIS object versions. If 'org' or 'mnt-by' changed between versions, a transfer is flagged. If RIR-specific suffixes in the handles differ, it's cross-RIR.

Results are cached for 12 hours.

Args: params (TransferDetectInput): - resource (str): IP prefix (e.g. '8.8.8.0/24') or ASN (e.g. 'AS15169') - response_format (str): 'markdown' (default) or 'json'

Returns: str: List of detected transfers with dates, types, from/to org, and evidence. JSON schema: { "resource": str, "resource_type": str, "transfers_detected": int, "transfers": [{"transfer_date": str, "transfer_type": str, "from_org": str, "to_org": str, "from_rir": str, "to_rir": str, "evidence": str}], "current_holder": str, "first_registered": str, "sources": [str], "notes": [str] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description adds substantial value beyond the annotations by explaining the detection methodology (comparing consecutive WHOIS object versions), specific heuristics (checking 'org' or 'mnt-by' fields, RIR suffix differences), and operational constraints (12-hour cache). It clarifies the 'openWorld' nature by explaining it queries historical data across different RIRs.

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?

While well-structured with clear sections (intro, transfer types, methodology, args, returns), the description is verbose. The inclusion of a full JSON schema in the Returns section is redundant given the context signal indicates an output schema exists, and the emoji-style list, while clear, adds length. The core information is front-loaded.

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

Completeness5/5

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

For a complex analytical tool involving WHOIS parsing, historical comparison, and cross-RIR logic, the description is comprehensive. It covers detection algorithms, data sources (WHOIS), caching behavior, return structure with field explanations, and the distinction between different transfer types, providing sufficient context for invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With schema description coverage at 0%, the description compensates effectively via the Args section, documenting the nested 'resource' parameter (with syntactic examples like '8.8.8.0/24' and 'AS15169') and 'response_format' options. It adds semantic meaning by explaining that the resource is what gets scanned for transfers.

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 opens with a precise action (Detect) and scope (past ownership or cross-RIR transfers for an IP prefix or ASN). It distinguishes from generic history tools by specifying it identifies organizational changes and cross-RIR moves, not merely retrieving registration records.

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 provides clear contextual guidance by defining what constitutes an ownership transfer vs. a cross-RIR transfer and listing the specific detection types (Org Change, Cross-RIR, Intra-RIR). However, it lacks explicit sibling comparisons or when-not-to-use guidance (e.g., it doesn't state to use rir_prefix_history for simple historical lookups without transfer analysis).

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/duksh/peerglass'

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