Skip to content

Comments

feat(radar): add more tools#276

Merged
andre-j3sus merged 2 commits intomainfrom
ajesus/radar
Jan 8, 2026
Merged

feat(radar): add more tools#276
andre-j3sus merged 2 commits intomainfrom
ajesus/radar

Conversation

@andre-j3sus
Copy link
Collaborator

Summary

This PR adds new tools, updates existing tools to use the direct API instead of SDK (for better dimension support), and adds missing dimensions to HTTP, DNS, and AI tools.

New Tools (4)

  • list_tlds - List top-level domains (TLDs) including generic, country-code, and sponsored TLDs
  • get_tld_details - Get detailed information about a specific TLD
  • get_domains_ranking_timeseries - Track domain rankings over time
  • get_speed_histogram - Get speed test histogram data for bandwidth, latency, or jitter distribution

Updated Tools (3) - Switched from SDK to Direct API

These tools now use fetchRadarApi instead of the SDK to support all available dimensions:

  • get_http_data - Now supports new unified endpoint dimensions:

    • summary/adm1, summary/bot_class, summary/browser, summary/browser_family, summary/device_type, summary/http_protocol, summary/http_version, summary/ip_version, summary/os, summary/post_quantum, summary/tls_version
    • timeseriesGroups/adm1, timeseriesGroups/bot_class, timeseriesGroups/browser, timeseriesGroups/browser_family, timeseriesGroups/device_type, timeseriesGroups/http_protocol, timeseriesGroups/http_version, timeseriesGroups/ip_version, timeseriesGroups/os, timeseriesGroups/post_quantum, timeseriesGroups/tls_version
  • get_dns_queries_data - Now supports additional dimensions:

    • summary/dnssec_e2e, summary/tld, summary/tld_dns_magnitude
    • timeseriesGroups/dnssec, timeseriesGroups/dnssec_e2e, timeseriesGroups/tld
  • get_ai_data - Now supports additional dimensions:

    • bots/timeseries
    • bots/summary/crawl_purpose, bots/summary/industry, bots/summary/vertical
    • bots/timeseries_groups/crawl_purpose, bots/timeseries_groups/industry, bots/timeseries_groups/vertical

…pdate HTTP/DNS/AI to use direct API

- Add list_tlds and get_tld_details tools for TLD information
- Add get_domains_ranking_timeseries to track domain rankings over time
- Add get_speed_histogram for speed test distribution data
- Update get_http_data to use fetchRadarApi with new unified dimensions (adm1, bot_class, browser, browser_family, device_type, http_protocol, http_version, ip_version, os, post_quantum, tls_version)
- Update get_dns_queries_data to use fetchRadarApi with new dimensions (dnssec_e2e, tld, tld_dns_magnitude)
- Update get_ai_data to use fetchRadarApi with new dimensions (crawl_purpose, industry, vertical)
- Add radar.cloudflare.com link to README
- Update README with new tools and prompt examples
@andre-j3sus andre-j3sus self-assigned this Jan 8, 2026
…n names)

- Change timeseriesGroups to timeseries_groups in HTTP, DNS, CT dimensions
- Change camelCase dimension names to snake_case (e.g., caOwner -> ca_owner)
- Simplify HTTP and CT tools to pass dimension directly to API path
- API is case-insensitive so snake_case works correctly
@devandrepascoa
Copy link

lgtm

@andre-j3sus andre-j3sus merged commit e06c778 into main Jan 8, 2026
6 checks passed
@andre-j3sus andre-j3sus deleted the ajesus/radar branch January 8, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants