Skip to main content
Glama

Set Email Protection

set_email_protection
Idempotent

Toggle WHOIS email protection for a domain by showing a contact form instead of the raw email address. Confirm with the user before disabling, since exposure increases spam and phishing risk.

Instructions

Toggle the contact form display for a domain's WHOIS listing. When enabled, a contact form is shown instead of the raw email address, helping protect against spam and email harvesting. WARNING: Disabling email protection exposes the registrant's email address in WHOIS, increasing spam and phishing risk. Always confirm with the user before disabling email protection.

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>",
      "contactForm": "<contactForm>"
    },
    "name": "set_email_protection"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain name
contactFormYesEnable (true) to show a contact form instead of email, or disable (false) to show the email directly

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

A3.6/5.0
Behavior3/5

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

Annotations already declare the operation is a non-read-only, idempotent mutation with destructiveHint=false, so the safety profile is partly covered. The description adds real value by disclosing the consequence of disabling (registrant email exposed, spam/phishing risk), but says nothing about permissions, whether the change propagates immediately, or how to verify the resulting state. A 3 reflects useful but partial disclosure beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences, front-loaded with the operation and capped by a capitalized warning, which is easy to scan. There is mild redundancy between the spam/harvesting benefit sentence and the spam/phishing risk warning, but nothing that should be cut wholesale.

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 two-parameter boolean toggle with no output schema, the definition covers the effect, the risk of the disabling path, and the confirmation requirement. It is only missing propagation timing and permission expectations, which are secondary for a reversible setting change.

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 100% and the contactForm description already explains that true shows a contact form and false shows the email, so the description largely restates what the schema documents. It adds no format, constraint, or side-effect detail for the domain parameter beyond what is already supplied.

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?

States a specific verb and resource: toggling the contact form display for a domain's WHOIS listing, with the mechanism (contact form instead of raw email) spelled out. It is clear what is being changed, but it never distinguishes itself from the neighboring 'set_' settings tools such as set_privacy_level, which could also affect what appears in WHOIS.

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?

Gives explicit caution for the risky direction of the toggle ('Always confirm with the user before disabling email protection'), which effectively marks the when-to-be-careful case. It offers no guidance on routing between this and related settings tools, so it stops short of full alternative coverage.

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