Skip to main content
Glama

x402, crypto, defi, base, usdc, evm, security, sec-edgar, news, web-search

Live token market snapshot with AI momentum read

token_market_snapshot
Read-onlyIdempotent

[$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 bytecode safety (use token_contract_audit) 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.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "token_market_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoOptional chain filter: base, ethereum, arbitrum, optimism
tokenNoToken contract address (0x...) or symbol (e.g. AERO)
timeout_msNoOptional deadline in ms. If the local LLM would exceed it, the response comes back fast with "degraded": true and non-LLM/cached data
session_tokenNoOptional prepaid session token (x402s_...) from https://apix402data.com/pay after the 10-call free preview.

Output Schema

NameRequiredDescriptionDefault
aiNo
pairNo
as_ofNo
chainNo
flagsNo
tokenNo
cachedNo
marketNo
degradedNo
endpointNo
data_sourceNo
schema_versionNo
pairs_consideredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / session_token
      Added value: +{
      +  "description": "Optional prepaid session token (x402s_...) from https://apix402data.com/pay after the 10-call free preview.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations cover only the safety profile (readOnly, idempotent, non-destructive, open-world), and the description adds the operationally critical details they cannot: price ($0.003), payment paths (x402 USDC or Stripe MPP, 10 free lifetime calls via /api/free/*), rate limits of 30-60 req/min, and that an expiring timeout_ms returns `degraded=true` with the LLM summary omitted. That is exactly the context an agent needs before committing a paid call.

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?

Information is front-loaded: what you get, then exclusions, then defaults/failure mode, then pricing and limits. It is dense and packed into essentially one long block with a bracketed price prefix, so sentence-per-idea structure would read better, but there is no filler.

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?

For a paid, open-world data tool with an output schema and full annotation coverage, the description supplies the missing commercial and failure-mode context thoroughly. The one gap is the chain enumeration mismatch (solana claimed here, absent from the schema), which could lead an agent to pass an unsupported value.

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 chain, token and timeout_ms semantics, including the degraded fallback — the description largely restates these. It does add the default value of `chain`, but its chain list includes solana while the schema's chain description stops at optimism, so the extra detail is partly contradictory rather than clarifying.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb-and-resource statement — live token price, liquidity, FDV, market cap, 24h volume, price change and DEX buy/sell flow — plus anomaly flags and a local LLM momentum read. It explicitly separates itself from token_contract_audit and defi_yield_pools, so an agent can place it among siblings without opening a schema.

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

Usage Guidelines5/5

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

It gives explicit negative routing ("Do not use for contract bytecode safety (use token_contract_audit) or DeFi yield pools (use defi_yield_pools)") with the named alternatives, and the positive case is unambiguous from the first clause. Nothing about when to reach for this tool is left to inference.

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