Skip to main content
Glama
duksh

PeerGlass

by duksh

rir_cache_stats

Read-onlyIdempotent

Monitor in-memory TTL cache performance to prevent repeated RIR queries, respect rate limits, and reduce lookup latency by tracking entry counts and configured TTLs.

Instructions

View the current state of the in-memory TTL cache.

The cache prevents repeated queries to RIRs within short windows, respecting rate limits and reducing latency for repeated lookups.

Returns: str: JSON with cache entry counts (total, alive, expired) and the configured TTL for each query type. Schema: { "cache_stats": {"total_entries": int, "alive": int, "expired": int}, "ttl_seconds": {"ip": int, "asn": int, "org": int, "abuse": int, "bgp": int, "rpki": int} }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

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