Skip to main content
Glama

Set WHOIS privacy

domain_set_whois_privacy
Idempotent

Hide or show the owner's name, email and address in the public WHOIS and RDAP output of a domain; when hidden, a privacy contact is published instead. Ownership, DNS and transfers are not affected (transfers: domain_set_transfer_lock). Where the registry does not allow it (whoisPrivacyAvailable: false), the call fails. Check the current state with domain_get.

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": {
      "id": "<id>",
      "enabled": "<enabled>"
    },
    "name": "domain_set_whois_privacy"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe domain ID
enabledYestrue hides the owner's contact data, false publishes it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior3/5

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

The description adds real behavioral context beyond the annotations: what exactly gets masked, that a privacy contact replaces it, that ownership/DNS/transfers are unaffected, and that the call fails where the registry disallows it. These details exceed what the annotations (readOnly=false, idempotent=true, destructive=false) provide.

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 tightly packed sentences, front-loaded with the action and effect, followed by scope exclusions and failure conditions. No filler.

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?

Covers the mutation's scope, side effects, prerequisites (registry availability) and how to verify current state. For a 2-parameter mutation with high schema coverage and no output schema, nothing material is missing.

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 schema already documents both id and enabled, and the description confirms the enabled semantics (true hides, false publishes). It adds failure-mode context rather than new parameter detail, which is reasonable but not compensating for any gap.

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?

States a specific verb pair and resource: hide or show the owner's name, email and address in public WHOIS and RDAP output, with the fallback behavior (privacy contact published). This clearly distinguishes it from the sibling domain_set_transfer_lock and dns_* tools.

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?

Explicitly routes related concerns elsewhere ('transfers: domain_set_transfer_lock'), tells the agent to check the current state with domain_get first, and names the condition under which the call fails (whoisPrivacyAvailable: false). When-to-use and when-not-to-use are both covered.

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.