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.

Input Schema

TableJSON 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: "tempo" (Tempo Moderato testnet, private stablecoin payments) or "robinhood" (Robinhood Chain testnet).tempo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so the safety profile is covered. The description adds genuine context beyond that: it returns code, and a charge settles as a private transfer in a Gloam vault where the chain sees no amount, asset, payer or payee. That privacy/behavioral detail is the main value-add.

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?

Two sentences, front-loaded with what the tool does and then the settlement/privacy detail. No filler, though the package name and protocol parenthetical are slightly dense.

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

Completeness4/5

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

For a read-only how-to tool with two fully documented optional parameters and no output schema, the description gives enough to call it correctly and sets expectations about returned code and vault settlement. It is complete without being exhaustive.

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

Parameters3/5

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

Schema coverage is 100% with both enums fully described (role: pay/charge/both; network: tempo/robinhood), so the schema carries the parameter burden. The description adds no role or network semantics beyond it, which is the expected baseline when coverage is complete.

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 verb+resource: it is a how-to guide for paying or charging privately over MPP, naming the protocol (HTTP 402) and the package (@gloamtrade/mppx-gloam). This is clearly distinct from action siblings like gloam_create_payment_request or gloam_plan_deposit, though it never explicitly contrasts itself with gloam_info, the nearest documentation sibling.

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 only implied: an agent can infer this is the reference to read before implementing MPP payments, since it returns 'code'. There is no explicit when-to-use / when-not-to-use statement and no routing to alternatives such as gloam_info or gloam_connect_full_agent.

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.