Skip to main content
Glama

Register Recovery

register_recovery
Idempotent

Escrow an encrypted recovery blob: stored opaquely — we cannot decrypt it — for operator review, signed receipt proving its hash; quorum_rules govern release. POST the tool inputs as JSON to paid_url with an x402 v2 PAYMENT-SIGNATURE header. See https://docs.cdp.coinbase.com/x402 Paid tool — $1.00, USDC on Base or Arbitrum One. Paid URL: https://aemb.pro/v1/recovery/register.

Input Schema

NameRequiredDescriptionDefault
contact_nameYesYour name or operator handle, recorded with the escrow
quorum_rulesYesThe release rules for this blob, e.g. '2-of-3 named trustees must approve release'
recovery_blobYesClient-encrypted blob (ENC:v1:base64...). Stored opaquely; only its SHA-256 and byte count enter the signed receipt
contact_handleNoOptional contact (email or handle) for the operator review
idempotency_keyYesIdempotency key: UUID v4, client-generated, one per logical request. Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Published example keys are rejected. Keys are scoped per tool and per payer account: a key never returns another wallet's receipt.

Output Schema

NameRequiredDescriptionDefault
howYesHow to pay: POST the tool inputs as JSON to paid_url with an x402 v2 PAYMENT-SIGNATURE header
toolYesTool name, e.g. check_url_custom
assetYesSettlement asset
priceYesExact price, e.g. "$0.25"
networksYesEVM CAIP-2 network ids accepted
paid_urlYesx402-paid HTTPS URL to POST the tool inputs to
facilitatorYesx402 facilitator
payment_requiredYesAlways true: this MCP tool is a payment pointer; the tool itself is monetized via x402.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / price / description
      Previous value: -"Exact price, e.g. \"$0.05\""New value: +"Exact price, e.g. \"$0.25\""
  2. Changed1 schema field changed
    • changedOutput schema / properties / tool / description
      Previous value: -"Tool name, e.g. ping"New value: +"Tool name, e.g. check_url_custom"
  3. Changed1 schema field changed
    • changedOutput schema / properties / price / description
      Previous value: -"Exact price, e.g. \"$0.15\""New value: +"Exact price, e.g. \"$0.05\""
  4. Changed1 schema field changed
    • changedOutput schema / properties / tool / description
      Previous value: -"Tool name, e.g. verified_check"New value: +"Tool name, e.g. ping"
  5. Changed2 schema fields changed
    • removedInput schema / properties / agent_wallet
      Removed value: -{
      -  "description": "Dev mode only: declares the account wallet (string, min 20 chars) when no x402 payment is present. Ignored in live mode — there the wallet is recovered from the verified payment authorization.",
      -  "type": "string"
      -}
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Idempotency key: any non-empty string (a UUID is recommended; no format is enforced). Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Keys are scoped per tool: the same key on another tool is unrelated."New value: +"Idempotency key: UUID v4, client-generated, one per logical request. Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Published example keys are rejected. Keys are scoped per tool and per payer account: a key never returns another wallet's receipt."
  6. Changed6 schema fields changed
    • changedInput schema / properties / agent_wallet / description
      Previous value: -"dev mode only"New value: +"Dev mode only: declares the account wallet (string, min 20 chars) when no x402 payment is present. Ignored in live mode — there the wallet is recovered from the verified payment authorization."
    • addedInput schema / properties / contact_handle / description
      Added value: +"Optional contact (email or handle) for the operator review"
    • addedInput schema / properties / contact_name / description
      Added value: +"Your name or operator handle, recorded with the escrow"
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Idempotency key: any non-empty string (a UUID is recommended; no format is enforced). Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Keys are scoped per tool: the same key on another tool is unrelated."
    • addedInput schema / properties / quorum_rules / description
      Added value: +"The release rules for this blob, e.g. '2-of-3 named trustees must approve release'"
    • addedInput schema / properties / recovery_blob / description
      Added value: +"Client-encrypted blob (ENC:v1:base64...). Stored opaquely; only its SHA-256 and byte count enter the signed receipt"
  7. Changed6 schema fields changed
    • changedInput schema / properties / agent_wallet / description
      Previous value: -"DEV MODE ONLY: wallet to register. In live mode the payer wallet from the verified x402 payment is used."New value: +"dev mode only"
    • removedInput schema / properties / contact_handle / description
      Removed value: -"Handle (e.g. farcaster, telegram, email)"
    • removedInput schema / properties / contact_name / description
      Removed value: -"Human contact name for recovery coordination"
    • removedInput schema / properties / idempotency_key / description
      Removed value: -"Client-generated UUID; retries return the original receipt"
    • removedInput schema / properties / quorum_rules / description
      Removed value: -"Plain-language quorum rules, e.g. '2-of-3 trustees must approve'"
    • removedInput schema / properties / recovery_blob / description
      Removed value: -"OPAQUE client-encrypted blob. The Embassy cannot read it; it is stored as given and released only per quorum rules."
  8. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "asset": {
      +      "description": "Settlement asset",
      +      "type": "string"
      +    },
      +    "facilitator": {
      +      "description": "x402 facilitator",
      +      "type": "string"
      +    },
      +    "how": {
      +      "description": "How to pay: POST the tool inputs as JSON to paid_url with an x402 v2 PAYMENT-SIGNATURE header",
      +      "type": "string"
      +    },
      +    "networks": {
      +      "description": "EVM CAIP-2 network ids accepted",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "paid_url": {
      +      "description": "x402-paid HTTPS URL to POST the tool inputs to",
      +      "type": "string"
      +    },
      +    "payment_required": {
      +      "const": true,
      +      "description": "Always true: this MCP tool is a payment pointer; the tool itself is monetized via x402.",
      +      "type": "boolean"
      +    },
      +    "price": {
      +      "description": "Exact price, e.g. \"$0.15\"",
      +      "type": "string"
      +    },
      +    "tool": {
      +      "description": "Tool name, e.g. verified_check",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "payment_required",
      +    "tool",
      +    "paid_url",
      +    "price",
      +    "networks",
      +    "asset",
      +    "facilitator",
      +    "how"
      +  ],
      +  "type": "object"
      +}
  9. Changed6 schema fields changed
    • addedInput schema / properties / agent_wallet / description
      Added value: +"DEV MODE ONLY: wallet to register. In live mode the payer wallet from the verified x402 payment is used."
    • addedInput schema / properties / contact_handle / description
      Added value: +"Handle (e.g. farcaster, telegram, email)"
    • addedInput schema / properties / contact_name / description
      Added value: +"Human contact name for recovery coordination"
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Client-generated UUID; retries return the original receipt"
    • addedInput schema / properties / quorum_rules / description
      Added value: +"Plain-language quorum rules, e.g. '2-of-3 trustees must approve'"
    • addedInput schema / properties / recovery_blob / description
      Added value: +"OPAQUE client-encrypted blob. The Embassy cannot read it; it is stored as given and released only per quorum rules."
  10. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag the write (readOnlyHint=false), idempotency, and non-destructiveness, and the description materially adds to that: opaque storage, no server-side decryption, a signed receipt over the blob hash, quorum-governed release, and a mandatory $1.00 USDC payment via x402 header. It does not state retention/permanence of the escrowed blob or what happens on payment or validation failure, so it falls short of the top mark.

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?

