Skip to main content
Glama

grid402_asn

Retrieve BGP network intelligence for an IPv4 or IPv6 address to identify its ASN, allocated IP block, provider/organization, and country of origin.

Instructions

Consulta inteligência de rede BGP, identificando número de ASN, bloco IP alocado, provedor/organização e país de origem (0.0050 USDC / 1 crédito).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "grid402_asn"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipNoEndereço IPv4 ou IPv6 a inspecionar (ex: "1.1.1.1"). Se omitido, consulta o IP público do requisitante.
payment_tx_hashNoComprovante opcional de pagamento Multi-Chain USDC (Base, Polygon, Arbitrum ou Solana: 0x..., polygon:0x..., arbitrum:0x..., solana:<base58>, payload x402 base64 ou token pass_g402_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.0.0
    • changedInput schema / properties / payment_tx_hash / description
      Previous value: -"Hash opcional de transação na Base Mainnet com 0.0050 USDC."New value: +"Comprovante opcional de pagamento Multi-Chain USDC (Base, Polygon, Arbitrum ou Solana: 0x..., polygon:0x..., arbitrum:0x..., solana:<base58>, payload x402 base64 ou token pass_g402_...)."
  2. Changed1 schema field changedv1.7.1
    • changedInput schema / properties / payment_tx_hash / description
      Previous value: -"Hash opcional de transação na Base Mainnet com 0.0005 USDC."New value: +"Hash opcional de transação na Base Mainnet com 0.0050 USDC."
  3. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full load: it signals a read-only lookup ("Consulta") and uniquely discloses the cost model (0.0050 USDC / 1 crédito), which is useful behavioral context an agent cannot get elsewhere. It stops short of explaining the payment requirement, whether payment is enforced before results return, or rate/credit semantics tied to payment_tx_hash.

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?

A single front-loaded sentence covering verb, resource, return fields and price — dense but with no filler. Slightly overloaded by packing both output enumeration and pricing into one clause, which costs a little scannability.

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 2-parameter, zero-required lookup with no output schema, the description compensates by naming the result fields (ASN, IP block, provider, country). Combined with 100% schema coverage, an agent has enough to call it correctly; only the payment/credit mechanics remain under-described.

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%, so both `ip` (with default-to-requester behavior) and `payment_tx_hash` (multi-chain formats, optional proof) are already fully documented. The description adds no parameter-level meaning beyond listing output fields, so the baseline 3 applies.

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?

States a specific verb and resource ("Consulta inteligência de rede BGP") and enumerates what it returns: ASN, allocated IP block, provider/organization and country of origin. An agent can tell it apart from vague or generic tools, though it never names a sibling such as grid402_dns to sharpen the boundary.

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 implied by the listed output fields — you reach for it when you need ASN/provider/country attribution for an IP — but there is no explicit when-to-use, when-not, or alternative routing among the many grid402_* siblings. Nothing is misleading; guidance is simply left to inference.

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