Skip to main content
Glama
romudille-bit

AgentPay x402 — Crypto Data Tools for AI Agents

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_SPENDNoThe maximum USDC budget cap allowed for the session (e.g., '0.05').0.05
STELLAR_NETWORKNoThe Stellar network to connect to ('testnet' or 'mainnet').testnet
STELLAR_SECRET_KEYYesYour Stellar secret key (starting with 'S') used to fund tool calls via USDC.
AGENTPAY_GATEWAY_URLNoThe URL of the AgentPay gateway.https://gateway-production-2cc2.up.railway.app

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
token_price

Get the current USD price of any cryptocurrency token

Use when: You need the current USD price, 24h change, or market cap of any cryptocurrency. Returns: price_usd, change_24h_pct, market_cap_usd, coin_id

Price: $0.001 USDC per call

wallet_balance

Get the token balances for any Ethereum or Stellar wallet address

Use when: You need to look up the token holdings of an Ethereum or Stellar wallet address. Returns: list of token balances (symbol, amount) for the given address

Price: $0.002 USDC per call

dex_liquidity

Get liquidity depth and volume for a token pair on DEXs

Use when: You need 24h trading volume, market cap, or all-time high for a token pair on decentralized exchanges. Returns: volume_24h_usd, market_cap_usd, price_usd, ath_usd, price_change_24h_pct

Price: $0.003 USDC per call

gas_tracker

Get current Ethereum gas prices (slow, standard, fast)

Use when: You need to know current Ethereum gas prices before submitting a transaction or estimating costs. Returns: slow_gwei, standard_gwei, fast_gwei, base_fee_gwei, estimated confirmation times

Price: $0.001 USDC per call

dune_query

Run any Dune Analytics query and return live onchain results by query ID

Use when: You need deep onchain analytics from a specific Dune query — protocol revenue, user counts, custom metrics. Returns: rows[], columns[], row_count, generated_at from the Dune Analytics query result

Price: $0.005 USDC per call

fear_greed_index

Crypto Fear & Greed Index (0=extreme fear, 100=extreme greed) with optional history

Use when: You need to gauge overall crypto market sentiment or mood — whether the market is fearful or greedy. Returns: value (0–100), value_classification (e.g. 'Greed'), optional history[]

Price: $0.001 USDC per call

crypto_news

Latest crypto news and community sentiment from r/CryptoCurrency for any token

Use when: You need recent news headlines or community sentiment for one or more crypto tokens. Returns: headlines[] with title, url, sentiment (bullish/neutral/bearish), score, published_at

Price: $0.003 USDC per call

defi_tvl

DeFi protocol Total Value Locked from DeFiLlama. Returns top 10 or a specific protocol.

Use when: You need the Total Value Locked in a specific DeFi protocol or want to compare the top protocols by TVL. Returns: tvl, change_1h, change_1d, change_7d, chains[], category for the protocol (or top 10 list)

Price: $0.002 USDC per call

whale_activity

Detect recent large wallet movements for a token (whale tracking)

Use when: You need to detect large token transfers that may signal institutional moves, accumulation, or sell-offs. Returns: large_transfers[] with from, to, amount, usd_value, minutes_ago; total_volume_usd

Price: $0.002 USDC per call

token_security

Scan any token contract for honeypot, rug pull, and security risks

Use when: You need to check if a token contract is safe before trading or investing. Returns: risk_level, is_honeypot, buy_tax, sell_tax, holder_count, owner_address, is_mintable, can_take_back_ownership

Price: $0.002 USDC per call

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/romudille-bit/agentpay'

If you have feedback or need assistance with the MCP directory API, please join our Discord server