validate_mandate_expiry
Check whether a payment mandate is still valid by comparing its expiration timestamp against a caller-supplied current epoch time; returns is_valid for expiry guardrails.
Instructions
Check a mandate's expiry by unix-epoch (seconds) comparison. The caller supplies now_timestamp (the server never reads the clock); a mandate is valid while now is before expiration. Returns is_valid.
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": {
"expiration_timestamp": "<expiration_timestamp>",
"now_timestamp": "<now_timestamp>"
},
"name": "validate_mandate_expiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| now_timestamp | Yes | Current time to evaluate against, epoch secs. | |
| expiration_timestamp | Yes | Mandate expiry, unix epoch seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||