Skip to main content
Glama

Turn WHOIS privacy on or off

set_whois_privacy
DestructiveIdempotent

Turn WHOIS privacy (ID protection) on or off for a domain registered at GlobalHostia, where the extension supports it. Turning it off can publish the registrant's name, email and address in WHOIS, so turning off needs confirm: true after the customer approves.

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": {
      "domain": "<domain>",
      "enabled": "<enabled>"
    },
    "name": "set_whois_privacy"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesA domain on your account, e.g. mybrand.com
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
enabledYes

Output Schema

NameRequiredDescriptionDefault
domainNo
whois_privacyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the concrete consequence the hints cannot convey: disabling publishes the registrant's name, email and address in WHOIS. It also surfaces the confirm gate as a safety behavior. Auth/permission requirements are still unstated.

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?

Two sentences, front-loaded with the action and scope, then the risk and the guardrail. No filler or repetition of the title.

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?

An output schema exists, so return values need no explanation, and the destructive consequence plus the confirm requirement are covered. What's missing is edge-case behavior: what happens when the extension is unsupported, or whether privacy carries a cost — meaningful for a destructive toggle.

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 coverage is 67%: the schema documents 'domain' and 'confirm' in detail, while 'enabled' has no description at all. The description implicitly explains what enabled means (privacy on vs off) and reinforces the confirm semantics, but it does not add syntax or edge-case meaning 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 opens with a specific verb+resource ('Turn WHOIS privacy (ID protection) on or off') and narrows scope to domains registered at GlobalHostia where the extension supports it. That is enough to distinguish it from neighboring setter tools such as set_registrar_lock or set_domain_autorenew without opening a schema.

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

Usage Guidelines4/5

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

It states the precondition that the TLD must support privacy and the approval workflow required before disabling ('needs confirm: true after the customer approves'). It does not name an alternative tool or say when privacy should be left alone, so it stops short of explicit when-not guidance.

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.