Skip to main content
Glama

Save Contact

save_contact
Idempotent

Create or update reusable contact profiles used for domain registration and contact changes. Provide contactId to modify an existing contact or omit it to create a new one.

Instructions

Create or update a reusable contact profile. Saved contacts can be referenced when registering domains or updating domain contacts. If a contactId is provided, the existing contact is updated; otherwise a new contact is created.

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": {
      "firstName": "<firstName>",
      "lastName": "<lastName>",
      "email": "<email>",
      "address1": "<address1>",
      "city": "<city>",
      "country": "<country>",
      "phone": "<phone>"
    },
    "name": "save_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
faxNoFax number in E.164 format
cityYesCity name
emailYesEmail address of the contact
phoneYesPhone number in E.164 format (e.g. +1.5551234567)
faxExtNoFax extension number
countryYesISO 3166-1 alpha-2 country code (e.g. US, DE, NL)
address1YesPrimary street address
address2NoSecondary address line (apt, suite, etc.)
lastNameYesLast name of the contact
phoneExtNoPhone extension number
contactIdNoUnique contact identifier (omit when creating a new contact)
firstNameYesFirst name of the contact
taxNumberNoTax identification number
postalCodeNoPostal or ZIP code
organizationNoOrganization or company name
stateProvinceNoState or province name/code

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields 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"
    • changedInput schema / properties / email / pattern
      Previous value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New 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 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 non-read-only, non-destructive, idempotent, open-world behavior, and the description's upsert/contactId rule is consistent with idempotentHint=true. Beyond that it says nothing about permissions, whether an update overwrites fields not supplied, or what happens to a contact already referenced by a domain — gaps that matter for a mutation tool with 16 fields.

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?

Three short sentences with zero waste; the create-or-update rule is front-loaded and the reference-to-domain context follows in the right order.

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 16-parameter upsert tool with full schema coverage and a complete annotation set, the description covers the essential create-vs-update distinction. Minor missing pieces are permission requirements and update-overwrite semantics, but nothing prevents a correct invocation.

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 all 16 parameters, including contactId ('omit when creating a new contact'), are already documented. The description's contactId branching restates the schema rather than adding syntax, validation, or required-field nuance, so 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 or update a reusable contact profile' — and names the upsert semantics explicitly. It does not, however, distinguish itself from the sibling save_contact_attributes, which an agent could plausibly confuse with this tool.

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?

Gives useful context that saved contacts are referenced when registering domains or updating domain contacts, which implies why an agent would call it. It offers no explicit when-not guidance and never routes the agent to get_contact for lookups or to save_contact_attributes for the other contact-write path.

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