Skip to main content
Glama

Save Contact Attributes

save_contact_attributes
Idempotent

Saves TLD-specific contact attributes required for domain registrations and returns the associated contact ID. Use it to provide fields like appPurpose and nexusCategory for .us domains.

Instructions

Save TLD-specific contact attributes required for certain domain registrations. Different TLDs require different fields. Example for .us: { type: "us", appPurpose: "P1", nexusCategory: "C11" }. Returns the contactId associated with the saved attributes.

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": {
      "attributes": "<attributes>"
    },
    "name": "save_contact_attributes"
  }
}

Input Schema

NameRequiredDescriptionDefault
attributesYesTLD-specific attribute key-value pairs. Example for .us: { type: "us", appPurpose: "P1", nexusCategory: "C11" }

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.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, open-world behavior; the description adds that the required field set varies by TLD and that the call returns the associated contactId, which is valuable since there is no output schema. It does not state whether a save merges with or replaces previously saved attributes, which matters for an idempotent write.

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 short sentences, front-loaded with the action and its purpose, with no filler. The only redundancy is restating the .us example that already appears in the schema description.

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 one-parameter write tool with full annotations and no output schema, the description covers purpose, TLD variability, and the return value. The notable remaining gap is merge-vs-replace semantics and per-TLD field requirements, but an agent has enough to invoke it correctly.

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 single 'attributes' parameter already documents itself with the same .us example verbatim, so the description adds no meaning beyond the schema. Baseline 3 applies; repeating the schema example earns nothing extra.

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 and resource ('Save TLD-specific contact attributes') plus the context that they are required for certain domain registrations, which separates it from the read-side sibling get_contact_attributes. It stops short of naming any sibling explicitly, so an agent must infer the pairing from names alone.

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?

'Required for certain domain registrations' and 'Different TLDs require different fields' imply the trigger condition, but no explicit when-to-use or when-not-to-use rule is given. There is no guidance on whether this must be called before save_contact, after it, or how it relates to registration flow.

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