Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GRAPH_API_KEYYesYour Graph API key from https://thegraph.com/studio

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_marketsA

List every Uniswap version×chain this server can query, with the backing subgraph id and popularity. Start here to see what's available.

discover_marketsA

Re-resolve the best LIVE Uniswap subgraph(s) from The Graph's network subgraph, ranked by curation signal — self-healing discovery that surfaces new/replacement deployments without a code change. Optionally apply the top result as the active market for a (chain, version).

get_token_priceA

Current USD price of a token on Uniswap. Accepts a symbol (e.g. WETH, USDC) or an address. Price is derived on-chain (token's native-denominated price × the native token's USD price); sanity-check a stablecoin should read ~$1.

top_poolsA

Top Uniswap pools on a chain, ranked by lifetime volumeUSD (NOT TVL — TVL is gamed by spam-token pricing). Returns pair, fee tier, volume, fees, and a TVL caveat.

find_poolB

Find the Uniswap pool(s) for a token pair (either order), ranked by volume. Accepts symbols or addresses for each token.

pool_infoA

Detailed stats for one Uniswap pool/pair by address: price, volume, fees, liquidity/reserves (TVL flagged as unreliable).

recent_swapsA

Recent swaps on a chain, newest first — optionally scoped to one pool. Real-time trade flow with USD amounts and the trading wallet.

raw_queryA

Escape hatch: run an arbitrary GraphQL query against the resolved Uniswap subgraph for a (chain, version). V2 exposes pairs, swaps, tokens; V3/V4 expose pools, swaps, tokens. Run a standard { __schema { types { name } } } introspection query first if you need exact entity/field names.

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/PaulieB14/graph-uniswap-mcp'

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