Skip to main content
Glama

ARYSPHERE x402 chain reads and token verdicts

x402_eth_reads_v1__eth_mainnet_erc20_allowance

Read-only

Ethereum mainnet ERC-20 allowance a holder granted a spender. Ethereum mainnet ERC-20 allowance. Takes query parameters token (ERC-20 contract, 0x + 40 hex), owner (0x + 40 hex) and spender (0x + 40 hex). Returns the raw allowance read from the contract.

GET https://api.arysphere.com/v1/ventures/x402_eth_reads_v1/eth_mainnet_erc20_allowance. Same payment terms as that HTTP route. Call once with no payment. The result is the payment terms. Retry the same call with the signed payment at _meta["x402/payment"].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYes0x + 40 hex
tokenYesERC-20 contract, 0x + 40 hex
spenderYes0x + 40 hex

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true (a safe read), and the description adds meaningful context beyond that: the return is the raw allowance read from the contract, and the two-step x402 payment flow (unpaid call yields payment terms, retry carries the signed payment at _meta["x402/payment"]). That payment protocol disclosure is valuable behavioral information not present in the annotations.

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

Conciseness3/5

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

The purpose is front-loaded, but the opening two sentences say the same thing twice ("Ethereum mainnet ERC-20 allowance a holder granted a spender. Ethereum mainnet ERC-20 allowance."), which is clear waste. The trailing payment-flow sentences do earn their place.

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?

With no output schema, the description steps in to say it returns the raw contract allowance, and it explains the payment flow and all three required parameters. For a single-value read with a non-obvious auth/payment protocol, this is nearly complete.

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 100%, so the schema already documents owner, spender, and token with their 0x+40 hex formats. The description merely restates the same parameter list and formats, adding no semantics beyond the schema. Baseline 3 is appropriate.

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 specific resource and operation: read an ERC-20 allowance that a holder granted a spender on Ethereum mainnet. The resource (allowance) is inherently distinct from sibling reads like erc20_balanceof, erc20_totalsupply, and erc721_ownerof, so an agent can route to it. It falls short of a 5 only because it never explicitly names or contrasts those siblings.

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

Usage Guidelines3/5

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

It gives explicit invocation guidance for the x402 payment handshake (call once without payment to get terms, retry with the signed payment). However, it gives no guidance on when to choose this tool over alternatives such as erc20_balanceof, leaving selection to inference from the resource name.

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