Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-token-allowance

Token Allowance: Reads an ERC-20 allowance for an owner and spender on Base or Ethereum via eth_call 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
chainNo
ownerNo
tokenNo
addressNo
spenderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "address"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "token"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed5 schema fields changed
    • removedInput schema / properties / address / description
      Removed value: -"Address to process"
    • removedInput schema / properties / chain / description
      Removed value: -"Chain to process"
    • removedInput schema / properties / owner / description
      Removed value: -"Owner to process"
    • removedInput schema / properties / spender / description
      Removed value: -"Spender to process"
    • removedInput schema / properties / token / description
      Removed value: -"Token to process"
  3. First observed

TDQS

C2.9/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: it usefully discloses that the call is a read via eth_call, the supported chains (Base or Ethereum), and a commercial constraint (5 free trial calls per signed wallet) implying a signed-wallet/auth requirement. It does not say what happens on a non-existent token, unsupported chain, or exhausted quota, nor what the return looks like.

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?

One front-loaded sentence with the mechanism and scope up front, followed by a short promotional tag. The free-trial/emoji tail is marketing rather than definition and is the only real padding.

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

Completeness2/5

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

For a 5-parameter tool with zero schema coverage, no annotations, and no output schema, the description is too thin — it leaves the `address` vs `token` relationship, optionality, and return shape unexplained. The chain and auth hints help, but an agent could easily call this with the wrong parameter combination.

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 0% across 5 parameters, so the description must compensate. It covers owner, spender, token (implicitly the ERC-20 contract) and chain, but never explains the `address` parameter or the anyOf rule that requires either `address` or `token` — the single most confusing part of the schema is left unresolved.

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 gives a specific verb and resource ('Reads an ERC-20 allowance'), names the two inputs that matter (owner, spender), and scopes it to Base or Ethereum via eth_call. It does not explicitly distinguish itself from the closely named sibling x402-allowance-scan, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when to prefer a different tool, and no prerequisites stated beyond the promotional note about free trial calls. The agent must infer that this is the direct single-pair allowance lookup and that the scan sibling does something broader.

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.