Skip to main content
Glama

Lock or unlock a domain for transfers

set_registrar_lock
DestructiveIdempotent

Turn the registrar (transfer) lock on or off for a domain registered at GlobalHostia. Locked domains cannot be transferred to another registrar. Unlocking needs confirm: true after the customer approves; locking does not.

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": {
      "domain": "<domain>",
      "locked": "<locked>"
    },
    "name": "set_registrar_lock"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesA domain on your account, e.g. mybrand.com
lockedYes
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.

Output Schema

NameRequiredDescriptionDefault
domainNo
lockedNo
previousNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=true, so the description's job is to add consequence detail. It does: locked domains cannot be transferred to another registrar, and the unlock path is gated on explicit customer approval. It does not mention permission requirements or failure modes (e.g. ccTLD restrictions, locks held by registry).

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, zero filler, with the behavioral consequence and the confirm asymmetry front-loaded where the agent will act on them. Nothing repeats the title or annotations verbatim.

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 three-parameter boolean toggle with an output schema and safety annotations already in place, the description covers the decision-relevant facts. The remaining gap is edge cases: what happens if the domain is already locked, or whether unlock can be blocked at the registry level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

At 67% schema coverage the description meaningfully refines the schema: 'confirm' is tied to the unlock direction specifically, rather than the schema's blanket 'Must be true', which could mislead an agent into sending it on a lock. The 'locked' boolean semantics (blocks transfers) are also explained. The 'domain' parameter gains no extra meaning, but the schema already documents it.

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 pair (turn on or off) and resource (registrar/transfer lock) plus the scope constraint 'for a domain registered at GlobalHostia'. It is clearly distinct from nearby siblings like set_whois_privacy or set_domain_autorenew, which an agent can rule out without opening their schemas.

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

Usage Guidelines4/5

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

Gives a clear condition for the otherwise cryptic confirm parameter: unlocking requires it after customer approval, locking does not. This is real usage guidance, though it does not state exclusions or point to any alternative action when a user wants e.g. WHOIS-level protections instead.

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.