request_purchase
{ "name": "request_purchase", "arguments": { "service_id": "svc_01jd2x3k4m5n6p7q8r9s0t1v2w", "task_id": "weekly-report-42", "idempotency_key": "weekly-report-42-forecast" }}Buy one paid resource by service_id or url. The gateway checks your spending rules, pays, and returns the resource. Use a new idempotency_key per purchase; reuse it to retry the same purchase. Never retry a denial.
stdio · streamable-http at https://api.52-28-238-205.sslip.io/mcp with Authorization: Bearer YOUR_AGENT_KEY (an agent credential)Input
service_idstringoptionalexactly one of service_id, url
urlstringoptionaltask_idstringrequiredidempotency_keystringrequiredinputobjectoptionalpurposestringoptionalmax 500
wait_secondsintegeroptionaldefault 20, max 60
Errors
Business failures return an error result whose text is JSON: {error_code, reason_code, message, retryable, next_action}. Malformed arguments use protocol errors. Every reason code is in the reason code reference.
ABOVE_AUTO_THRESHOLDdo not retryPoll status.
UNKNOWN_MERCHANT_LIMITdo not retryPoll status.
HARD_CAP_EXCEEDEDdo not retryChoose a cheaper service or ask the owner to change the mandate. Do not retry this purchase.
BUDGET_EXCEEDEDdo not retryCall get_spending_status.
NO_FUNDED_CHAINdo not retryAsk the owner to fund a spending wallet.
MANDATE_EXPIREDdo not retryStop.
KILL_SWITCH_ACTIVEretry laterStop; retry later.
TOOLsearch_catalog
Find paid services you can buy, with price, networks and merchant trust tier. Use before request_purchase when you don't know the service_id. Does not spend money.
TOOLrequest_installment_purchase
Start an installment plan (for example 4 x 0.30 USDC) from a merchant's published plan. Always needs owner approval of the total. Use only for plans, not single purchases.