Skip to main content
Glama

Update domain contact

update_domain_contact
Destructive

Update an existing domain contact's email, phone, address, and organization details to keep domain registration records accurate and current.

Instructions

Update an existing domain contact. Requires domains:manage when using an API key.

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>",
      "kind": "<kind>",
      "email": "<email>",
      "country_code": "<country_code>"
    },
    "name": "update_domain_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesDomain contact ID
cityNoCity
kindYesContact kind
emailYesContact email
phoneNoPhone number, preferably E.164
stateNoState/province
address1NoStreet address
address2NoStreet address line 2
vat_codeNoVAT code when relevant
last_nameNoRequired for individual contacts
first_nameNoRequired for individual contacts
is_defaultNoMake this the default domain contact
postal_codeNoPostal code
country_codeYesISO-3166 alpha-2 country code
organizationNoRequired for business contacts
organization_codeNoCompany/legal entity code required for business contacts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.3.21
    • addedInput schema / properties / email / pattern
      Added value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  2. First observedv2.3.16

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the risk profile is known; the description adds the API-key permission scope, which is genuine extra context. It does not disclose whether the update is a partial patch or a full replace of the 16 fields, nor what happens to omitted fields, which is the key behavioral unknown for this tool.

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?

Two short sentences with no filler, and the core action is front-loaded before the permission note. Nothing is redundant, though the second sentence is a bare constraint rather than structured guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 16 parameters, only 4 required, a destructive mutation flag, and no output schema, the definition should clarify partial-vs-full update semantics and whether omitted fields are cleared. Neither is addressed, leaving the agent guessing on the most consequential aspect of a destructive update.

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 description coverage is 100%, so every parameter including the conditional ones (first_name/last_name for individuals, organization/organization_code for businesses) is already documented in the schema. The description adds no meaning beyond it, so the baseline of 3 applies.

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 gives a specific verb+resource ('Update an existing domain contact'), which cleanly separates it from create_domain_contact and delete_domain_contact. It does not, however, say anything about scope or what kind of update it performs, so differentiation rests on the name alone.

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

Usage Guidelines2/5

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

The only guidance is an authentication prerequisite ('Requires domains:manage when using an API key'). There is no statement of when to prefer this over create_domain_contact or the list/get siblings, and no prerequisites about the contact having to exist or which fields are expected.

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