Skip to main content
Glama

Live token market snapshot with AI momentum read

token_market_snapshot
Read-onlyIdempotent

Fetch live DEX token prices, liquidity, market cap, volume, order flow, anomaly flags, and a local LLM momentum/risk read for quick market checks.

Instructions

[$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.

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. First observedv5.3.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, open-world behavior, and the description adds real context beyond them: per-call cost ($0.003), payment rails (x402 USDC or Stripe MPP), a 10-call free lifetime preview via /api/free/*, a 30-60 req/min rate limit, and the concrete degradation contract (degraded=true, LLM summary omitted). That covers cost, auth, throttling, and partial-failure semantics.

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?

Everything is packed into a single dense paragraph, but it is front-loaded with the returned data, then the exclusions, then defaults/degradation, then pricing and limits. No sentence is filler, though the payment and rate-limit clause is compressed to near telegraphic density.

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?

Output schema exists, so return values need no prose explanation. For a 4-parameter, monetized, open-world tool the definition still covers cost, access prerequisites, rate limits, chain default, and degraded-mode behavior, leaving nothing an agent needs before invoking it.

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; the description adds the `chain` default ('base') and the degraded-response consequence of timeout_ms, which goes beyond the field-level text. One caveat: it claims solana is supported while the schema's chain description lists only base, ethereum, arbitrum, and optimism, a minor inconsistency the agent must resolve itself.

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 names the resource (live token market data from DEX pairs) and enumerates the exact fields returned: price, liquidity, FDV, market cap, 24h volume, price change, buy/sell order flow, plus anomaly flags and an LLM momentum/risk read. It explicitly distinguishes itself from two siblings, so an agent can identify it without opening the 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 exclusions with named alternatives: 'Do not use for contract honeypot safety (use token_honeypot_scan) or DeFi yield pools (use defi_yield_pools)'. It also documents the operational condition that a short timeout_ms yields a degraded, LLM-free response, which tells the agent when to expect reduced output.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.