Skip to main content
Glama

ScorpTech x402 Tools

Evm Allowance

evm_allowance
Read-onlyIdempotent

Use this when you need to check which contracts can move a wallet's tokens (approval / drainer risk) before or after signing. ERC-20 allowance matrix for an owner across up to 10 tokens × 10 spenders (defaults: major stables/WETH × Uniswap Permit2, 1inch, CoW, 0x, OpenSea Seaport — verified deployed on-chain). Also reports ERC-721/1155 setApprovalForAll. Flags unlimited (max-uint) approvals. Read-only; no log scan. Returns JSON with: chain, chainId, owner, blockNumber, summary, approvals, tokens, spendersSource. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/evm-allowance

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>"
    },
    "name": "evm_allowance"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownerYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the supplied annotations, the description discloses the matrix scope, default token/spender set, ERC-721/1155 coverage, unlimited-approval flagging, no-log-scan limitation, return fields, pricing, and HTTPS endpoint. This is unusually rich behavioral context for a read-only tool.

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?

The description is front-loaded with the use case and then adds scope, behavior, return fields, pricing, and endpoint. It is dense but mostly earns its space; a more structured presentation would improve scanability.

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

Completeness4/5

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

For a tool with no output schema, the description lists the returned JSON fields and important limitations. However, it does not explain chain selection or whether the owner is evaluated on one chain, multiple chains, or a default chain, which matters for an allowance tool returning `chain` and `chainId`.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must carry the burden for the single `owner` parameter. It clarifies that `owner` is the wallet whose allowances are checked, but it does not specify address format, chain assumptions, or whether custom token/spender lists are unavailable despite mentioning a 10x10 matrix.

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

Purpose5/5

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

The description states a specific verb and resource: checking which contracts can move a wallet's tokens via an ERC-20 allowance matrix, plus ERC-721/1155 setApprovalForAll. It clearly scopes the tool as read-only and focused on approval/drainer risk, which distinguishes it from generic transfer or log tools.

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?

It gives a clear when-to-use case: before or after signing to check approval/drainer risk. It does not name explicit alternatives or when-not-to-use cases, such as using a token-safety or transfer-history sibling instead.

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.

Resources