Skip to main content
Glama

Agora MCP

by Fewsats

agora_get_payment_offers

Retrieve payment offers for a product in Agora by providing product details, shipping address, and user information to generate an L402-compatible payment option.

Instructions

Get the payment offers for a product in Agora. Some products do not have variants, in such cases use the product_id as variant_id too. Before calling this tool, check if the user has already provided the shipping address and user information. Otherwise, ask the user for the shipping address and user information. If the user does not provide an `addressName`, use the `firstname` and `lastname` to populate it. Args: slug: The product slug. product_id: The product ID as str delimited by escaped double quotes variant_id: The product variant ID as str delimited by escaped double quotes quantity: The quantity to purchase. shipping_address: The shipping address. user: The user information. Example: product_id = "\"1234567890\"" variant_id = "\"1234567890\"" shipping_address = { "addressName": "John Doe", "addressFirst": "123 Main St", "city": "New York", "state": "NY", "country": "US", "zipCode": "10001" } user = { "firstname": "John", "lastname": "Doe", "email": "john@example.com", } Returns: L402 offer that can be paid by L402-compatible clients.

Input Schema

NameRequiredDescriptionDefault
product_idYes
quantityNo
shipping_addressYes
slugYes
userYes
variant_idYes

Input Schema (JSON Schema)

{ "properties": { "product_id": { "title": "Product Id", "type": "string" }, "quantity": { "default": 1, "title": "Quantity", "type": "integer" }, "shipping_address": { "title": "Shipping Address", "type": "object" }, "slug": { "title": "Slug", "type": "string" }, "user": { "title": "User", "type": "object" }, "variant_id": { "title": "Variant Id", "type": "string" } }, "required": [ "slug", "product_id", "variant_id", "shipping_address", "user" ], "title": "agora_get_payment_offersArguments", "type": "object" }
Install Server

Other Tools from Agora MCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fewsats/agora-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server