Skip to main content
Glama

Private payments over MPP

gloam_mpp_how_to
Read-onlyIdempotent

How to pay or charge privately over MPP (the Machine Payments Protocol, HTTP 402) with the gloam method from @gloamtrade/mppx-gloam, with code. A charge settles as a private transfer in a Gloam vault: the chain sees no amount, asset, payer or payee.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gloam_mpp_how_to"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNo"charge" to get paid for an API or tool, "pay" for an agent or app paying one, "both" for both.both
networkNoGloam network: "robinhood-mainnet" (Robinhood Chain mainnet: USDG, GLOAM, PONS, CASHCAT, ETH, AI and ORBIO), "tempo-mainnet" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), "base-mainnet" (Base mainnet: USDC, EURC, USDT, ETH), "ethereum-mainnet" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), "elysium-mainnet" (Elysium mainnet: USDC, then HYPE and KNTQ once their queued deposit limits land; gas in HYPE), or a testnet: "tempo" (Tempo Moderato), "robinhood" (Robinhood Chain testnet), "base" (Base Sepolia) or "ethereum" (Ethereum Sepolia).tempo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG, GLOAM, PONS, CASHCAT, ETH, AI and ORBIO), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), \"base-mainnet\" (Base mainnet: USDC, EURC, USDT, ETH), \"ethereum-mainnet\" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), \"elysium-mainnet\" (Elysium mainnet: USDC; gas in HYPE), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG, GLOAM, PONS, CASHCAT, ETH, AI and ORBIO), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), \"base-mainnet\" (Base mainnet: USDC, EURC, USDT, ETH), \"ethereum-mainnet\" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), \"elysium-mainnet\" (Elysium mainnet: USDC, then HYPE and KNTQ once their queued deposit limits land; gas in HYPE), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."
  2. Changed2 schema fields changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG, GLOAM, PONS, CASHCAT, ETH, AI and ORBIO), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), \"base-mainnet\" (Base mainnet: USDC, EURC, USDT, ETH), \"ethereum-mainnet\" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG, GLOAM, PONS, CASHCAT, ETH, AI and ORBIO), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), \"base-mainnet\" (Base mainnet: USDC, EURC, USDT, ETH), \"ethereum-mainnet\" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), \"elysium-mainnet\" (Elysium mainnet: USDC; gas in HYPE), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."
    • changedInput schema / properties / network / enum
      Previous value: -[
      -  "tempo",
      -  "robinhood",
      -  "base",
      -  "ethereum",
      -  "robinhood-mainnet",
      -  "tempo-mainnet",
      -  "base-mainnet",
      -  "ethereum-mainnet"
      -]New value: +[
      +  "tempo",
      +  "robinhood",
      +  "base",
      +  "ethereum",
      +  "robinhood-mainnet",
      +  "tempo-mainnet",
      +  "base-mainnet",
      +  "ethereum-mainnet",
      +  "elysium-mainnet"
      +]
  3. Changed1 schema field changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG, GLOAM, PONS, CASHCAT; ETH, AI and ORBIO once their limits land), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), \"base-mainnet\" (Base mainnet: USDC, EURC, USDT, ETH), \"ethereum-mainnet\" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG, GLOAM, PONS, CASHCAT, ETH, AI and ORBIO), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), \"base-mainnet\" (Base mainnet: USDC, EURC, USDT, ETH), \"ethereum-mainnet\" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."
  4. Changed1 schema field changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), \"base-mainnet\" (Base mainnet: USDC, EURC, USDT, ETH), \"ethereum-mainnet\" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG, GLOAM, PONS, CASHCAT; ETH, AI and ORBIO once their limits land), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), \"base-mainnet\" (Base mainnet: USDC, EURC, USDT, ETH), \"ethereum-mainnet\" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."
  5. Changed2 schema fields changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), \"base-mainnet\" (Base mainnet: USDC, EURC, USDT, ETH), \"ethereum-mainnet\" (Ethereum mainnet: USDC, USDT, USDG, PYUSD, EURC, ETH), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."
    • changedInput schema / properties / network / enum
      Previous value: -[
      -  "tempo",
      -  "robinhood",
      -  "base",
      -  "ethereum",
      -  "robinhood-mainnet",
      -  "tempo-mainnet"
      -]New value: +[
      +  "tempo",
      +  "robinhood",
      +  "base",
      +  "ethereum",
      +  "robinhood-mainnet",
      +  "tempo-mainnet",
      +  "base-mainnet",
      +  "ethereum-mainnet"
      +]
  6. Changed2 schema fields changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet) or \"base\" (Base Sepolia)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet), \"base\" (Base Sepolia) or \"ethereum\" (Ethereum Sepolia)."
    • changedInput schema / properties / network / enum
      Previous value: -[
      -  "tempo",
      -  "robinhood",
      -  "base",
      -  "robinhood-mainnet",
      -  "tempo-mainnet"
      -]New value: +[
      +  "tempo",
      +  "robinhood",
      +  "base",
      +  "ethereum",
      +  "robinhood-mainnet",
      +  "tempo-mainnet"
      +]
  7. Changed1 schema field changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet, real money: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet, real money: USDC.e, pathUSD, USDT0, OUSD), or a testnet with play money: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet) or \"base\" (Base Sepolia)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet: USDC.e, pathUSD, USDT0, OUSD), or a testnet: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet) or \"base\" (Base Sepolia)."
  8. Changed2 schema fields changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet, real money: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet, real money: USDC.e, pathUSD, USDT0, OUSD), or a testnet with play money: \"tempo\" (Tempo Moderato) or \"robinhood\" (Robinhood Chain testnet)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet, real money: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet, real money: USDC.e, pathUSD, USDT0, OUSD), or a testnet with play money: \"tempo\" (Tempo Moderato), \"robinhood\" (Robinhood Chain testnet) or \"base\" (Base Sepolia)."
    • changedInput schema / properties / network / enum
      Previous value: -[
      -  "tempo",
      -  "robinhood",
      -  "robinhood-mainnet",
      -  "tempo-mainnet"
      -]New value: +[
      +  "tempo",
      +  "robinhood",
      +  "base",
      +  "robinhood-mainnet",
      +  "tempo-mainnet"
      +]
  9. Changed2 schema fields changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"tempo\" (Tempo Moderato testnet, private stablecoin payments) or \"robinhood\" (Robinhood Chain testnet)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet, real money: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet, real money: USDC.e, pathUSD, USDT0, OUSD), or a testnet with play money: \"tempo\" (Tempo Moderato) or \"robinhood\" (Robinhood Chain testnet)."
    • changedInput schema / properties / network / enum
      Previous value: -[
      -  "tempo",
      -  "robinhood"
      -]New value: +[
      +  "tempo",
      +  "robinhood",
      +  "robinhood-mainnet",
      +  "tempo-mainnet"
      +]
  10. Changed2 schema fields changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet, real money: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet, real money: USDC.e, pathUSD, USDT0, OUSD), or a testnet with play money: \"tempo\" (Tempo Moderato) or \"robinhood\" (Robinhood Chain testnet)."New value: +"Gloam network: \"tempo\" (Tempo Moderato testnet, private stablecoin payments) or \"robinhood\" (Robinhood Chain testnet)."
    • changedInput schema / properties / network / enum
      Previous value: -[
      -  "tempo",
      -  "robinhood",
      -  "robinhood-mainnet",
      -  "tempo-mainnet"
      -]New value: +[
      +  "tempo",
      +  "robinhood"
      +]
  11. Changed2 schema fields changed
    • changedInput schema / properties / network / description
      Previous value: -"Gloam network: \"tempo\" (Tempo Moderato testnet, private stablecoin payments) or \"robinhood\" (Robinhood Chain testnet)."New value: +"Gloam network: \"robinhood-mainnet\" (Robinhood Chain mainnet, real money: USDG and GLOAM), \"tempo-mainnet\" (Tempo mainnet, real money: USDC.e, pathUSD, USDT0, OUSD), or a testnet with play money: \"tempo\" (Tempo Moderato) or \"robinhood\" (Robinhood Chain testnet)."
    • changedInput schema / properties / network / enum
      Previous value: -[
      -  "tempo",
      -  "robinhood"
      -]New value: +[
      +  "tempo",
      +  "robinhood",
      +  "robinhood-mainnet",
      +  "tempo-mainnet"
      +]
  12. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotent and non-destructive, so the safety profile is covered. The description adds real value beyond that by explaining that a charge settles as a private transfer in a Gloam vault and that the chain sees no amount, asset, payer or payee — a privacy guarantee an agent could not infer from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence that front-loads the purpose and then the protocol context. It is compact and mostly waste-free, though the parenthetical protocol gloss and package name make it slightly packed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no statement of what the tool actually returns (code snippets, instructions, links), an agent must guess the response shape. It does cover the settlement/privacy behavior well, but the output expectation for a how-to tool is a notable gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with enums fully documented including per-network asset lists and defaults. The description contributes no additional meaning about the role or network parameters, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific activity (how to pay or charge privately over MPP) with the concrete implementation package (@gloamtrade/mppx-gloam) and the settlement model. An agent can distinguish this from gloam_info or gloam_networks, though it never explicitly says it returns guidance/code rather than performing a payment.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the name and the 'how to pay or charge' framing, and the role enum values hint at the two integration scenarios. However, there is no explicit when-to-use guidance, no exclusions, and no routing to alternatives such as gloam_create_payment_request for actually initiating a payment.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.