Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
X402_SESSION_TOKENNoA pre-funded x402 session token (prefixed `x402s_...`) supported by the local stdio MCP server for authenticated paid tool calls.
X402_PAYMENT_SIGNATURENoAn x402 payment signature supported by the local stdio MCP server for authorized paid tool calls.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
web_searchA

[$0.002] Fast live web and news search JSON (up to 5 batched queries) with relevance score, sentiment, and entities. $0.002/call — 2.5x to 5x cheaper than $0.005-$0.01 search APIs. Do not use for single-URL extraction (use web_fetch_markdown) or crypto ticker feeds (use news_crypto_feed). q and query are aliases, queries overrides them for up to 5 batched lookups (1 HTTP request), and omitting all returns top headlines. Live web/RSS data, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 60 HTTP req/min.

web_fetch_markdownA

[$0.002] Fetch any public HTTPS webpage (SSRF-guarded), strip ads/nav boilerplate, and return clean LLM-ready Markdown, word count, summary, and extracted entities ($0.002/call). Do not use for searching across sites (use web_search) or probing x402 paywalls (use x402_paywall_probe). Only summarize=true invokes the local LLM, and expiring timeout_ms returns degraded=true with extracted Markdown but no summary. Live SSRF-guarded HTTPS fetch, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

news_crypto_feedA

[$0.002] Get real-time cryptocurrency and DeFi news headlines enriched with per-article sentiment scores and mentioned token tickers in structured JSON. Do not use for general web search (use web_search) or SEC filings (use sec_company_lookup). ticker and asset are aliases, and sort='quality' (default) ranks by freshness+tier while 'newest' sorts strictly chronologically. Live feeds, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

sec_company_lookupA

[$0.002] Look up public company financials, CIK, recent SEC EDGAR filings (10-K/10-Q/8-K), and recent news sentiment by stock ticker (supports up to 5 batched tickers). Do not use for crypto tokens (use token_market_snapshot) or open web search (use web_search). tickers overrides ticker to batch up to 5 symbols, while include_news=false skips headline sentiment to reduce latency. Live SEC EDGAR data, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

x402_paywall_probeA

[$0.002] Pre-flight x402 endpoint security firewall & prompt-injection detector. Probes any URL unpaid to catch price spikes, SIWx spoofing, fake USDC, and prompt injections ($0.002/call). Do not use for EVM calldata simulation (use evm_tx_simulate) or token bytecode scans (use token_honeypot_scan). method sets the HTTP probe verb (GET vs POST) used to trigger the 402 header, deep_audit=true runs prompt-injection checks, and max_acceptable_usd caps price validation. Live HTTP probe, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

token_market_snapshotA

[$0.003] Live token price, liquidity, FDV, market cap, 24h volume, price change, and buy/sell order flow from DEX pairs, plus deterministic anomaly flags and a local qwen3.5:4b momentum and risk read. Do not use for contract honeypot safety (use token_honeypot_scan) or DeFi yield pools (use defi_yield_pools). chain defaults to 'base' (supports base, ethereum, arbitrum, optimism, solana), and expiring timeout_ms returns degraded=true omitting the LLM summary. Live DEX data, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

token_honeypot_scanA

[$0.01] Token risk verdict & honeypot scan ($0.01/call — 50% cheaper than $0.02 verdicts): proxy upgradeability, owner renouncement, mint/blacklist/fee/trading-toggle bytecode, DEX liquidity, 0-100 score & AI grade. Do not use for token price/FDV/liquidity (use token_market_snapshot), protocol TVL checks (use defi_protocol_tvl_check), or pre-tx simulation (use evm_tx_simulate). chain accepts EVM networks (base, ethereum, arbitrum, optimism; not Solana), and expiring timeout_ms returns degraded=true omitting the LLM verdict. Live RPC bytecode + DEX, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

defi_yield_poolsA

[$0.03] Rank cross-chain DeFi liquidity pools with TVL >= $5M by risk-adjusted real base APY, impermanent loss exposure, and strategic allocation advice. Do not use for cross-chain swap arbitrage (use defi_cross_arb_plan) or wallet borrow health (use defi_position_shield). chain defaults to 'base' (pass 'all' to scan all supported chains at $5M+ TVL), and expiring timeout_ms returns degraded=true with deterministic rankings only. Live DeFiLlama data, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 20 req/min.

evm_tx_simulateA

