Skip to main content
Glama

Arc allowance

arc_allowance

Allowance check on Arc before an approval: what owner already approved to spender (default USDC), unlimited or not, in USD, the owner balance, the spender name if it is a contract we know (never guessed), risk signals. A non-token is refused before payment. $0.001 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for the terms, sign them with your own wallet, call again with payment.

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

Input Schema

NameRequiredDescriptionDefault
ownerYesthe approving wallet (0x...)
tokenNooptional: the token (0x...), default USDC
paymentNoa signed x402 payment (the base64 payload you would put in PAYMENT-SIGNATURE). Pass it and the purchase completes inside this tool call.
spenderYesthe spender (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/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: it discloses cost ($0.001 per call), accepted payment rails (USDC on Arc/Base/Solana, XNT on X1), the two-step signed-payment handshake, the refusal path for non-tokens, and that spender names are 'never guessed'. It doesn't say whether this is a read-only lookup or describe latency/rate behavior, which is the main remaining gap.

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 content is front-loaded: the check and its outputs come first, then cost and the payment handshake. The first sentence is dense with a comma-separated output list, but every clause carries information the agent needs; nothing is padding.

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?

Without an output schema or annotations, the description still covers what is returned, what it costs, how to pay across the two calls, and what happens on invalid input. That is everything an agent needs to invoke this paid check correctly on the first attempt.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description goes further by explaining the purpose of the `payment` parameter within the two-call workflow rather than merely restating the schema text. The default-USDC behavior for `token` is echoed from the schema but is reinforced in context.

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 ('Allowance check on Arc') plus the exact outputs: approved amount to spender, unlimited flag, USD value, owner balance, resolved spender name, risk signals. It is clear what the tool returns, but it never names or contrasts a sibling such as arc_payment_check or arc_send_guard, so the agent must infer the boundary itself.

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?

Usage context is explicit: run it 'before an approval' to see what an owner already approved to a spender. The paid-call procedure is spelled out precisely (call once without `payment` for terms, sign with your own wallet, call again with `payment`). What's missing is exclusions or named alternatives for overlapping checks.

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