Skip to main content
Glama

Get domain auth code

domain_get_authcode
Read-only

Get the auth code (transfer key) for a domain. Whoever holds it can move the domain away, and it then sits in this conversation.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe domain ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only say readOnlyHint=true; the description adds the critical behavioral fact that the returned value is a bearer secret granting domain movement, and that it will be exposed in the conversation transcript. That is a security-relevant disclosure an agent could not obtain from structured 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?

Two short sentences, front-loaded with the action and immediately followed by the risk disclosure. Every sentence carries weight with no filler.

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 single-parameter read-only getter with a fully documented schema and no output schema needed, the description covers purpose, the sensitive nature of the return value, and a warning about transcript exposure. Nothing essential to correct invocation 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?

One parameter with 100% schema coverage, including a pattern and description of the domain ID, so the schema carries the full burden. The description adds no additional parameter meaning, which meets the baseline for fully documented schemas.

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 ('Get the auth code (transfer key) for a domain') and clarifies what the auth code is in plain terms. It does not, however, distinguish itself from siblings like domain_get or domain_transfer, so an agent must infer the boundary itself.

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?

Usage is only implied: the note that whoever holds the code can move the domain suggests this is used ahead of a transfer, but the description never says when to call it versus domain_transfer or domain_get, nor any prerequisite such as disabling the transfer lock.

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.