Skip to main content
Glama

Set WHOIS Privacy Level

set_privacy_level
Idempotent

Sets a domain's WHOIS privacy to high to hide personal contact details or public to make them visible, requiring explicit consent before any change.

Instructions

Set the WHOIS privacy level for a domain. "high" enables full privacy protection, hiding your personal information from public WHOIS lookups. "public" makes your contact details visible in WHOIS results. WARNING: Setting privacy to "public" exposes personal contact information (name, address, email, phone) in public WHOIS databases, which cannot be un-cached once indexed by third parties. Always confirm with the user before setting privacy to public.

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>",
      "level": "<level>",
      "userConsent": "<userConsent>"
    },
    "name": "set_privacy_level"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYes"high" for full WHOIS privacy, "public" to make contact info visible
domainYesThe domain name
userConsentYesExplicit user consent for the privacy change (required by the API). Must be true to proceed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.4.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observedv0.3.0

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare non-read-only, idempotent, non-destructive behavior, and the description adds genuinely new context beyond them: that public exposure cannot be un-cached once indexed by third parties, plus a consent requirement. This is the key risk information an agent needs, though it doesn't cover permissions or error behavior.

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 purpose and level semantics come first, then the warning is front-loaded with 'WARNING:' so it can't be missed. Every sentence carries operational value; the caching caveat is slightly long but justifies its length by explaining irreversibility.

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?

For a three-parameter mutation with no output schema, the description covers purpose, value semantics, consent, and the main risk. It does not state what happens on failure or what the tool returns, but with annotations carrying the safety profile and full schema coverage, this is close to complete.

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, but the description goes further by explaining the real-world consequence of each level value rather than just restating the enum. It leaves domain and userConsent semantics to the schema, which already documents them adequately.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource, 'Set the WHOIS privacy level for a domain,' and defines both enum values so an agent knows exactly what changes. It is distinguishable from siblings like set_email_protection by naming WHOIS explicitly, though it never references alternatives directly.

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 gives clear condition-based guidance for choosing between 'high' and 'public' and states an explicit procedural rule: 'Always confirm with the user before setting privacy to public.' It does not address when to use this tool versus other privacy-related siblings, but the level-selection guidance is concrete.

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