Skip to main content
Glama
dadepo

WHOIS MCP Server

by dadepo

afrinic_whois_query

Query the AfriNIC WHOIS database to retrieve complete object information in RPSL format for domains, IP addresses, or ASNs in the African region. Provides full administrative data and detailed records for network analysis.

Instructions

Perform raw WHOIS queries against the AfriNIC database to get complete object information in RPSL format. This tool is specifically for the AfriNIC RIR (African region). Use ONLY when you need full object details or administrative data from AfriNIC. DO NOT use for contact information - use afrinic_contact_card for abuse, NOC, admin, or tech contacts. This returns raw AfriNIC database records with all attributes for detailed analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesThe domain name, IP address, ASN, or other identifier to query via AfriNIC WHOIS. Examples: 'example.com', '196.216.2.0', 'AS37611', '2001:43f8::', 'AA1-AFRINIC'. Returns complete object details from the AfriNIC database.
flagsNoOptional WHOIS flags to modify the query behavior. Common AfriNIC flags: ['-r'] for raw output (no filtering), ['-B'] for brief output, ['-T', 'person'] to limit object types. Use empty list [] or null for default query.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the tool returns 'raw AfriNIC database records with all attributes for detailed analysis' and specifies the regional scope ('AfriNIC RIR (African region)'). It doesn't mention rate limits, authentication needs, or error behaviors, but provides substantial operational context beyond basic purpose.

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?

The description is efficiently structured with three sentences: purpose statement, usage guidelines, and behavioral clarification. Every sentence adds essential information - no wasted words. It's front-loaded with the core purpose and immediately follows with critical usage restrictions.

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

Completeness5/5

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

Given the tool has an output schema (so return values are documented elsewhere), 2 parameters with 100% schema coverage, and no annotations, the description provides excellent completeness. It covers purpose, specific usage context, sibling differentiation, regional scope, output format, and parameter context - everything needed for effective tool selection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds value by explaining the query parameter accepts 'domain name, IP address, ASN, or other identifier' and clarifies the flags parameter with 'Common AfriNIC flags' examples and usage guidance ('Use empty list [] or null for default query'). This provides practical context 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 clearly states the tool performs 'raw WHOIS queries against the AfriNIC database to get complete object information in RPSL format.' It specifies the exact resource (AfriNIC database), verb (perform queries), and output format (RPSL format). It distinguishes from sibling tools by explicitly mentioning 'afrinic_contact_card' for contact information.

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

Usage Guidelines5/5

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

The description provides explicit guidance: 'Use ONLY when you need full object details or administrative data from AfriNIC. DO NOT use for contact information - use afrinic_contact_card for abuse, NOC, admin, or tech contacts.' This clearly defines when to use this tool versus alternatives, including a specific sibling tool for different use cases.

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

Install Server

Other Tools

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/dadepo/whois-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server