Skip to main content
Glama

New domain token with the payment proof (free)

domain_token_recover

Free: replaces a lost domain token using the l402 proof or cashu token the domain's registration or transfer was paid with. The old token stops working. Works while the domain is registered here, unless an account owns it (its owner uses token_rotate) or the registrant changed since.

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

Input Schema

NameRequiredDescriptionDefault
l402NoThe '<macaroon>:<preimage>' this domain's order was paid with.
cashuNoThe cashu token this domain's order was paid with.
domainYesThe domain, e.g. example.com (an offered TLD: info, domains.tlds).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior3/5

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

Annotations declare not-readOnly, non-destructive and non-idempotent; the description adds genuine value by saying the old token stops working (what is invalidated) and that the operation is free. It does not address what happens on repeated invocation despite idempotentHint=false, nor what the returned value is.

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?

The free/cost aspect is front-loaded and the two sentences carry no filler. The second sentence is slightly telegraphic ('Works while ... unless ... or the registrant changed since'), but it remains decipherable and earns its space.

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?

There is no output schema, and the description does not explicitly say a new token is returned — it only implies a replacement. Everything else an agent needs to decide and call correctly is present.

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?

Schema description coverage is 100%, so parameters carry their own meaning; the description still adds the relationship between the two payment options and the specific order they paid for. Baseline 3 is met and slightly exceeded.

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?

Specific verb and resource: replaces a lost domain token, paid for with the l402 proof or cashu token used at registration/transfer. It also implicitly distinguishes itself from token_rotate (account-owned domains) and domain_token_email, so an agent can pick it without inspecting schemas.

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?

States the preconditions positively and negatively: works while the domain is registered here, but not if an account owns it — that owner should use token_rotate — and not if the registrant changed since. That is explicit when-to-use, when-not, and a named alternative.

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.

Resources