Verify a signed check receipt
verify_receiptChecks whether a receipt from this service is genuine and unchanged, using MDB Group's published public keys (https://b2b.mdb-group.info/.well-known/mdb-receipt-keys.json). Pass the receipt object (or the whole tool result that contains it, or its JSON text). Optionally pass the result it belongs to, to confirm that the result was not changed either. Answers "valid" (genuine and unchanged) or "invalid" with a reason: UNKNOWN_KEY_ID, BAD_SIGNATURE, MALFORMED, RESULT_MISMATCH or MALFORMED_RESULT (the given result could not be read). "unavailable" (KEYS_NOT_CONFIGURED) means this server has no usable key right now and could not judge the receipt; that is not "invalid". A genuine receipt proves that this service delivered the result at that time, not that the official source said so (except the VIES consultation number).
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": {
"receipt": "<receipt>"
},
"name": "verify_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Optional: the tool result the receipt was issued for, to check it against the receipt's result_sha256. | |
| receipt | Yes | The receipt object, the whole result that carries a 'receipt' field, or the same as JSON text. |