The purpose and its key guarantees are front-loaded in the first sentence, followed by the invocation mechanics and then price/endpoint. Every sentence carries information the agent needs; the only minor redundancy is restating the paid URL after the price line.

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 paid, write-effect tool this covers everything needed to call it correctly: what is escrowed and how it is protected, the receipt behavior, the quorum governance, the transport (JSON POST to paid_url with an x402 v2 PAYMENT-SIGNATURE header), the exact price and chains, and the endpoint. Return values are covered by the output schema, so nothing essential 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%, so the baseline is 3. The description reinforces that quorum_rules govern release and that the receipt covers only the blob's hash and byte count, but these points are already stated verbatim in the property descriptions, so it adds little beyond the schema.

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?

The description opens with a specific verb and resource — 'Escrow an encrypted recovery blob' — and immediately constrains what the server does with it ('stored opaquely — we cannot decrypt it'). No sibling tool (agentid_*, attest_*, trust_*) does escrow/recovery registration, so the operation is unambiguously distinguishable.

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 implied by the wording 'for operator review' and 'quorum_rules govern release', which tells the agent this is a release-governed escrow operation. However, there is no explicit when-to-use, when-not-to-use, or named alternative (e.g. when to choose this over a plain attest_document), leaving the agent to infer the trigger condition.

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.