Skip to main content
Glama

Set domain transfer lock

domain_set_transfer_lock
Idempotent

Lock or unlock a domain against transfers to another registrar. A locked domain cannot be moved away; a transfer needs it unlocked and the auth code from domain_get_authcode. DNS, renewal and WHOIS are not affected. Some TLDs have no transfer lock (transferLockAvailable: false in domain_get or domain_list, .de for one): the auth code alone protects their transfers, and the call fails. The current state is in domain_get.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe domain ID
lockedYestrue blocks transfers away from Sitequest, false allows them

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations by scoping the effect ('DNS, renewal and WHOIS are not affected'), disclosing the failure mode for unsupported TLDs, and pointing to where the current state lives. The annotations only say it is a non-destructive, idempotent write; the description supplies the operational semantics.

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?

Four short sentences, front-loaded with the action and followed by consequences and the TLD caveat. The parenthetical example '(.de for one)' is slightly chatty but earns its place as a concrete illustration.

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

Completeness5/5

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

For a two-parameter setter with no output schema, it covers effect scope, prerequisites, edge-case failure, and where to read current state. Nothing an agent needs in order to call this correctly is missing.

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%, with both 'id' and 'locked' already documented including the boolean meaning. The description reinforces the lock semantics in prose but adds no format or constraint detail beyond the schema, so baseline 3 applies.

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+resource pair ('Lock or unlock a domain against transfers to another registrar') and immediately defines the operational meaning of 'locked'. It is clearly separable from the sibling tools it references (domain_get_authcode, domain_get, domain_transfer).

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?

Explicitly explains the prerequisite for a transfer (unlocked plus auth code from domain_get_authcode) and names the relevant alternative tools for checking state and availability. It also gives an exclusion: TLDs where transferLockAvailable is false, where the call fails and the auth code alone protects the transfer.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.