Skip to main content
Glama

Create domain contact

create_domain_contact
Destructive

Create a domain contact for future domain registration or transfer by supplying contact kind, email, and country code, plus optional address and default-contact details.

Instructions

Create a domain contact for future domain registration/transfer. 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": {
      "kind": "<kind>",
      "email": "<email>",
      "country_code": "<country_code>"
    },
    "name": "create_domain_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=false and openWorldHint=false, so the safety profile is covered. The description adds the auth/permission requirement, which is genuinely beyond the structured fields, but says nothing about non-idempotency consequences (duplicate contacts on retry) or how the destructive flag relates to contact creation.

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 the purpose front-loaded and no filler. The second sentence is terse but does carry the permission constraint; nothing is redundant with the title or schema.

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

Completeness3/5

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

For a 15-parameter, destructive, non-idempotent creation tool with no output schema, the description leaves open what identifier is returned and whether that value is needed for the subsequent registration/transfer call. The rich schema compensates for field-level detail, but the lifecycle around the created contact is not described.

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% across 15 properties, including the per-field conditions (first_name/last_name for individual, organization/organization_code for business) and the country code format. The description adds no parameter meaning beyond the schema, so the baseline 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?

States a specific verb and resource ("Create a domain contact") and adds the downstream purpose ("for future domain registration/transfer"), which distinguishes it from the update/delete/list contact siblings without naming them. Slightly short of a 5 because it never explicitly routes to a sibling.

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

Usage Guidelines3/5

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

The phrase "for future domain registration/transfer" implies when the tool is appropriate, and the permission requirement ("Requires domains:manage when using an API key") is a useful prerequisite. There is no explicit guidance on when to use update_domain_contact or list_domain_contacts instead, or what happens if the contact already exists.

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