Skip to main content
Glama

osint_ip_analyze

Validate and classify IPv4/IPv6 addresses, optionally enrich them with reverse DNS PTR and RDAP/WHOIS data, and emit Maltego graph/XML entities for OSINT analysis.

Instructions

Validate and classify an IPv4/IPv6 address (RFC1918, loopback, link-local, CGNAT, multicast, public), optionally perform reverse DNS PTR and RDAP/WHOIS enrichment, and emit Maltego graph/XML outputs.

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

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 or IPv6 address to analyze
rdap_urlNoOptional custom RDAP endpoint URL (useful for local/mock RDAP)
nameserverNoOptional custom DNS nameserver for reverse_dns
output_mtgxNoOptional .mtgx archive path within workspaceDir to create or merge discovered entities/links into.
reverse_dnsNoPerform reverse DNS PTR lookup (default: false)
include_whoisNoPerform RDAP/WHOIS query for AS/Netblock/Organization/Location (requires allowExternalTransforms=true unless rdap_url is local)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description carries the whole burden and does disclose the enrichment steps are optional/opt-in and that the tool emits Maltego graph/XML, including merging into a workspace .mtgx archive. It does not say that reverse DNS and RDAP/WHOIS generate outbound network traffic visible to third parties, nor discuss rate limits, failure modes for unresolvable addresses, or whether the operation is otherwise side-effect free. Meaningful but incomplete disclosure for a no-annotation tool.

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?

It is a single dense sentence that front-loads the core action and pushes optional behavior later, with no filler wording. It is long enough that splitting into classification vs. enrichment vs. output sentences would aid scanning, which keeps it off a 5.

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?

There is no output schema, so the description is the only place an agent could learn what comes back; it names Maltego graph/XML emission but never describes the primary return value (classification result, AS/Netblock fields). For a six-parameter tool that performs external lookups with no annotations, this leaves an important gap despite strong coverage of what the tool does.

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 all six parameters carry their own descriptions including the allowExternalTransforms caveat, so the schema does the heavy lifting. The description adds only the classification taxonomy and the general notion of enrichment, without explaining parameter interactions (e.g. nameserver only affects reverse_dns, mtgx path is relative to workspaceDir). Baseline 3 applies.

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 names a specific verb pair (validate and classify) plus resource (IPv4/IPv6 address) and enumerates the exact classification categories (RFC1918, loopback, link-local, CGNAT, multicast, public), so the tool's job is unmistakable. It also states the optional enrichments (reverse DNS PTR, RDAP/WHOIS) and Maltego output emission. No sibling tool is named or explicitly contrasted, so it stops short of full differentiation.

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?

Usage context is implied by 'validate and classify ... optionally perform ... enrichment', which tells an agent when the tool is relevant but never states when to prefer it over alternatives such as osint_domain_to_dns or osint_website_and_tls. A consequential precondition (allowExternalTransforms=true for WHOIS unless a local rdap_url is used) exists only in the parameter schema, not the description. No exclusions or when-not-to-use guidance is offered.

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