Skip to main content
Glama

link_user

Destructive

Link this operator account to a Lightning Faucet website account using that account's recovery code, so the same person sees both. The link is permanent. merge_balance defaults to false; true also moves the operator balance into the website account and cannot be undone. confirm must be true. REQUIRES OPERATOR KEY.

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": {
      "recovery_code": "<recovery_code>",
      "confirm": "<confirm>"
    },
    "name": "link_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true
merge_balanceNoAlso move the operator balance (irreversible). Default false
recovery_codeYesRecovery code of the website account

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Adds real value beyond the annotations: the link is permanent, merge_balance=true moves the operator balance and is irreversible, and an operator key is required. These go past destructiveHint=true by naming exactly what is destroyed and under which flag, though error behavior and non-idempotency are not addressed.

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?

Four short sentences, each carrying distinct information: purpose, permanence, the optional destructive flag, and the required key. Front-loaded with the action and free of filler.

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?

A destructive two-or-three-parameter mutation with full annotation coverage and no output schema; the description supplies the safety-relevant facts an agent needs. It stops short of describing failure modes for an invalid recovery code, which would complete the picture.

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 schema already documents all three parameters, including the enum on confirm and the irreversibility of merge_balance. The description largely restates those constraints rather than adding syntax, format, or validation detail for recovery_code.

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 concrete verb and both resources: linking the operator account to a Lightning Faucet website account via that account's recovery code. It is not differentiated from the sibling `link_account`, which an agent could plausibly confuse it with.

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?

Gives the prerequisites that matter (confirm must be true, operator key required, merge_balance defaults to false) and warns the link is permanent. It never says when to choose this over `link_account`, so the routing decision is left to inference.

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.