Skip to main content
Glama
Official Porkbun MCP Server

Official Porkbun MCP Server

Update Contacts

update_contacts
Destructive

Edit a domain's registrant, admin, tech, and billing contacts—individually or all at once—with optional dry-run validation.

Instructions

Edit a domain's contacts. Provide contacts keyed by role with ANY subset of registrant/admin/tech/billing (unspecified roles keep their current values), or a single contact applied to all four. Mirrors the website: pushes to the registry on thick TLDs, and a registrant change (name/organization/email) fires the same new-owner notice/verification email — no 60-day transfer lock. Supports dry_run. Note: a registrant name/organization change on a .au domain, or any registrant change on an address-validation TLD (.de/.nrw), is rejected with REGISTRANT_CHANGE_NOT_SUPPORTED — do those at porkbun.com; admin/tech/billing edits still work.

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

Input Schema

NameRequiredDescriptionDefault
domainYesDomain to edit, e.g. `example.com`
contactNoA single contact applied to all four roles. Use this OR `contacts`, not both.
dry_runNoIf true, validate only — returns wouldSucceed without applying the change.
contactsNoPer-role contacts; include only the roles you want to change.
address_validation_choiceNoFor a registrant change on an address-validated TLD (.de/.nrw/.uk/.us/.ca/.nyc/.au/.eu/.in/.nz families) after an ADDRESS_VALIDATION_REQUIRED response: 'accept_suggestion' saves the standardized suggestedAddress returned there; 'use_as_entered' keeps the submitted address (rejected if a real correction was offered).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.39.4

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructive=true, readOnly=false, openWorld=true and idempotent=false; the description adds substantial context beyond that: registry-side push on thick TLDs, a new-owner notice/verification email triggered by registrant name/organization/email changes, the absence of a 60-day transfer lock, and specific rejection codes per TLD. Slight gap in not saying what a successful non-dry-run response contains, but the behavioral picture is unusually rich.

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?

Front-loaded with the core action and the two input modes, then escalates to registry side-effects and TLD caveats. Dense but every clause carries operational information; the long TLD enumerations make the final sentence heavier than ideal, though nothing is wasted.

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 destructive, nested-object mutation with no output schema, the description covers input modes, side effects, dry-run validation, and per-TLD failure modes with remediation. It could go further on what happens to existing contacts not supplied and on post-change response/verification state, but nothing critical to calling it correctly 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 a baseline of 3 applies, but the description earns more by adding semantics the schema does not convey: that `contacts` may carry ANY subset of roles and unspecified roles retain current values, and that `contact` is an alternative applied to all four roles. The dry_run behavior and TLD-dependent rejection are also explained at the parameter level.

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 and resource ('Edit a domain's contacts') and immediately scopes it to the contact roles that can be changed, which distinguishes it cleanly from the read-only get_contacts sibling. An agent knows exactly what this tool mutates without opening the schema.

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?

Explains both invocation modes (partial `contacts` keyed by role vs. a single `contact` applied to all four), when roles are preserved, when to use `dry_run`, and explicitly names when NOT to use it (.au registrant name/organization changes and any registrant change on .de/.nrw) plus the alternative (do it at porkbun.com). That is explicit when/when-not/alternative guidance.

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

Deploy Server

Other Tools