{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "merx.exchange",
    "site": "merx.exchange",
    "addresses": [
      {
        "address": "144.76.43.59",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": null
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "144.76.43.59"
        ],
        "first_seen": "2026-11-21T12:52:02.657Z",
        "last_seen": "2026-11-23T17:49:02.232Z",
        "checks": 3
      }
    ],
    "hosting": [],
    "software": [
      {
        "value": "nginx",
        "evidence": "Server header \"nginx/1.29.6\""
      }
    ],
    "server_info": {
      "name": "merx",
      "version": "2.0.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "nginx/1.29.6",
      "strict-transport-security": "max-age=31536000; includeSubDomains",
      "access-control-allow-origin": "*"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "exchange.merx",
      "total": 0,
      "sample": []
    },
    "same_repository": {
      "repository_url": "https://github.com/Hovsteder/merx-mcp",
      "total": 0,
      "sample": []
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "21703",
    "server_name": "exchange.merx/mcp",
    "url": "https://merx.exchange/mcp/sse",
    "host": "merx.exchange",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T17:49:02.232Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "1847037041d20ffe96995abcc464e530c16e87a714b8fb4248a14ead22be94d5",
    "first_listed_at": "2026-11-21T12:52:02.657Z",
    "created_at": "2026-11-21T07:45:05.631Z",
    "resolved_addresses": [
      "144.76.43.59"
    ]
  },
  "server": {
    "name": "exchange.merx/mcp",
    "title": "MERX - TRON Resource Exchange",
    "description": "TRON energy exchange for AI agents. 54 tools, 30 prompts, 21 resources. A2A + ACP.",
    "version": "1.0.5",
    "registry_status": "active",
    "repository_url": "https://github.com/Hovsteder/merx-mcp",
    "website_url": null,
    "published_at": "2026-04-02T18:54:13.569Z",
    "updated_at": "2026-04-02T18:54:13.569Z",
    "first_seen": "2026-11-21T07:45:04.844Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "handles-keys",
      "reads-chain",
      "runs-agents",
      "takes-payment",
      "trades",
      "x402"
    ],
    "evm_addresses": [],
    "chains": [
      "tron"
    ],
    "tokens": [
      "TRX",
      "USDT",
      "USDC"
    ],
    "computed_at": "2026-11-22T15:27:07.687Z"
  },
  "operator": {
    "key": "merx.exchange",
    "name": "merx.exchange",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 1271,
    "first_check_in_window": "2026-11-21T12:52:02.657Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "1847037041d20ffe96995abcc464e530c16e87a714b8fb4248a14ead22be94d5",
    "tools": 66,
    "resources": 14,
    "prompts": 30,
    "first_seen": "2026-11-21T12:52:03.886Z",
    "tool_names": [
      "get_prices",
      "get_best_price",
      "analyze_prices",
      "get_price_history",
      "compare_providers",
      "estimate_transaction_cost",
      "check_address_resources",
      "create_order",
      "get_order",
      "list_orders",
      "ensure_resources",
      "wait_for_delegation",
      "get_balance",
      "get_deposit_info",
      "get_transaction_history",
      "explain_concept",
      "suggest_duration",
      "calculate_savings",
      "list_providers",
      "get_account_info",
      "get_trx_balance",
      "get_trc20_balance",
      "get_transaction",
      "get_block",
      "get_chain_parameters",
      "convert_address",
      "get_trx_price",
      "validate_address",
      "search_transaction_history",
      "transfer_trx",
      "transfer_trc20",
      "approve_trc20",
      "get_token_info",
      "read_contract",
      "estimate_contract_call",
      "call_contract",
      "get_contract_info",
      "get_swap_quote",
      "execute_swap",
      "get_token_price",
      "create_account",
      "login",
      "set_api_key",
      "set_private_key",
      "deposit_trx",
      "enable_auto_deposit",
      "pay_invoice",
      "create_paid_order",
      "execute_intent",
      "simulate",
      "create_standing_order",
      "list_standing_orders",
      "get_standing_order",
      "cancel_standing_order",
      "create_monitor",
      "list_monitors",
      "cancel_monitor",
      "withdraw",
      "compile_policy",
      "resource_broadcast",
      "register_agent",
      "request_payment",
      "lookup_invoice",
      "create_invoice",
      "watch_address",
      "agent_status"
    ],
    "declared": {
      "tools": [
        {
          "name": "get_prices",
          "description": "Get an executable MERX quote when resource, amount, fixed-grid duration and target_address are supplied. The response names the quoted provider. Without all four fields, returns raw provider observations labelled as non-executable analytics.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "amount": {
                "type": "number",
                "description": "Exact resource amount for an executable quote."
              },
              "duration": {
                "enum": [
                  120,
                  300,
                  600,
                  900,
                  1800,
                  3600,
                  10800,
                  21600,
                  86400
                ],
                "type": "number",
                "description": "Executable duration/filter in seconds on the fixed grid, from 2 minutes through 24 hours. Omit it to see every raw provider tier; raw analytics may include longer non-orderable observations."
              },
              "resource": {
                "enum": [
                  "ENERGY",
                  "BANDWIDTH"
                ],
                "type": "string",
                "description": "Filter by resource type. Omit for all."
              },
              "target_address": {
                "type": "string",
                "description": "TRON recipient address for an executable quote."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_best_price",
          "description": "Get the exact executable MERX quote and quoted provider. Requires resource, amount, a fixed-grid duration, and target_address.",
          "inputSchema": {
            "type": "object",
            "required": [
              "resource",
              "amount",
              "duration",
              "target_address"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "description": "Amount of resource units needed."
              },
              "duration": {
                "enum": [
                  120,
                  300,
                  600,
                  900,
                  1800,
                  3600,
                  10800,
                  21600,
                  86400
                ],
                "type": "number",
                "description": "Exact rental duration in seconds on the fixed grid, from 2 minutes through 24 hours."
              },
              "resource": {
                "enum": [
                  "ENERGY",
                  "BANDWIDTH"
                ],
                "type": "string",
                "description": "Resource type."
              },
              "target_address": {
                "type": "string",
                "description": "TRON recipient address."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "analyze_prices",
          "description": "Market price analysis with trends and recommendations. No auth required.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "resource": {
                "enum": [
                  "ENERGY",
                  "BANDWIDTH"
                ],
                "type": "string",
                "description": "Filter by resource type. Omit for all."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_price_history",
          "description": "Historical price snapshots. No auth required.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "period": {
                "enum": [
                  "1h",
                  "6h",
                  "24h",
                  "7d",
                  "30d"
                ],
                "type": "string",
                "description": "Time period (default: 24h)."
              },
              "provider": {
                "type": "string",
                "description": "Filter by provider name."
              },
              "resource": {
                "enum": [
                  "ENERGY",
                  "BANDWIDTH"
                ],
                "type": "string",
                "description": "Filter by resource type."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_providers",
          "description": "Show raw provider observations for market analytics. This tool does not identify an executable provider; use get_best_price for an executable quote.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "resource": {
                "enum": [
                  "ENERGY",
                  "BANDWIDTH"
                ],
                "type": "string",
                "description": "Filter by resource type. Omit for all."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "estimate_transaction_cost",
          "description": "Estimate cost of a TRON transaction BEFORE sending. Aliases: estimate_cost, calculate_cost, transaction_cost, energy_cost, transfer_cost. Calculate exactly how much energy, bandwidth, and TRX a TRON transaction will cost before sending it. Use this to answer questions like \"how much does a USDT transfer cost?\" or \"what will it cost me to send 100 USDT to address X?\". Returns: energy units needed, bandwidth needed, TRX cost if you burn directly, and TRX cost if you rent energy from Merx (typically 70-80% cheaper). Supports trc20_transfer (e.g. USDT/USDC), trc20_approve, trx_transfer, and custom contract calls. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "operation"
            ],
            "properties": {
              "amount": {
                "type": "string",
                "description": "Token amount (as string)."
              },
              "operation": {
                "enum": [
                  "trc20_transfer",
                  "trc20_approve",
                  "trx_transfer",
                  "custom"
                ],
                "type": "string",
                "description": "Transaction type."
              },
              "parameter": {
                "type": "string",
                "description": "ABI-encoded parameter (custom)."
              },
              "to_address": {
                "type": "string",
                "description": "Recipient TRON address."
              },
              "from_address": {
                "type": "string",
                "description": "Sender TRON address."
              },
              "token_address": {
                "type": "string",
                "description": "TRC20 contract address."
              },
              "contract_address": {
                "type": "string",
                "description": "Contract address (custom)."
              },
              "function_selector": {
                "type": "string",
                "description": "Function selector (custom)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_address_resources",
          "description": "Check energy, bandwidth, and TRX balance for any TRON address. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address"
            ],
            "properties": {
              "address": {
                "type": "string",
                "description": "TRON address (starts with T)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_order",
          "description": "Buy energy or bandwidth at the Merx market quote. Confirmed Merx funds and API key required; no commission.",
          "inputSchema": {
            "type": "object",
            "required": [
              "resource_type",
              "amount",
              "duration_sec",
              "target_address",
              "idempotency_key"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "description": "Amount of resource units (min 65000 for ENERGY, 1000 for BANDWIDTH)."
              },
              "duration_sec": {
                "enum": [
                  120,
                  300,
                  600,
                  900,
                  1800,
                  3600,
                  10800,
                  21600,
                  86400
                ],
                "type": "number",
                "description": "Rental duration in seconds on the fixed market grid, from 2 minutes through 24 hours."
              },
              "max_price_sun": {
                "type": "number",
                "multipleOf": 0.001,
                "description": "Optional offered price in SUN/unit. Below-current offers fail; equal or higher offers execute at the submitted price. Omit to use the current best price."
              },
              "resource_type": {
                "enum": [
                  "ENERGY",
                  "BANDWIDTH"
                ],
                "type": "string",
                "description": "Resource type to purchase."
              },
              "target_address": {
                "type": "string",
                "description": "TRON address to receive delegated resources."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Unique operation ID (1–200 characters). Reuse this exact value when retrying after a timeout or lost response."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_order",
          "description": "Get order status by UUID. Aliases: get_order_status, check_order, order_status, order_details, fetch_order. Check the status and fill details of an existing order by its UUID. Returns current status (PENDING/FILLING/FILLED/PARTIAL/FAILED/CANCELLED), fill amounts, provider used, on-chain delegation tx hash if delivered. Use this to poll order progress after creating an order. Auth required (API key).",
          "inputSchema": {
            "type": "object",
            "required": [
              "order_id"
            ],
            "properties": {
              "order_id": {
                "type": "string",
                "description": "The order UUID."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_orders",
          "description": "List recent orders with optional status filter. Auth required.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "limit": {
                "type": "number",
                "description": "Max number of orders to return (default: 20)."
              },
              "status": {
                "enum": [
                  "PENDING",
                  "FILLING",
                  "FILLED",
                  "PARTIAL",
                  "FAILED",
                  "CANCELLED"
                ],
                "type": "string",
                "description": "Filter by order status."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "ensure_resources",
          "description": "Declarative resource provisioning. Checks current resources on target address and purchases only what is missing. Auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "target_address",
              "idempotency_key"
            ],
            "properties": {
              "duration_sec": {
                "enum": [
                  120,
                  300,
                  600,
                  900,
                  1800,
                  3600,
                  10800,
                  21600,
                  86400
                ],
                "type": "number",
                "description": "Rental duration in seconds on the fixed market grid, from 2 minutes through 24 hours (default: 3600)."
              },
              "energy_minimum": {
                "type": "number",
                "description": "Minimum energy the address should have."
              },
              "target_address": {
                "type": "string",
                "description": "TRON address to provision resources for."
              },
              "idempotency_key": {
                "type": "string",
                "description": "Unique operation ID (1–200 characters). Reuse exactly this ID when retrying this operation."
              },
              "bandwidth_minimum": {
                "type": "number",
                "description": "Minimum bandwidth the address should have."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "wait_for_delegation",
          "description": "Block until an order reaches a terminal state (FILLED, PARTIAL, FAILED, or CANCELLED) by polling get_order at fixed intervals. Use this right after create_order when you need to confirm the energy/bandwidth has actually been delegated on-chain before sending the next transaction. Returns the final order details including the on-chain delegation tx hash. Auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "order_id"
            ],
            "properties": {
              "order_id": {
                "type": "string",
                "description": "The order UUID returned by create_order."
              },
              "timeout_sec": {
                "type": "number",
                "description": "Maximum time to wait in seconds (default: 60, max: 300)."
              },
              "poll_interval_sec": {
                "type": "number",
                "description": "How often to check status in seconds (default: 3, min: 1)."
              }
            }
          }
        },
        {
          "name": "get_balance",
          "description": "Get your Merx account balance (TRX, USDT, locked). Requires MERX_API_KEY.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_deposit_info",
          "description": "Get your personal TRON address for TRX deposits. No memo is required. Requires MERX_API_KEY.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_transaction_history",
          "description": "Get your Merx account transaction history. Requires MERX_API_KEY.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "period": {
                "enum": [
                  "7D",
                  "30D",
                  "90D"
                ],
                "type": "string",
                "description": "Time period to query. Default: 30D."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "explain_concept",
          "description": "Explain a TRON or Merx concept in plain language. Hardcoded topics (exact match): energy, bandwidth, staking, delegation, sun_units, burn_vs_rent, merx_routing, provider_types. The lookup is fuzzy — substring matches also work, so \"rent\" finds \"burn_vs_rent\" and \"providers\" finds \"provider_types\". For topics outside this list (e.g. x402, stablecoins, gasfree), pick the closest hardcoded topic, or just answer the question yourself from the broader context — this tool only returns canned explanations of TRON resource economics.",
          "inputSchema": {
            "type": "object",
            "required": [
              "topic"
            ],
            "properties": {
              "topic": {
                "type": "string",
                "description": "Topic to explain. Exact: energy, bandwidth, staking, delegation, sun_units, burn_vs_rent, merx_routing, provider_types. Fuzzy substrings (e.g. \"rent\", \"providers\") also work."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "suggest_duration",
          "description": "Recommend a supported duration and return the executable MERX quote and quoted provider for a target address.",
          "inputSchema": {
            "type": "object",
            "required": [
              "use_case",
              "target_address"
            ],
            "properties": {
              "use_case": {
                "enum": [
                  "single_transfer",
                  "batch_transfers",
                  "dapp_session",
                  "daily_operations"
                ],
                "type": "string",
                "description": "Your intended use case."
              },
              "target_address": {
                "type": "string",
                "description": "TRON recipient address required for an executable offer."
              },
              "transaction_count": {
                "type": "number",
                "description": "Expected number of transactions (optional)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "calculate_savings",
          "description": "Calculate savings from renting energy vs burning TRX. No authentication required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "target_address"
            ],
            "properties": {
              "operation": {
                "enum": [
                  "trc20_transfer",
                  "trc20_approve",
                  "trx_transfer"
                ],
                "type": "string",
                "description": "Operation type. Default: trc20_transfer."
              },
              "target_address": {
                "type": "string",
                "description": "TRON recipient address required for an executable MERX quote."
              },
              "transaction_count": {
                "type": "number",
                "description": "Number of transactions. Default: 1."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_providers",
          "description": "List all Merx providers with types, durations, and availability. No authentication required.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_account_info",
          "description": "Inspect any TRON address. Aliases: check_address, get_address_info, get_wallet_info, address_info, account_status. Read the full on-chain state of ANY TRON address (does not have to be your own): TRX balance, free + delegated energy, free + delegated bandwidth, frozen TRX, account creation timestamp. Use this to check if an address has enough resources before sending a transaction, or to inspect any TRON wallet. No auth required, no API key needed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address"
            ],
            "properties": {
              "address": {
                "type": "string",
                "description": "TRON address (T...)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_trx_balance",
          "description": "Quick TRX balance for a TRON address. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address"
            ],
            "properties": {
              "address": {
                "type": "string",
                "description": "TRON address (T...)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_trc20_balance",
          "description": "Get TRC-20 token balance for an address. Supports symbol (USDT, USDC) or contract address. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address",
              "token"
            ],
            "properties": {
              "token": {
                "type": "string",
                "description": "Token symbol (USDT, USDC) or contract address."
              },
              "address": {
                "type": "string",
                "description": "TRON address to query."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_transaction",
          "description": "Look up a transaction by ID on TRON. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "tx_id"
            ],
            "properties": {
              "tx_id": {
                "type": "string",
                "description": "Transaction ID (hash)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_block",
          "description": "Get TRON block info by number (or latest if omitted). No auth required.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "block_number": {
                "type": "number",
                "description": "Block number. Omit for latest."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_chain_parameters",
          "description": "Get TRON network parameters (energy fee, bandwidth cost, etc.) with Merx price comparison. No auth required.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "convert_address",
          "description": "Convert TRON address between base58 (T...) and hex (41...) formats. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address"
            ],
            "properties": {
              "address": {
                "type": "string",
                "description": "TRON address in base58 (T...) or hex (41...)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_trx_price",
          "description": "Get current TRX price from CoinGecko. No auth required.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "currency": {
                "type": "string",
                "description": "Fiat currency code (default: usd)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "validate_address",
          "description": "Validate a TRON address format and check on-chain status. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address"
            ],
            "properties": {
              "address": {
                "type": "string",
                "description": "TRON address to validate."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "search_transaction_history",
          "description": "Get on-chain transaction history for a TRON address. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address"
            ],
            "properties": {
              "type": {
                "enum": [
                  "all",
                  "trx",
                  "trc20"
                ],
                "type": "string",
                "description": "Transaction type filter (default: all)."
              },
              "limit": {
                "type": "number",
                "description": "Max results (default: 20)."
              },
              "address": {
                "type": "string",
                "description": "TRON address."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "transfer_trx",
          "description": "Send TRX to an address. Checks bandwidth, buys via Merx if needed. Signs and broadcasts on-chain. Requires TRON_PRIVATE_KEY.",
          "inputSchema": {
            "type": "object",
            "required": [
              "to_address",
              "amount_trx"
            ],
            "properties": {
              "amount_trx": {
                "type": "string",
                "description": "Amount of TRX to send."
              },
              "to_address": {
                "type": "string",
                "description": "Recipient TRON address."
              },
              "resource_operation_id": {
                "type": "string",
                "description": "Optional stable ID for resource purchases. Reuse on retries; this does not make the token transfer itself idempotent."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "transfer_trc20",
          "description": "Transfer TRC-20 tokens with automatic energy optimization. Signs and broadcasts on-chain. Requires TRON_PRIVATE_KEY.",
          "inputSchema": {
            "type": "object",
            "required": [
              "to_address",
              "token",
              "amount"
            ],
            "properties": {
              "token": {
                "type": "string",
                "description": "Token symbol (USDT, USDC) or contract address."
              },
              "amount": {
                "type": "string",
                "description": "Amount to transfer (human-readable)."
              },
              "to_address": {
                "type": "string",
                "description": "Recipient TRON address."
              },
              "resource_operation_id": {
                "type": "string",
                "description": "Optional stable ID for resource purchases. Reuse on retries; this does not make the token transfer itself idempotent."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "approve_trc20",
          "description": "Approve TRC-20 spending allowance. Signs and broadcasts on-chain. Requires TRON_PRIVATE_KEY.",
          "inputSchema": {
            "type": "object",
            "required": [
              "token",
              "spender",
              "amount"
            ],
            "properties": {
              "token": {
                "type": "string",
                "description": "Token symbol or contract address."
              },
              "amount": {
                "type": "string",
                "description": "Allowance amount (human-readable, or \"unlimited\")."
              },
              "spender": {
                "type": "string",
                "description": "Spender TRON address."
              },
              "resource_operation_id": {
                "type": "string",
                "description": "Optional stable ID for resource purchases. Reuse on retries; this does not make the token transfer itself idempotent."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "get_token_info",
          "description": "Get TRC-20 token metadata: name, symbol, decimals, total supply. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "token"
            ],
            "properties": {
              "token": {
                "type": "string",
                "description": "Token symbol or contract address."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "read_contract",
          "description": "Call a view/pure function on a TRON smart contract. No auth or private key required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "contract_address",
              "function_selector"
            ],
            "properties": {
              "parameter": {
                "type": "string",
                "description": "ABI-encoded parameter hex (optional)."
              },
              "contract_address": {
                "type": "string",
                "description": "Contract TRON address."
              },
              "function_selector": {
                "type": "string",
                "description": "Function signature, e.g. \"balanceOf(address)\"."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "estimate_contract_call",
          "description": "Estimate energy and bandwidth cost for a smart contract call. Compares rental vs burn cost. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "contract_address",
              "function_selector"
            ],
            "properties": {
              "parameter": {
                "type": "string",
                "description": "ABI-encoded parameter hex (optional)."
              },
              "caller_address": {
                "type": "string",
                "description": "Caller TRON address for simulation (optional)."
              },
              "contract_address": {
                "type": "string",
                "description": "Contract TRON address."
              },
              "function_selector": {
                "type": "string",
                "description": "Function signature, e.g. \"transfer(address,uint256)\"."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "call_contract",
          "description": "Execute a state-changing smart contract function. Estimates resources, buys via Merx if needed. Requires TRON_PRIVATE_KEY and TRON_ADDRESS.",
          "inputSchema": {
            "type": "object",
            "required": [
              "contract_address",
              "function_selector"
            ],
            "properties": {
              "parameter": {
                "type": "string",
                "description": "ABI-encoded parameter hex (optional)."
              },
              "call_value_trx": {
                "type": "string",
                "description": "TRX to send with call (optional)."
              },
              "contract_address": {
                "type": "string",
                "description": "Contract TRON address."
              },
              "function_selector": {
                "type": "string",
                "description": "Function signature, e.g. \"stake(uint256)\"."
              },
              "resource_operation_id": {
                "type": "string",
                "description": "Optional stable ID for resource purchases. Reuse on retries; this does not make the token transfer itself idempotent."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "get_contract_info",
          "description": "Get on-chain metadata for a TRON smart contract: existence check, owner address, energy origin, code hash, contract name (if set), ABI entries count. Use this to check whether an address is a contract before calling read_contract or estimate_contract_call. For TRC20-specific metadata (name, symbol, decimals, totalSupply) use get_token_info instead. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address"
            ],
            "properties": {
              "address": {
                "type": "string",
                "description": "Contract TRON address (T...)"
              }
            }
          }
        },
        {
          "name": "get_swap_quote",
          "description": "Get a real swap quote from SunSwap V2. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "from_token",
              "to_token",
              "amount"
            ],
            "properties": {
              "amount": {
                "type": "string",
                "description": "Amount of source token to swap"
              },
              "slippage": {
                "type": "number",
                "description": "Slippage tolerance in percent (default 1)"
              },
              "to_token": {
                "type": "string",
                "description": "Destination token symbol"
              },
              "from_token": {
                "type": "string",
                "description": "Source token symbol (TRX, USDT, USDC, etc.)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "execute_swap",
          "description": "Execute a token swap on SunSwap V2. Requires TRON_PRIVATE_KEY.",
          "inputSchema": {
            "type": "object",
            "required": [
              "from_token",
              "to_token",
              "amount"
            ],
            "properties": {
              "amount": {
                "type": "string",
                "description": "Amount of source token to swap"
              },
              "slippage": {
                "type": "number",
                "description": "Slippage tolerance in percent (default 1)"
              },
              "to_token": {
                "type": "string",
                "description": "Destination token symbol"
              },
              "from_token": {
                "type": "string",
                "description": "Source token symbol (TRX, USDT, USDC, etc.)"
              },
              "resource_operation_id": {
                "type": "string",
                "description": "Optional stable ID for resource purchases. Reuse on retries; this does not make the token transfer itself idempotent."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "get_token_price",
          "description": "Get token price via SunSwap quote + CoinGecko USD rate. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "token"
            ],
            "properties": {
              "token": {
                "type": "string",
                "description": "Token symbol (USDT, USDC, SUN, etc.)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_account",
          "description": "Create a new Merx account, generate an API key, and get deposit info. No auth needed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "email",
              "password"
            ],
            "properties": {
              "email": {
                "type": "string",
                "description": "Email address for the account"
              },
              "password": {
                "type": "string",
                "description": "Password (min 8 characters)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "login",
          "description": "Log in to an existing Merx account. No MERX_API_KEY needed.",
          "inputSchema": {
            "type": "object",
            "required": [
              "email",
              "password"
            ],
            "properties": {
              "email": {
                "type": "string",
                "description": "Email address"
              },
              "password": {
                "type": "string",
                "description": "Password"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "set_api_key",
          "description": "Set your Merx API key for this session. Unlocks all authenticated tools (trading, balance, orders). Use this if you already have an API key.",
          "inputSchema": {
            "type": "object",
            "required": [
              "api_key"
            ],
            "properties": {
              "api_key": {
                "type": "string",
                "description": "Your Merx API key (starts with sk_live_)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "set_private_key",
          "description": "Set your TRON private key for this session. Address is derived automatically. Enables write tools: transfer_trx, transfer_trc20, approve_trc20, execute_swap, deposit_trx. Key stays in the MCP process; when using a hosted MCP server, that server receives the key.",
          "inputSchema": {
            "type": "object",
            "required": [
              "private_key"
            ],
            "properties": {
              "private_key": {
                "type": "string",
                "description": "Your TRON private key (64 hex characters)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "deposit_trx",
          "description": "Send a plain TRX transfer to your personal Merx deposit address. No memo is required. Broadcast acceptance does not mean the deposit is credited. Requires MERX_API_KEY + TRON_PRIVATE_KEY.",
          "inputSchema": {
            "type": "object",
            "required": [
              "amount_trx"
            ],
            "properties": {
              "amount_trx": {
                "type": "string",
                "description": "Amount of TRX to deposit"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "enable_auto_deposit",
          "description": "Automatic top-up is unavailable. This compatibility tool returns an error without configuring monitoring or sending funds. Check get_balance and use get_deposit_info or an explicitly requested deposit_trx for manual funding.",
          "inputSchema": {
            "type": "object",
            "required": [
              "threshold_trx",
              "deposit_amount_trx"
            ],
            "properties": {
              "threshold_trx": {
                "type": "string",
                "description": "Balance threshold in TRX"
              },
              "deposit_amount_trx": {
                "type": "string",
                "description": "Amount of TRX per deposit"
              },
              "max_daily_deposits": {
                "type": "number",
                "description": "Max deposits per day (default 5)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "pay_invoice",
          "description": "Unavailable legacy resource-invoice payment. No transaction is sent. Fund your personal Merx account and use quoted resource orders instead.",
          "inputSchema": {
            "type": "object",
            "required": [
              "invoice_id"
            ],
            "properties": {
              "invoice_id": {
                "type": "string",
                "description": "Legacy invoice ID"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "create_paid_order",
          "description": "Unavailable legacy resource-invoice order. No transaction is sent. Fund your personal Merx account and use quoted resource orders instead.",
          "inputSchema": {
            "type": "object",
            "required": [
              "resource_type",
              "amount",
              "duration_sec",
              "target_address"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "duration_sec": {
                "type": "number"
              },
              "resource_type": {
                "enum": [
                  "ENERGY",
                  "BANDWIDTH"
                ],
                "type": "string"
              },
              "target_address": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "execute_intent",
          "description": "Plan a multi-step operation (transfer, swap, buy resources, etc) and return a cost estimate, total energy/bandwidth needed, and the cheapest resource acquisition strategy. NOTE: actual on-chain execution of multi-step intents is not yet wired up — currently returns the same plan as simulate, regardless of dry_run. Use this for planning; for real execution call the underlying tools (create_order, transfer_trc20, execute_swap) yourself in sequence. Auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "steps"
            ],
            "properties": {
              "steps": {
                "type": "array",
                "description": "Array of { action, params } steps to execute."
              },
              "dry_run": {
                "type": "boolean",
                "description": "If true, simulate only without executing (default: false)."
              },
              "resource_strategy": {
                "enum": [
                  "batch_cheapest",
                  "per_step",
                  "no_resources"
                ],
                "type": "string",
                "description": "Resource acquisition strategy (default: batch_cheapest)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "simulate",
          "description": "Dry-run a multi-step operation (transfer, swap, buy resources, etc) without sending anything on-chain. Returns per-step energy and bandwidth estimates plus a total TRX cost. Use this to preview a plan before committing — for example, before transferring USDT to multiple recipients you can simulate to see the total energy cost. No auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "steps"
            ],
            "properties": {
              "steps": {
                "type": "array",
                "description": "Array of { action, params } steps to simulate."
              },
              "resource_strategy": {
                "enum": [
                  "batch_cheapest",
                  "per_step",
                  "no_resources"
                ],
                "type": "string",
                "description": "Resource acquisition strategy (default: batch_cheapest)."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_standing_order",
          "description": "Create a server-side standing order with trigger-based automation. Auth required.",
          "inputSchema": {
            "type": "object",
            "required": [
              "trigger_type",
              "trigger_params",
              "action_type",
              "action_params",
              "budget_trx",
              "max_executions"
            ],
            "properties": {
              "budget_trx": {
                "type": "string",
                "description": "Maximum budget in TRX (converted to SUN internally)."
              },
              "expires_at": {
                "type": "string",
                "description": "ISO 8601 expiration date (optional)."
              },
              "action_type": {
                "enum": [
                  "buy_resource",
                  "ensure_resources",
                  "notify_only"
                ],
                "type": "string",
                "description": "Action to perform when triggered."
              },
              "trigger_type": {
                "enum": [
                  "price_below",
                  "price_above",
                  "schedule",
                  "balance_below"
                ],
                "type": "string",
                "description": "Condition that triggers the order."
              },
              "action_params": {
                "type": "object",
                "description": "Action parameters: { resource_type, amount, duration_sec, target_address }."
              },
              "max_executions": {
                "type": "number",
                "description": "Maximum number of times this order can execute."
              },
              "trigger_params": {
                "type": "object",
                "description": "Trigger parameters: { resource, threshold_sun } or { cron }."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_standing_orders",
          "description": "List all standing orders with optional status filter. Auth required.",
          "inputSchema": {
            "type": "object",
            "properties": {
              "status": {
                "enum": [
                  "ACTIVE",
                  "TRIGGERED",
                  "EXHAUSTED",
                  "EXPIRED",
                  "CANCELLED"
                ],
                "type": "string",
                "description": "Filter by status."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_standing_order",
          "description": "Get full details of a single standing order by its UUID. Returns trigger config, action params, budget, executions count, and status. Auth required (API key).",
          "inputSchema": {
            "type": "object",
            "required": [
              "order_id"
            ],
            "properties": {
              "order_id": {
                "type": "string",
                "description": "Standing order UUID (from list_standing_orders)."
              }
            }
          }
        },
        {
          "name": "cancel_standing_order",
          "description": "Cancel a standing order by its UUID. The order is moved to CANCELLED status and will not trigger again. Already-executed actions are NOT reversed. Auth required (API key).",
          "inputSchema": {
            "type": "object",
            "required": [
              "order_id"
            ],
            "properties": {
              "order_id": {
                "type": "string",
                "description": "Standing order UUID to cancel."
              }
            }
          }
        },
        {
          "name": "create_monitor",
          "description": "Create a persistent server-side monitor that fires notifications when a condition is met. Four monitor types: delegation_expiry (warns when leased energy is about to expire so you can re-rent), balance_threshold (fires when an address goes below a TRX/USDT level), price_alert (fires when energy/bandwidth price crosses a SUN threshold), address_activity (fires on any incoming TX). Notification defaults to webhook=true if omitted. Auth required (API key).",
          "inputSchema": {
            "type": "object",
            "required": [
              "monitor_type",
              "params"
            ],
            "properties": {
              "notify": {
                "type": "object",
                "description": "Notification config: { webhook?: boolean, telegram_chat_id?: string }. Defaults to { webhook: true } if omitted."
              },
              "params": {
                "type": "object",
                "description": "Type-specific params. delegation_expiry: { alert_before_sec, auto_renew, resource_type }. balance_threshold: { resource: \"TRX\"|\"ENERGY\"|\"BANDWIDTH\", below: number }. price_alert: { resource: \"ENERGY\"|\"BANDWIDTH\", above_sun?: number, below_sun?: number }. address_activity: { min_amount_trx?: number }."
              },
              "monitor_type": {
                "enum": [
                  "delegation_expiry",
                  "balance_threshold",
                  "price_alert",
                  "address_activity"
                ],
                "type": "string",
                "description": "Type of monitor to create."
              },
              "target_address": {
                "type": "string",
                "description": "TRON address to monitor. Required for delegation_expiry, balance_threshold, address_activity. Not used for price_alert."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "list_monitors",
          "description": "List all monitors you created with create_monitor, optionally filtered by status (ACTIVE/CANCELLED). Each row shows the full monitor UUID (pass to cancel_monitor), monitor type, target address, and status. Note: the Target column will be empty for monitor types that do not have a single watched address — specifically price_alert and balance_threshold (when watching the API key holder rather than a third-party address). For delegation_expiry and address_activity monitors, Target will always be set. Auth required (API key).",
          "inputSchema": {
            "type": "object",
            "properties": {
              "status": {
                "enum": [
                  "ACTIVE",
                  "CANCELLED"
                ],
                "type": "string",
                "description": "Filter by monitor status."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "cancel_monitor",
          "description": "Cancel an active monitor by its UUID. The monitor stops firing notifications. Auth required (API key).",
          "inputSchema": {
            "type": "object",
            "required": [
              "monitor_id"
            ],
            "properties": {
              "monitor_id": {
                "type": "string",
                "description": "Monitor UUID to cancel."
              }
            }
          }
        },
        {
          "name": "withdraw",
          "description": "Withdraw TRX or USDT from your Merx account to an external TRON address. The \"amount\" parameter is interpreted in the currency specified by \"currency\" — i.e. for currency=TRX it is TRX units, for currency=USDT it is USDT units. (The legacy parameter \"amount_trx\" is still accepted as an alias for backwards compatibility, but is misleading when currency is USDT — prefer \"amount\" in new code.) Requires MERX_API_KEY.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address"
            ],
            "properties": {
              "amount": {
                "type": "string",
                "description": "Amount to withdraw, in units of the chosen currency. E.g. \"100\" with currency=TRX = 100 TRX, \"100\" with currency=USDT = 100 USDT."
              },
              "address": {
                "type": "string",
                "description": "Destination TRON address (starts with T)."
              },
              "currency": {
                "enum": [
                  "TRX",
                  "USDT"
                ],
                "type": "string",
                "description": "Currency to withdraw. Default: TRX."
              },
              "amount_trx": {
                "type": "string",
                "description": "DEPRECATED alias for \"amount\" — kept for backwards compatibility. Pass \"amount\" instead in new code."
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "compile_policy",
          "description": "Convert a natural language energy management policy into MERX automation. Creates standing orders and monitors based on your instructions.\n\nExamples:\n- \"Keep 500k energy on my wallet, buy when price is below 55 SUN, max 200 TRX/week\"\n- \"Buy energy every day at 6 AM UTC, 1 million units, for 24 hours\"\n- \"Alert me when my energy drops below 100k\"\n\nReturns a preview of what will be created. Set apply=true to execute.",
          "inputSchema": {
            "type": "object",
            "required": [
              "instruction"
            ],
            "properties": {
              "apply": {
                "type": "boolean",
                "description": "Set to true to create the standing orders. Default false (preview only)."
              },
              "address": {
                "type": "string",
                "description": "TRON address this policy applies to (optional)"
              },
              "instruction": {
                "type": "string",
                "description": "Natural language description of the desired automation policy"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "resource_broadcast",
          "description": "Broadcast a signed TRON transaction with automatic energy optimization.\nIf the target address lacks sufficient energy, MERX purchases the deficit at the best\nmarket price before broadcasting. One call: estimate, buy energy, wait for delegation, broadcast.\n\nRequires MERX_API_KEY with the \"broadcast\" scope, and a pre-signed transaction.\nReturns txid on success, refunds on timeout.\n\nNOTE: This endpoint is currently behind a feature flag and disabled by default in production.\nIf you get a 503 MAINTENANCE error, use the manual flow instead: call ensure_resources to\nprovision energy, then sign and broadcast the transaction with your own TronWeb client.",
          "inputSchema": {
            "type": "object",
            "required": [
              "signed_tx",
              "target_address"
            ],
            "properties": {
              "signed_tx": {
                "type": "string",
                "description": "Hex-encoded signed TRON transaction"
              },
              "target_address": {
                "type": "string",
                "description": "TRON address that will execute the transaction (must match TX sender)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "register_agent",
          "description": "Register your TRON address as an agent on agent.merx.exchange. Required ONCE before using request_payment, create_invoice, watch_address, agent_status, or any other agent payment tool. Pass the TRON address you want to use as the on-chain identity for this API key. Idempotent — calling twice with the same key returns the existing registration. Auth required (API key).",
          "inputSchema": {
            "type": "object",
            "required": [
              "tron_address"
            ],
            "properties": {
              "label": {
                "type": "string",
                "description": "Optional human-readable label (max 64 chars)"
              },
              "tron_address": {
                "type": "string",
                "description": "Your TRON address (T...) that will receive payments and act as the agent identity."
              }
            }
          }
        },
        {
          "name": "request_payment",
          "description": "Create a TRC20 payment request on TRON (USDT, USDC, USDD, or any TRC20). Returns a payment address. Fires webhook when payment arrives (<3 seconds). Use for receiving payments from other agents or humans. Requires agent registration first — call register_agent if you get AGENT_NOT_REGISTERED error.",
          "inputSchema": {
            "type": "object",
            "required": [
              "amount_usdt"
            ],
            "properties": {
              "amount_usdt": {
                "type": "string",
                "description": "Amount in token units (e.g. \"5.00\")"
              },
              "description": {
                "type": "string",
                "description": "What this payment is for"
              },
              "webhook_url": {
                "type": "string",
                "description": "URL to notify on payment (optional)"
              },
              "tolerance_pct": {
                "type": "number",
                "description": "Amount tolerance % (default 0 = exact)"
              },
              "timeout_seconds": {
                "type": "number",
                "description": "Wait timeout (10-3600, default 300)"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "lookup_invoice",
          "description": "Look up a MERX invoice. Shows amount, recipient, token, and status. Agent must sign and broadcast the transfer separately (non-custodial).",
          "inputSchema": {
            "type": "object",
            "required": [
              "invoice_id"
            ],
            "properties": {
              "invoice_id": {
                "type": "string",
                "description": "Invoice UUID (e.g. eaa00c4e-1234-5678-90ab-cdef12345678) returned by create_invoice, or a full payment URL containing /pay/<uuid>."
              }
            }
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "create_invoice",
          "description": "Create an invoice for another agent or human to pay. Returns payment URL, address, and QR code. Payment is detected automatically via ZeroMQ (<3 seconds).",
          "inputSchema": {
            "type": "object",
            "required": [
              "amount_usdt"
            ],
            "properties": {
              "expires_in": {
                "type": "number",
                "description": "Expiry in seconds (60-86400, default 3600)"
              },
              "amount_usdt": {
                "type": "string",
                "description": "Amount in USDT"
              },
              "description": {
                "type": "string",
                "description": "What the invoice is for"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "watch_address",
          "description": "Watch any TRON address for TRC20 transfers (USDT, USDC, USDD, or any token). Fires webhook on each matching transfer. Persistent - runs 24/7 even when conversation ends.",
          "inputSchema": {
            "type": "object",
            "required": [
              "address",
              "webhook_url"
            ],
            "properties": {
              "address": {
                "type": "string",
                "description": "TRON address to watch (T...)"
              },
              "ttl_hours": {
                "type": "number",
                "description": "Watch duration in hours (1-720, default 24)"
              },
              "event_types": {
                "type": "array",
                "items": {
                  "enum": [
                    "usdt_incoming",
                    "usdt_outgoing",
                    "trx_incoming"
                  ],
                  "type": "string"
                },
                "description": "Event types to watch"
              },
              "webhook_url": {
                "type": "string",
                "description": "Webhook URL for notifications"
              },
              "min_amount_usdt": {
                "type": "string",
                "description": "Minimum amount filter (default \"0\")"
              }
            }
          },
          "annotations": {
            "readOnlyHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "agent_status",
          "description": "Get a snapshot of your agent payment service: registered TRON address, count of pending payment requests (request_payment), active address watches (watch_address), and outstanding invoices (create_invoice). Use this right after register_agent to confirm the agent is set up, or any time you want to see how much in-flight activity your agent has. Auth required (API key) and agent must be registered first via register_agent.",
          "inputSchema": {
            "type": "object",
            "properties": {}
          },
          "annotations": {
            "readOnlyHint": true,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "Energy Prices",
          "uri": "merx://prices/energy",
          "mimeType": "application/json",
          "description": "Energy prices from all providers, sorted cheapest first"
        },
        {
          "name": "Bandwidth Prices",
          "uri": "merx://prices/bandwidth",
          "mimeType": "application/json",
          "description": "Bandwidth prices from providers that offer it"
        },
        {
          "name": "Executable Quote Help",
          "uri": "merx://prices/best",
          "mimeType": "application/json",
          "description": "How to request an executable quote with a current provider"
        },
        {
          "name": "Market Analysis",
          "uri": "merx://market/analysis",
          "mimeType": "application/json",
          "description": "Price trends, averages, and buy/wait recommendation"
        },
        {
          "name": "Provider List",
          "uri": "merx://market/providers",
          "mimeType": "application/json",
          "description": "All providers with type, durations, resources, status"
        },
        {
          "name": "Provider Status",
          "uri": "merx://market/providers/status",
          "mimeType": "application/json",
          "description": "Provider health: online/offline, available supply"
        },
        {
          "name": "Account Balance",
          "uri": "merx://account/balance",
          "mimeType": "application/json",
          "description": "Merx balance: TRX available, locked, USDT"
        },
        {
          "name": "Recent Orders",
          "uri": "merx://account/orders/recent",
          "mimeType": "application/json",
          "description": "Last 10 orders with status and cost"
        },
        {
          "name": "Account Stats",
          "uri": "merx://account/stats",
          "mimeType": "application/json",
          "description": "30-day stats: total spent, saved, order count"
        },
        {
          "name": "Auto-Deposit Config",
          "uri": "merx://account/auto-deposit",
          "mimeType": "application/json",
          "description": "Automatic deposit availability and manual funding guidance"
        },
        {
          "name": "Chain Parameters",
          "uri": "merx://network/parameters",
          "mimeType": "application/json",
          "description": "TRON network parameters: burn prices, energy limit"
        },
        {
          "name": "TRX Price",
          "uri": "merx://network/trx-price",
          "mimeType": "application/json",
          "description": "Current TRX price in USD"
        },
        {
          "name": "Token Registry",
          "uri": "merx://reference/tokens",
          "mimeType": "application/json",
          "description": "Well-known TRC20 tokens: addresses, decimals"
        },
        {
          "name": "Active Standing Orders",
          "uri": "merx://standing-orders/active",
          "mimeType": "application/json",
          "description": "Active standing orders with trigger status"
        }
      ],
      "prompts": [
        {
          "name": "buy-energy",
          "description": "Buy TRON energy at the current executable MERX quote and use the quoted provider returned for the active pricing mode",
          "arguments": [
            {
              "name": "amount",
              "required": true,
              "description": "Amount of energy to buy (in energy units)"
            },
            {
              "name": "target_address",
              "required": true,
              "description": "TRON address to receive the energy delegation"
            },
            {
              "name": "duration",
              "required": false,
              "description": "Fixed delegation duration: 2m, 5m, 10m, 15m, 30m, 1h, 3h, 6h, or 24h. Defaults to 1h."
            }
          ]
        },
        {
          "name": "buy-bandwidth",
          "description": "Buy TRON bandwidth at the current executable MERX quote and use the quoted provider returned for the active pricing mode",
          "arguments": [
            {
              "name": "amount",
              "required": true,
              "description": "Amount of bandwidth to buy (in bandwidth units)"
            },
            {
              "name": "target_address",
              "required": true,
              "description": "TRON address to receive the bandwidth delegation"
            },
            {
              "name": "duration",
              "required": false,
              "description": "Fixed delegation duration: 2m, 5m, 10m, 15m, 30m, 1h, 3h, 6h, or 24h. Defaults to 1h."
            }
          ]
        },
        {
          "name": "ensure-resources",
          "description": "Ensure minimum energy and bandwidth on an address, purchasing deficits at the current executable MERX quote",
          "arguments": [
            {
              "name": "target_address",
              "required": true,
              "description": "TRON address to ensure resources on"
            },
            {
              "name": "energy",
              "required": false,
              "description": "Minimum energy to maintain (e.g. 65000 for one USDT transfer)"
            },
            {
              "name": "bandwidth",
              "required": false,
              "description": "Minimum bandwidth to maintain"
            },
            {
              "name": "duration",
              "required": false,
              "description": "Fixed rental duration: 2m, 5m, 10m, 15m, 30m, 1h, 3h, 6h, or 24h. Defaults to 1h."
            }
          ]
        },
        {
          "name": "market-analysis",
          "description": "Full TRON energy and bandwidth market analysis",
          "arguments": []
        },
        {
          "name": "compare-providers",
          "description": "Deep comparison of providers for a specific use case",
          "arguments": [
            {
              "name": "resource",
              "required": true,
              "description": "Resource type: ENERGY or BANDWIDTH"
            },
            {
              "name": "amount",
              "required": false,
              "description": "Amount of resource needed (helps narrow pricing comparison)"
            },
            {
              "name": "frequency",
              "required": false,
              "description": "How often you need this resource (e.g. once, daily, hourly)"
            }
          ]
        },
        {
          "name": "send-usdt",
          "description": "Send USDT (TRC-20) to a TRON address with optimized fees",
          "arguments": [
            {
              "name": "to_address",
              "required": true,
              "description": "Destination TRON address"
            },
            {
              "name": "amount",
              "required": true,
              "description": "Amount of USDT to send"
            }
          ]
        },
        {
          "name": "send-trx",
          "description": "Send TRX to a TRON address",
          "arguments": [
            {
              "name": "to_address",
              "required": true,
              "description": "Destination TRON address"
            },
            {
              "name": "amount",
              "required": true,
              "description": "Amount of TRX to send"
            }
          ]
        },
        {
          "name": "send-token",
          "description": "Send any TRC-20 token to a TRON address",
          "arguments": [
            {
              "name": "token",
              "required": true,
              "description": "Token symbol or contract address (e.g. USDD, JST, or contract address)"
            },
            {
              "name": "to_address",
              "required": true,
              "description": "Destination TRON address"
            },
            {
              "name": "amount",
              "required": true,
              "description": "Amount of tokens to send"
            }
          ]
        },
        {
          "name": "multi-transfer",
          "description": "Send tokens to multiple recipients in one batch operation",
          "arguments": [
            {
              "name": "token",
              "required": true,
              "description": "Token symbol or contract address (e.g. USDT, TRX)"
            },
            {
              "name": "recipients",
              "required": true,
              "description": "Comma-separated list of address:amount pairs (e.g. \"TAddr1:100,TAddr2:200,TAddr3:50\")"
            }
          ]
        },
        {
          "name": "explain-transaction",
          "description": "Analyze and explain a TRON transaction in human-readable terms",
          "arguments": [
            {
              "name": "tx_id",
              "required": true,
              "description": "TRON transaction hash to analyze"
            }
          ]
        },
        {
          "name": "check-wallet",
          "description": "Full wallet overview: balances, resources, staking, and recent activity",
          "arguments": [
            {
              "name": "address",
              "required": true,
              "description": "TRON address to check"
            }
          ]
        },
        {
          "name": "audit-spending",
          "description": "Analyze spending on energy, bandwidth, and fees over a time period",
          "arguments": [
            {
              "name": "period",
              "required": false,
              "description": "Time period to audit: 7d, 30d, or 90d. Defaults to 30d."
            },
            {
              "name": "address",
              "required": false,
              "description": "TRON address to audit. Uses connected wallet if omitted."
            }
          ]
        },
        {
          "name": "monitor-delegations",
          "description": "Show all active resource delegations to and from an address",
          "arguments": [
            {
              "name": "address",
              "required": true,
              "description": "TRON address to check delegations for"
            }
          ]
        },
        {
          "name": "optimize-wallet",
          "description": "Analyze wallet usage patterns and recommend optimizations for staking, resources, and fee reduction",
          "arguments": [
            {
              "name": "address",
              "required": true,
              "description": "TRON address to optimize"
            }
          ]
        },
        {
          "name": "swap-tokens",
          "description": "Swap tokens on TRON DEX with best route and slippage protection",
          "arguments": [
            {
              "name": "from_token",
              "required": true,
              "description": "Token to sell (symbol or contract address, e.g. TRX, USDT)"
            },
            {
              "name": "to_token",
              "required": true,
              "description": "Token to buy (symbol or contract address, e.g. USDD, JST)"
            },
            {
              "name": "amount",
              "required": true,
              "description": "Amount of from_token to swap"
            }
          ]
        },
        {
          "name": "check-token",
          "description": "Get detailed information about a TRC-20 token: price, liquidity, holders, contract verification, and risk assessment",
          "arguments": [
            {
              "name": "token",
              "required": true,
              "description": "Token symbol or contract address to research"
            }
          ]
        },
        {
          "name": "price-check",
          "description": "Get current prices for one or more tokens with 24h change and volume",
          "arguments": [
            {
              "name": "tokens",
              "required": true,
              "description": "Comma-separated list of token symbols (e.g. \"TRX,USDT,JST,SUN\")"
            }
          ]
        },
        {
          "name": "estimate-costs",
          "description": "Estimate the cost of a TRON operation including energy, bandwidth, and fees. Compare burning TRX vs renting resources.",
          "arguments": [
            {
              "name": "operation",
              "required": true,
              "description": "Operation to estimate (e.g. \"send USDT\", \"deploy contract\", \"approve token\", \"stake TRX\")"
            },
            {
              "name": "address",
              "required": false,
              "description": "TRON address to check existing resources against. Helps determine if additional resources are needed."
            }
          ]
        },
        {
          "name": "budget-plan",
          "description": "Create a daily/weekly/monthly budget plan for TRON operations. Calculates optimal resource strategy based on transaction volume.",
          "arguments": [
            {
              "name": "daily_transfers",
              "required": true,
              "description": "Number of token transfers per day (e.g. 10, 50, 200)"
            },
            {
              "name": "token",
              "required": false,
              "description": "Primary token being transferred (e.g. USDT, TRX). Defaults to USDT."
            },
            {
              "name": "bandwidth_intensive",
              "required": false,
              "description": "Whether operations are bandwidth-intensive (true/false, e.g. batch transfers or memo-heavy TXs)"
            }
          ]
        },
        {
          "name": "stake-vs-rent",
          "description": "Compare staking TRX for resources vs renting on Merx. Shows breakeven point and total cost over 30/90/365 days.",
          "arguments": [
            {
              "name": "daily_energy",
              "required": false,
              "description": "Daily energy consumption (e.g. 65000 per USDT transfer)"
            },
            {
              "name": "daily_bandwidth",
              "required": false,
              "description": "Daily bandwidth consumption"
            }
          ]
        },
        {
          "name": "integrate-merx",
          "description": "Generate integration code for Merx SDK",
          "arguments": [
            {
              "name": "language",
              "required": false,
              "description": "Programming language or tool: JS, Python, or curl. Defaults to JavaScript."
            },
            {
              "name": "use_case",
              "required": false,
              "description": "Specific use case for the integration. Defaults to buying energy before TRC20 transfers."
            }
          ]
        },
        {
          "name": "setup-mcp",
          "description": "Set up Merx MCP server for an AI client",
          "arguments": [
            {
              "name": "client",
              "required": true,
              "description": "AI client to configure: Claude Desktop, Cursor, Claude Code, or other"
            },
            {
              "name": "mode",
              "required": false,
              "description": "Server mode: hosted (merx.exchange) or local (self-hosted). Defaults to hosted."
            }
          ]
        },
        {
          "name": "onboard",
          "description": "Set up a new Merx account with API key and deposit address",
          "arguments": [
            {
              "name": "email",
              "required": true,
              "description": "Email address for the new Merx account"
            }
          ]
        },
        {
          "name": "fund-account",
          "description": "Fund your Merx account with TRX",
          "arguments": [
            {
              "name": "amount_trx",
              "required": false,
              "description": "Amount of TRX to deposit. If provided, shows how many transfers this covers."
            }
          ]
        },
        {
          "name": "setup-auto-funding",
          "description": "Automatic Merx account funding is unavailable. Check get_balance and use get_deposit_info or an explicitly requested deposit_trx for manual funding.",
          "arguments": [
            {
              "name": "threshold_trx",
              "required": false,
              "description": "Desired balance threshold for manual review. No automatic funding is configured."
            },
            {
              "name": "deposit_amount_trx",
              "required": false,
              "description": "Desired manual deposit amount in TRX. Sending requires a separate explicit deposit request."
            }
          ]
        },
        {
          "name": "buy-without-account",
          "description": "Legacy resource-invoice purchasing is unavailable. Get a personal Merx deposit address, fund the account with a plain TRX transfer without a memo, and use quoted resource orders.",
          "arguments": [
            {
              "name": "resource",
              "required": true,
              "description": "Resource type to buy: ENERGY or BANDWIDTH"
            },
            {
              "name": "amount",
              "required": true,
              "description": "Amount of resource to buy (in resource units)"
            },
            {
              "name": "target_address",
              "required": true,
              "description": "TRON address to receive the resource delegation"
            },
            {
              "name": "duration",
              "required": false,
              "description": "Fixed duration for the current executable MERX quote: 2m, 5m, 10m, 15m, 30m, 1h, 3h, 6h, or 24h. Defaults to 1h."
            }
          ]
        },
        {
          "name": "simulate-plan",
          "description": "Simulate a multi-step operation before executing to preview costs and outcomes",
          "arguments": [
            {
              "name": "description",
              "required": true,
              "description": "Natural language description of the plan to simulate (e.g. \"send USDT to 5 addresses then swap remaining TRX to USDT\")"
            }
          ]
        },
        {
          "name": "execute-plan",
          "description": "Execute a multi-step plan with resource optimization",
          "arguments": [
            {
              "name": "description",
              "required": true,
              "description": "Natural language description of the plan to execute"
            },
            {
              "name": "resource_strategy",
              "required": false,
              "description": "Resource acquisition strategy: batch_cheapest (buy all resources upfront at best price) or per_step (buy resources before each step). Defaults to batch_cheapest."
            }
          ]
        },
        {
          "name": "setup-standing-order",
          "description": "Create a standing order that buys resources when price conditions are met",
          "arguments": [
            {
              "name": "resource",
              "required": true,
              "description": "Resource type: ENERGY or BANDWIDTH"
            },
            {
              "name": "trigger_price",
              "required": true,
              "description": "Price threshold in SUN per unit that triggers the order"
            },
            {
              "name": "amount",
              "required": true,
              "description": "Amount of resource to buy when triggered"
            },
            {
              "name": "budget_trx",
              "required": false,
              "description": "Maximum TRX budget for the standing order. If omitted, no budget limit."
            }
          ]
        },
        {
          "name": "auto-renew-delegations",
          "description": "Automatically renew resource delegations before they expire",
          "arguments": [
            {
              "name": "address",
              "required": true,
              "description": "TRON address whose delegations should be auto-renewed"
            },
            {
              "name": "max_price_sun",
              "required": false,
              "description": "Maximum price in SUN per energy unit for renewal. Defaults to 40 SUN."
            }
          ]
        }
      ]
    },
    "instructions": null
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}