[$0.04] Trigger When: vetting an EVM tx or off-chain Permit2/EIP-712 signature. Workflow Outcome: runs calldata/typed-data decode, bytecode & taint audit, eth_call simulation, and safe rewrite. Do not use for DeFi protocol TVL/circuit-breaker checks (use defi_protocol_tvl_check) or token honeypot scans (use token_honeypot_scan). Supply to+data for calldata simulation, typed_data for off-chain EIP-712/Permit2 vetting, or both; from_addr enables sender-accurate eth_call. Live RPC/bytecode/taint check, read-only non-custodial (no broadcast); requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

defi_protocol_tvl_checkA

[$0.05] Trigger When: deciding whether to pause or exit a DeFi protocol. Workflow Outcome: checks paused/owner/proxy slots, bytecode, TVL shock, DEX liquidity, and 48h exploit feeds. Do not use for single-tx calldata simulation (use evm_tx_simulate), single-token honeypot scans (use token_honeypot_scan), or wallet borrow health (use defi_position_shield). Provide contract_address for on-chain paused()/proxy/DEX checks, protocol for DeFiLlama TVL shock, or both (omitting both returns 400). Live RPC/DeFiLlama/DexScreener, read-only non-custodial; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

defi_position_shieldA

[$0.04] Trigger When: guarding a DeFi wallet against liquidation or stale approvals. Workflow Outcome: stress-tests Aave/Compound health factor (-10%/-20%) and builds unsigned repay & revoke txs. Do not use for pool yield discovery (use defi_yield_pools) or wallet PnL logs (use wallet_treasury_pnl). The -10% and -20% collateral drops are fixed stress simulations, while target_health_factor sets the safety target used to size unsigned_aave_repay_tx. Live Aave/Compound RPCs, read-only non-custodial (no broadcast); requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

wallet_treasury_pnlA

[$0.04] Trigger When: auditing wallet history, multi-asset portfolio USD value, or agent readiness. Workflow Outcome: aggregates ETH/WETH/USDC portfolio, nonce history, top counterparties, taint, and PnL. Do not use for DeFi borrow liquidation checks (use defi_position_shield) or protocol TVL checks (use defi_protocol_tvl_check). lookback_blocks is clamped to 100-2000 (default 1000) to keep eth_getLogs fast across public RPCs. Live RPC/log scan, read-only non-custodial; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

defi_cross_arb_planA

[$0.04] Trigger When: sizing cross-chain DEX arbitrage after all fees. Workflow Outcome: verifies dual-chain RPCs, deducts gas, bridge, and slippage costs, and outputs a tranche plan. Do not use for DeFi yield pool ranking (use defi_yield_pools) or single-token snapshots (use token_market_snapshot). source_chain and destination_chain must differ, and profitable_after_costs turns false whenever gas+bridge+slippage exceed spread. Live DEX/RPC, read-only non-custodial plan; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.

agent_session_openA

[$1.00] Deposit $1.00 USDC once to mint an HMAC-signed Bearer session token (x402s_...) for zero-402 high-frequency API calls with atomic balance debits. Do not use for single paid calls or read-only checks (call any tool directly with x402/MPP). Every call charges $1.00 USDC and mints a fresh x402s_... Bearer session (does not top up prior sessions); ttl_minutes sets expiry and payer_address binds ownership. Persists prepaid meter in SQLite (non-custodial); requires x402/MPP at 30-60 req/min.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.5/5.0

Scored across 14 tools

Disambiguation4/5

Descriptions explicitly carve up the space with 'Do not use X (use Y)' cross-references, making selection straightforward for tools like web_search vs web_fetch_markdown and token_market_snapshot vs token_honeypot_scan. There is residual overlap within the on-chain cluster (token_market_snapshot, token_honeypot_scan, defi_protocol_tvl_check, evm_tx_simulate all ingest an address and return risk signals), but the guidance disambiguates them well.

Naming Consistency4/5

All names are snake_case with clear domain prefixes (web_, news_, sec_, x402_, token_, defi_, evm_, wallet_, agent_), which is very predictable. Minor deviation in ordering: some are verb-final/verb-second (web_search, evm_tx_simulate) while others are noun phrases (token_market_snapshot, defi_yield_pools, news_crypto_feed).

Tool Count5/5

14 tools sits comfortably in the well-scoped range and each one covers a distinct capability (search, fetch, crypto news, SEC, x402 probing, token data, security scans, DeFi analysis, session minting). No tool appears redundant or filler.

Completeness4/5

The surface covers a full research-to-risk workflow: data gathering, on-chain snapshots, security/exploit checks, DeFi planning, tx simulation, and prepaid session management. Gaps are minor — no historical OHLC/price time series, no general cross-wallet balance endpoint, and no batch multi-tool orchestration beyond single-call aliases.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues