Skip to main content
Glama

Threat Report

threat_report
Read-onlyIdempotent

Investigate an IP address by gathering threat intelligence from Shodan, AbuseIPDB, ASN data, and open ports. Useful for SOC alert triage and IP reputation analysis.

Instructions

Query comprehensive threat profile for an IP: Shodan host data, AbuseIPDB reputation, ASN/geolocation, and open ports. Use for IP investigation and SOC alert triage; for domain data use domain_report. Note: nested asn block always returns at most 50 IPv4/IPv6 prefixes — call asn_lookup with include_full_prefixes=True for the full announced-prefixes list. enrichment.vulns is severity-aware list[VulnInfo] (cve_id + severity + cvss_v3) — Phase 2 v1.16.0 BREAKING; pre-1.16 it was list[str] of CVE IDs. Free: 30/hr (costs 6 tokens), Pro: 500/hr. Returns {ip, enrichment, abuseipdb, shodan, asn, threat_level}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ipYesPublic IPv4 or IPv6 address to investigate (e.g. '8.8.8.8', '1.1.1.1'). Private/reserved IPs are rejected.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Annotations already declare readOnlyHint=true, etc. The description adds significant behavioral context beyond annotations: rate limits (30/hr Free, 500/hr Pro), breaking change in enrichment.vulns (list of strings pre-1.16 vs list of VulnInfo objects), and the return shape. No contradiction with 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?

The description is concise and well-structured: first sentence states purpose and scope, following sentences add usage guidance, limitations, breaking changes, and rate limits. Every sentence adds value, and the information is front-loaded. No wasted words.

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?

Despite having an output schema (not shown but mentioned), the description still outlines the return shape ('Returns {ip, enrichment, abuseipdb, shodan, asn, threat_level}'). It covers all important aspects: what it does, when to use it, behavioral details, limitations, and rate limits. For a one-parameter tool with high schema coverage and annotations, this is complete.

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 schema already explains the ip parameter adequately (must be public IPv4/IPv6, private/reserved rejected). The tool description adds minimal extra meaning ('Use for IP investigation'), but does not provide new syntax or format details beyond what the schema already states. Baseline 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 it queries a comprehensive threat profile for an IP, listing specific data sources (Shodan, AbuseIPDB, ASN/geolocation, open ports). It also explicitly distinguishes from the sibling 'domain_report' by saying 'for domain data use domain_report'. This provides specific verb+resource and differentiates among siblings.

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

Usage Guidelines5/5

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

The description gives explicit usage context: 'Use for IP investigation and SOC alert triage' and directs to a sibling tool for domain data. It also notes limitations (ASN prefixes at most 50, breaking change in vulns format) and rate limits, helping the agent decide when to use this tool versus alternatives.

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/UPinar/contrastapi'

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