Skip to main content
Glama

SiteCheck Web Intel

Maps an IPv4 address to its origin AS number, the BGP

security_cymru_asn_lookup
Read-only

Maps an IPv4 address to its origin AS number, the BGP prefix that covers it, the country, the registry and the allocation date, using Team Cymru's public IP-to-ASN DNS service. Returns no origin when Cymru has no mapping for the address. 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": {
      "ip": "<ip>"
    },
    "name": "security_cymru_asn_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipYesIPv4 address such as 8.8.8.8 (required)

Output Schema

NameRequiredDescriptionDefault
ipNo
asnNo
mappedNo
prefixNo
sourceNo
countryNo
registryNo
allocatedNo
checkedAtNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description adds materially important behavior: it is billed at $0.002 per successful call via x402 in USDC, failed calls are free, and it returns no origin when Cymru has no mapping. These are non-obvious operational facts an agent must weigh before calling. It stops short of 5 because it does not address rate limits, latency, or what constitutes a 'failed' call versus an empty mapping.

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?

Three sentences, front-loaded with the core mapping behavior, followed by the empty-result caveat and then pricing. No filler, and the cost disclosure earns its space because it gates invocation.

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?

For a single-required-param read-only lookup with an output schema (so return-value explanation is optional), the definition covers purpose, data source, edge case, and cost. The gap is that it never states whether non-IPv4 input is rejected or how payment authorization failure manifests, which matters for a paid endpoint.

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?

With one parameter at 100% schema description coverage, the schema already carries the semantics and the baseline is 3. The description adds only that the lookup is IPv4-scoped, which is already implied by the schema's 'IPv4 address such as 8.8.8.8', so no extra meaning is introduced.

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 gives a precise verb and resource plus the exact fields returned (origin ASN, covering BGP prefix, country, registry, allocation date) and names the underlying data source, Team Cymru. It does not distinguish itself from siblings like security_bgp_prefix_origin or security_ip_geolocation_asn, which share a similar surface, so it stops short of a 5.

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

Usage Guidelines2/5

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

The text explains what the tool does but never says when to reach for it versus the closely-named BGP or geolocation siblings, and offers no prerequisites or exclusions. Only an implicit signal exists: it maps IPs to ASNs, so an agent must infer fitness from the sibling names alone.

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