Allowance Check (Base)
allowanceAllowance Check (Base): how much can this spender move from this wallet right now? Reads the live ERC-20 allowance and the owner's balance: UNLIMITED (risk HIGH) / COVERS_FULL_BALANCE / LIMITED / NO_ALLOWANCE, with a safe next action and the exact revoke call (approve(spender, 0)). Optional intended_usd says whether a stablecoin allowance covers your next payment. For agents before approving, paying through a contract, or cleaning up old approvals. Public chain data, never signs. By OMENZ. (MCP calls run in AYNE, the free playzone; production: GET https://www.omenz.org/api/tollbooth/v1/allowance, $0.002 via x402.)
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": {
"owner": "<owner>",
"token": "<token>",
"spender": "<spender>"
},
"name": "allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | owner | |
| token | Yes | token | |
| spender | Yes | spender | |
| intended_usd | No | intended usd |