Skip to main content
Glama

SiteCheck Web Intel

For an IPv4 prefix: the origin AS seen announcing it now

security_bgp_prefix_origin
Read-only

For an IPv4 prefix (e.g. 8.8.8.0/24): the origin AS seen announcing it now across RIPE RIS peers, its RPKI status for that origin (valid, invalid or unknown), route objects, visibility, and how many more-specific and less-specific prefixes are seen. An 'invalid' RPKI status is a hijack warning sign; it is not proof of a hijack. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "prefix": "<prefix>"
    },
    "name": "security_bgp_prefix_origin"
  }
}

Input Schema

NameRequiredDescriptionDefault
prefixYesIPv4 prefix in CIDR form, e.g. 8.8.8.0/24 (required)

Output Schema

NameRequiredDescriptionDefault
prefixNo
sourceNo
checkedAtNo
rpkiAlertNo
lastSeenAtNo
rpkiStatusNo
routeObjectsNo
currentOriginNo
lessSpecificsNo
moreSpecificsNo
totalRisPeersNo
firstSeenOriginNo
visibleOnRisPeersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, the description discloses the underlying data source (RIPE RIS peers), interprets the RPKI result categories, and flags that 'invalid' is a warning sign rather than proof of hijack. It also states the commercial behavior precisely: $0.002 per successful call via x402 (USDC on Base, Solana and 10 more networks) with failed calls not charged — material context an agent cannot get from annotations.

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?

Purpose and data source are front-loaded, followed by the interpretive caveat and payment terms; no sentence is filler. The parenthetical network list in the pricing sentence is the only mildly verbose element.

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

Completeness4/5

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

With an output schema present, the description need not explain return values, yet it summarizes them enough to support tool selection. Payment mechanics, data source, and the RPKI interpretation caveat cover the remaining behavioral risk for a single-parameter read-only lookup; only explicit alternative routing is missing.

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% for the single 'prefix' parameter, and the schema already supplies the CIDR format and the 8.8.8.0/24 example. The description repeats that example and reinforces IPv4-only scope, which is mildly useful but adds no syntax or parsing details beyond the schema.

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 names a specific resource (an IPv4 prefix) and enumerates exactly what is returned about it: origin AS as seen across RIPE RIS peers, RPKI status, route objects, visibility, and more-/less-specific counts. The RIPE RIS attribution and prefix-centric framing separate it from sibling ASN-lookup tools such as security_cymru_asn_lookup or security_ip_geolocation_asn.

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 is only implied: the RPKI/hijack interpretation sentence signals this is for prefix-origin and hijack-triage work, but there is no explicit when-to-use or when-not guidance and no named alternative for related questions (e.g. peers or ASN details). The tool is easy to place, but the agent must infer the routing itself.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources