mt_shopping_verify
Verify a shopping transaction against a BuyerAgentCredential by checking its signature, spend limits, and trust score, then return a verification receipt with approval status.
Instructions
Verify a shopping transaction against a BuyerAgentCredential.
Checks the credential signature, spend limits, trust score, and returns a verification receipt with approval status.
Args: credential_jws: JWS compact serialization of the BuyerAgentCredential transaction_amount: Transaction amount (e.g. 189.99) transaction_currency: Currency code (e.g. "USDC") merchant_id: Merchant identifier string item_description: Description of the item being purchased
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"credential_jws": "<credential_jws>",
"transaction_amount": "<transaction_amount>",
"transaction_currency": "<transaction_currency>",
"merchant_id": "<merchant_id>",
"item_description": "<item_description>"
},
"name": "mt_shopping_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| merchant_id | Yes | Merchant identifier string | |
| credential_jws | Yes | JWS compact serialization of the BuyerAgentCredential | |
| item_description | Yes | Description of the item being purchased | |
| transaction_amount | Yes | Transaction amount (e.g. 189.99) | |
| transaction_currency | Yes | Currency code (e.g. "USDC") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |