# check_domains

Check 1 to 25 XRPL domains for registration status and cost. Use for questions like "is <name>.xrp taken?", "how much does <name>.xrp cost?", "who owns <name>.xrp?", or to verify availability before registering. Accepts .xrp, .xrpl, .xrpfi, .rlusd TLDs (defaults to .xrp when omitted). Returns availability, price in XRP and RLUSD, owner address, profile metadata if registered, and a web URL for the user to register if available. Also returns invalid_domains for inputs that fail validation.

Agent View of the PolicyLayer registry record for `check_domains`. HTML page: https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/check-domains

## Facts

- Tool: `check_domains`
- Server: XRPName (`@xrpname/xrpname-mcp`) — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server.md
- Install: `npx -y @xrpname/xrpname-mcp`
- Homepage: https://github.com/XRPDomains/xrpname-mcp-server
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server auth posture: open
- Server rate-limited: no
- Parameters: 1 (1 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `domains` | array | yes | List of domains to check. Each may include or omit the TLD; defaults to .xrp. |

Parameters from the server's own tool schema.

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "check_domains",
    "arguments": {
      "domains": []
    }
  }
}
```

## Why check_domains is rated Low

Tool retrieves domain registration status and pricing data without modifying state or executing operations.

From the tool's own definition: "Check availability, price, owner address, profile metadata; read-only queries."

## Use case

AI agents call check_domains to retrieve information from XRPName without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches XRPName:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "check_domains": {}
  }
}
```

## Other tools on XRPName (9)

- `check_order_status` — Read — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/check-order-status.md
- `check_tx_status` — Read — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/check-tx-status.md
- `get_domain_profile` — Read — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/get-domain-profile.md
- `get_pending_offers` — Read — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/get-pending-offers.md
- `get_portfolio` — Read — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/get-portfolio.md
- `recommend_domain` — Read — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/recommend-domain.md
- `register_domain` — Write — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/register-domain.md
- `resolve_address` — Write — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/resolve-address.md
- `set_primary_domain` — Write — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/set-primary-domain.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=io-github-xrpdomains-xrpname-mcp-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-xrpdomains-xrpname-mcp-server
