# get_domain_profile

Get the full public profile of a single XRPL domain — owner, NFT token ID, metadata, avatar, fullname, description, social handles, linked chain addresses, and optionally the on-chain ownership history (pass include_history=true). Use when the user asks "show me X.xrp", "what does X.xrp link to?", "who owns X.xrp?", or "show me the history of X.xrp". Returns null fields gracefully if no profile is set.

Agent View of the PolicyLayer registry record for `get_domain_profile`. HTML page: https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/get-domain-profile

## Facts

- Tool: `get_domain_profile`
- 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: 2 (1 required)
- Recommended policy verdict: Allowed

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | string | yes | Domain to look up, e.g. "alice.xrp" |
| `include_history` | boolean | no | Include the on-chain ownership timeline (transfers, marketplace sales). |

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": "get_domain_profile",
    "arguments": {
      "domain": "<domain>"
    }
  }
}
```

## Why get_domain_profile is rated Low

Tool retrieves public profile data without modifying or executing operations; read-only information query.

From the tool's own definition: "Get the full public profile of a single XRPL domain — owner, NFT token ID, metadata, avatar, fullname, description, social handles, linked chain addresses, and optionally the on-chain ownership history."

## Use case

AI agents call get_domain_profile 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": {
    "get_domain_profile": {}
  }
}
```

## Other tools on XRPName (9)

- `check_domains` — Read — https://policylayer.com/tools/io-github-xrpdomains-xrpname-mcp-server/check-domains.md
- `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_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
