Skip to main content
Glama

Aiutino Contract Scan

Paid pre-approval check

check_approval

Paid 0.01 USDC (x402, USDC on Base). Call BEFORE approve/permit: is this spender (and token) safe? EOA/contract, upgradeable proxy, admin powers, Sourcify verification, verdict and reasons. Without a payment, returns x402 instructions.

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": {
      "token": "<token>",
      "spender": "<spender>"
    },
    "name": "check_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoEVM chain (default base)base
ownerNoOptional holder; if set, the current allowance is returned
tokenYesToken contract address
spenderYesSpender about to be approved or permitted
x402_paymentNoOptional x402 payment payload, identical to the PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header. If omitted, the tool returns payment instructions (url, price_usdc, payTo) instead of running the paid scan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does well on cost (0.01 USDC on Base via x402), on the payment-fallback path ('returns x402 instructions'), and on what the verdict is based on. It omits things a caller would want for a paid tool: whether a failed/negative verdict is still charged, retry/idempotency behavior, latency, and payment expiry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense and front-loaded: cost, then when to call, then what you get, then the fallback. The telegraphic phrasing ('Paid 0.01 USDC (x402, USDC on Base)') is efficient but mildly cryptic on first read; nothing is genuinely wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid scan tool with no output schema and no annotations, the description covers price, payment mechanism, the no-payment response shape (url, price_usdc, payTo), and the content of the verdict. Combined with a fully documented input schema, an agent has enough to invoke it correctly and to handle the unpaid case.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, but the prose adds little beyond the schema: it names 'spender (and token)' and repeats the x402 payment concept already documented in the x402_payment property. It does not explain semantics the schema leaves open, such as how owner interacts with the verdict or which chain values affect Sourcify coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a concrete question the tool answers ('is this spender (and token) safe?') and enumerates the concrete signals it returns (EOA/contract, upgradeable proxy, admin powers, Sourcify verification, verdict and reasons). The pre-approval framing makes its role in the workflow clear, though it never explicitly distinguishes itself from siblings like free_preview or scan_token, leaving that inference to the payment/scope wording.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Call BEFORE approve/permit' gives a specific, actionable timing condition, and the no-payment fallback behavior is spelled out. There are no stated exclusions or named alternatives (e.g., when to prefer free_preview or scan_token instead), which keeps it short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.