Skip to main content
Glama

Graph Uniswap MCP

npm version npm downloads license node

Simulate a Uniswap swap before you make it — with no RPC, no node, and no key beyond a free Graph API key.

One MCP interface over Uniswap V2, V3 and V4 across Ethereum, Arbitrum, Base, Polygon, Optimism and BSC, powered by The Graph.

quote_swap  pool=0x8ad5…e6d8  tokenIn=WETH  amountIn=100

{ "quotable": true,  "amount_out": 223661.14,  "token_out": "USDC",
  "effective_price": 2236.61,  "spot_price": 2250.80,
  "price_impact_pct": 0.6291,  "fee_pct": 0.3,  "ticks_crossed": 2 }

Why this exists

Most Uniswap tooling can tell an agent what a pool is. Very little can tell it what a trade would actually cost — and that is the only question that precedes moving money.

Uniswap's own routing-api answers it, but it is self-host-only: an AWS CDK deployment plus RPC provider keys. @uniswap/v3-sdk answers it too, but it drags ~300MB of Solidity build artifacts (hardhat → @nomicfoundation/edr-* prebuilt binaries) into node_modules, which is a poor trade for a server launched with npx.

Everything the math needs — sqrtPrice, tick, liquidity, feeTier, and the initialised ticks — is already in the subgraph. So this server fetches that and runs the protocol's own concentrated-liquidity math locally, in ~200 lines of BigInt with zero runtime dependencies beyond the MCP SDK and zod.

We do not ask you to trust that. test/fixtures/v3-quote-oracle.json holds real mainnet pool state plus expected outputs generated by @uniswap/v3-sdk, and npm test asserts every case matches to the wei — including trades that cross 26 initialised ticks. Not "close". Identical. Rounding direction is exactly where a reimplementation of this math goes wrong, so the test tolerates none.

Related MCP server: Uniswap Trader MCP

What it refuses to do

The failure that matters for a pre-trade tool is not an error — it is a confident wrong number, because the caller acts on it and never finds out. So quote_swap returns quotable: false with a reason instead of a figure when it cannot be trusted:

Situation

Why it refuses

V4 pool with a hook

Hooks can override the fee and the pricing curve, so simulating the vanilla curve would be wrong. On Base the top V4 pools by volume are hook-driven with zero in-range liquidity — this is the common case, not an edge case.

Trade larger than the liquidity in view

The tick window is ±20,000 ticks. A trade that consumes all of it gets a lower_bound_amount_out, explicitly not a quote.

Zero in-range liquidity

Nothing to swap against at the current tick.

No ticks entity on the deployment

The liquidity curve is unknown. Every mapped market now exposes ticks except V4 on Base.

TVL is reported as null, deliberately

Uniswap V3/V4 native subgraphs accumulate totalValueLockedUSD from per-event deltas, and it drifts. Measured 2026-08-19 on the canonical USDC/WETH 0.3% pool:

Source

USDC

WETH

On-chain balance

6,110,083

5,337

Native V3 subgraph

138,939,548

61,693

That is 22.7x high on a blue-chip pool, so "spam-token pools inflate TVL" — the usual explanation, and the one earlier versions of this README gave — does not account for it. Prior versions shipped that number with a caveat string attached. Agents read fields, not prose, so the caveat did nothing.

tvl_usd is now null on V3/V4 paths. V2 reserve0/reserve1 are real token balances and are still returned. For actual depth, use quote_swap — simulating the trade is a truthful answer to "how deep is this pool", and a fabricated scalar is not.

Tools

Tool

What it does

quote_swap

Simulate an exact-input swap: amount out, effective price, price impact, ticks crossed

list_markets

Every version×chain and its backing subgraph

discover_markets

Re-resolve live subgraphs; with apply:true, replace a market only if it is broken

get_token_price

USD price of a token (symbol or address)

top_pools

Top pools on a chain, ranked by volume

find_pool

Pool(s) for a token pair, either order

pool_info

Full stats for one pool/pair

recent_swaps

Newest swaps, optionally scoped to a pool

raw_query

Arbitrary GraphQL against the resolved subgraph

All tools except list_markets take chain plus an optional version (v2/v3/v4). Chain aliases (eth, arb, matic, bnb, …) are accepted.

Coverage, precisely

Chain

V2

V3

V4

quote_swap

Ethereum

default

✅ pin v4

V3 + V4

Arbitrum

default

✅ pin v4

V3

Base

default

⚠️ pin v4

V3

Polygon

default

✅ pin v4

V3 + V4

Optimism

default

✅ pin v4

V3

BSC

default

✅ pin v4

V3

Omit version and you get V3 wherever it exists. Earlier versions ranked by query traffic, which picked the most queried market rather than the most useful one: chain:"base" landed on V4, whose top pools by volume are zero-liquidity hook pools reporting billions in fabricated volume. Pinning a version always overrides this.

⚠️ Base V4 is servable when pinned, but is not chosen for you: its top pools by volume are hook pools with zero in-range liquidity. Uniswap V4 on Ethereum is the opposite — real hookless pairs (USDC/USDT, WBTC/cbBTC, ETH/USDC) with a ticks entity, so quote_swap works there too.

Pool field names are detected, not assumed: V3 uses feeTier/sqrtPrice/feesUSD while uniswap-v4-ethereum uses fee/sqrtPriceX96/totalFeesUSD and exposes tickSpacing. A new deployment with either convention works without a code change.

Ranking is always by volumeUSD, never TVL — a single spam-token pool can claim trillions in fake liquidity, so a TVL sort returns junk at the top. This holds even on subgraphs whose per-pool TVL is accurate.

discover_markets only heals what is broken

apply: true used to install the top GRT-signal name match unconditionally, which could displace Uniswap Labs' canonical deployment with a stranger and break the market for the rest of the session — invisibly, since list_markets still showed the old id. It now probes the incumbent first, keeps it if healthy, and probes any replacement before installing it. Candidates are always listed in live_signal_candidates whether or not anything is applied.

Setup

1. Get a free Graph API key at https://thegraph.com/studio (Billing → API Keys — first 100k queries/month are free).

2. Add the server to your MCP client. No install needed — npx fetches the published build.

Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json (Windows: %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "uniswap": {
      "command": "npx",
      "args": ["-y", "graph-uniswap-mcp"],
      "env": { "GRAPH_API_KEY": "your_key_here" }
    }
  }
}

Claude Code:

claude mcp add uniswap -e GRAPH_API_KEY=your_key_here -- npx -y graph-uniswap-mcp

Try it

"What would selling 100 WETH into the USDC/WETH 0.3% pool on Ethereum actually get me?"

"Compare price impact for a 50 ETH sell across the 0.05% and 0.3% pools."

"Find the USDC/WETH pools on Base and show me recent swaps."

Accuracy envelope

Be precise about what the number means:

  • The simulation runs against the subgraph's most recently indexed block, not the pending state. Real execution depends on the state at inclusion — MEV, pending swaps and indexer lag all move it.

  • It is a single-pool simulation. It does not split across pools or hops; it is not a router.

  • Exact-input only.

  • V2 uses constant-product math (exact). V3/V4 use tick-walking math, wei-exact versus @uniswap/v3-sdk on the pinned oracle.

Development

npm ci
npm run build
npm test          # offline gate: MCP handshake + tool registry + wei-exact swap math
npm run test:live # deeper checks against live subgraphs (needs GRAPH_API_KEY)

To regenerate the oracle fixture (the only thing that needs the Uniswap SDK installed):

npm i --no-save @uniswap/v3-sdk @uniswap/sdk-core
node scripts/gen-oracle.mjs

License

MIT

Available Tools

8 tools
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).

ParametersJSON Schema
NameRequiredDescriptionDefault
applyNoIf true (with chain+version), set the top result as the active subgraph for this session
chainNoFilter to a chain
versionNoUniswap version: v2, v3, or v4. Omit to use the highest-volume version on that chain.

TDQS

A4.1/5.0
Behavior4/5

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

Without annotations, the description carries full transparency burden. It discloses the self-healing discovery behavior, the optional application of the top result as active market ('for this session'), and the ability to surface new deployments. It does not detail error cases or authentication needs, but the core behavioral traits are well communicated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first distills the core functionality and key differentiators (self-healing, no code changes) in a single, information-dense sentence; the second describes the optional apply behavior. Every word earns its place with no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of an output schema and the tool's complexity (discovery with optional application), the description should clarify what the tool returns (e.g., the top subgraph details or confirmation). It mentions 'apply the top result' but does not specify return value or session persistence, leaving the agent with an incomplete picture.

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?

All three parameters have descriptions in the schema (100% coverage). The description adds value by explaining that chain and version can be omitted and that, if omitted, the highest-volume version is used. This provides practical semantics beyond the bare schema.

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 clearly states the specific action ('Re-resolve') and resource ('best LIVE Uniswap subgraph(s) from The Graph's network subgraph, ranked by curation signal'). It distinguishes the tool from siblings like list_markets by emphasizing self-healing discovery of new deployments without code changes, making the unique purpose unmistakable.

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

Usage Guidelines3/5

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

The description implies usage context (e.g., for dynamically discovering the best subgraph) and optionally applying it as active market, but does not explicitly state when to use this tool versus alternatives like list_markets or find_pool. It lacks guidance on when not to use it or what prerequisites exist.

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

find_poolB

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

ParametersJSON Schema
NameRequiredDescriptionDefault
chainYesChain: ethereum, arbitrum, base, polygon, optimism, or bsc (aliases like eth/arb/matic/bnb are accepted)
tokenAYes
tokenBYes
versionNoUniswap version: v2, v3, or v4. Omit to use the highest-volume version on that chain.

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions ranking by volume but omits behavioral traits like pagination, error handling, authentication needs, rate limits, or behavior when no pool is found.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences with no filler. The main purpose and input details are front-loaded, making it easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 4 parameters, no output schema, and no annotations, the description is incomplete. It does not explain the return format (e.g., list of pool addresses, volume details), pagination, or error scenarios, which are critical for an agent to use it correctly.

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 coverage is 50% (chain and version described; tokenA and tokenB not). The description adds that tokens can be symbols or addresses, which adds value over the schema, but does not fully compensate for the missing descriptions of tokenA/tokenB.

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 clearly states the verb 'Find', the resource 'Uniswap pool(s) for a token pair', and includes important details like ranking by volume and accepting symbols/addresses. It distinguishes from siblings like 'pool_info' and 'top_pools' by focusing on discovery via token pair.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool vs siblings such as 'list_markets' or 'top_pools'. It does not state prerequisites, exclusions, or typical use cases beyond the basic purpose.

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

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
chainYesChain: ethereum, arbitrum, base, polygon, optimism, or bsc (aliases like eth/arb/matic/bnb are accepted)
tokenYesToken symbol or 0x address
versionNoUniswap version: v2, v3, or v4. Omit to use the highest-volume version on that chain.

TDQS

A4.4/5.0
Behavior4/5

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

Explains the on-chain derivation (token price × native token USD price), providing insight into how the price is computed. No annotations exist, so description covers behavioral aspects well. Could note that price may be delayed or require specific chain state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with main purpose, no unnecessary words. Highly concise while covering key details.

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?

With no output schema, the description could mention the return format (e.g., float in USD). However, the tool name and description imply a numeric price. Adequate for a simple lookup tool.

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 covers all three parameters with descriptions. Description adds value: explains token accepts symbol or address, chain accepts aliases, and version omission uses highest-volume. Enhances understanding beyond schema.

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?

Clearly states it returns the current USD price of a token on Uniswap. Specifies inputs (symbol or address) and mentions the derivation method. Distinct from siblings like pool_info or list_markets.

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

Usage Guidelines4/5

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

Describes accepted inputs (symbol/address, chain, optional version) and gives a sanity-check tip. Does not explicitly contrast with siblings, but the purpose is clear enough that this is the price lookup tool.

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

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.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries full burden. It discloses that the tool returns subgraph id and popularity for all available Uniswap version×chain pairs. It doesn't discuss rate limits or performance, but for a simple list with no parameters, this is sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no waste. The purpose is front-loaded, and every word earns its place.

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?

Given no parameters and no output schema, the description adequately conveys what is returned (subgraph id, popularity) and that it lists all. It could mention format or ordering, but it's largely complete for a simple list.

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?

There are zero parameters, and schema coverage is 100%. The description adds no parameter-specific meaning, but baseline is 3 for such high coverage.

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 clearly states the tool lists every Uniswap version×chain pair with subgraph id and popularity. The verb 'list' and resource 'markets' are specific, and it distinguishes itself from siblings like 'discover_markets' by being a simple listing.

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

Usage Guidelines3/5

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

The phrase 'Start here to see what's available' implies initial discovery usage, but it provides no explicit when-not or alternatives compared to siblings like 'discover_markets' or 'find_pool.' It lacks exclusion guidance.

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

pool_infoA

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

ParametersJSON Schema
NameRequiredDescriptionDefault
poolYesPool/pair contract address (0x…)
chainYesChain: ethereum, arbitrum, base, polygon, optimism, or bsc (aliases like eth/arb/matic/bnb are accepted)
versionNoUniswap version: v2, v3, or v4. Omit to use the highest-volume version on that chain.

TDQS

A3.8/5.0
Behavior3/5

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

The description warns that TVL is flagged as unreliable, which is a useful behavioral caveat. However, with no annotations provided, it does not disclose other traits such as data staleness, rate limits, or whether the call is read-only. The one caveat is helpful but not comprehensive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that is front-loaded with the purpose ('Detailed stats') and covers key aspects without waste. It is highly concise and structured effectively.

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?

Given no output schema, the description lists expected return fields (price, volume, fees, liquidity/reserves), which is adequate for an info tool. Missing typical fields like token symbols or pair name, but 'detailed stats' implies coverage.

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 baseline is 3. The description adds context like 'by address' for the pool parameter and mentions version omission behavior, but these add marginal value beyond the schema.

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 clearly states that it provides 'Detailed stats for one Uniswap pool/pair by address', listing key data points like price, volume, fees, and liquidity/reserves. This distinguishes it from sibling tools like 'find_pool' or 'top_pools'.

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

Usage Guidelines3/5

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

The description implies use when you have a specific pool address and need stats, but it does not explicitly state when to avoid this tool or suggest alternatives. For example, it doesn't mention that 'top_pools' or 'list_markets' might be better for discovery.

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

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
chainYesChain: ethereum, arbitrum, base, polygon, optimism, or bsc (aliases like eth/arb/matic/bnb are accepted)
queryYesGraphQL query string
versionNoUniswap version: v2, v3, or v4. Omit to use the highest-volume version on that chain.
variablesNo

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations provided, the description carries full burden. It discloses that the tool runs arbitrary queries and suggests introspection for field discovery. However, it does not mention potential risks, rate limits, authentication, or that queries may fail. The behavioral traits are moderately transparent but could be more explicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise at three sentences. The first sentence immediately clarifies purpose, the second adds version-specific details, and the third provides a practical tip. No extraneous words; every sentence adds value. Well-structured and front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (arbitrary GraphQL, multiple versions, optional parameters) and lack of output schema, the description covers the core idea and key hints. However, it omits details about the return format (raw GraphQL response), error handling, or any constraints. It is adequate for basic use but leaves gaps for an agent needing full context.

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?

The description adds meaningful context beyond the schema, such as which entities are exposed per Uniswap version (V2: pairs, swaps, tokens; V3/V4: pools, swaps, tokens) and that omitting version uses the highest-volume one. It also recommends running introspection queries, which helps the agent understand how to use the parameters effectively.

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 clearly states the tool's purpose: 'run an arbitrary GraphQL query against the resolved Uniswap subgraph for a (chain, version).' It uses specific verbs and resources, and clearly distinguishes itself from sibling tools which cover specific queries. The 'Escape hatch' label further indicates it is a fallback for custom needs.

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

Usage Guidelines4/5

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

The description implicitly indicates when to use this tool (when other tools do not cover the desired query) by calling it an 'Escape hatch'. It provides hints like running introspection queries first. However, it does not explicitly state exclusions or directly compare to siblings, leaving some ambiguity.

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

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
poolNoPool/pair address to scope to
chainYesChain: ethereum, arbitrum, base, polygon, optimism, or bsc (aliases like eth/arb/matic/bnb are accepted)
firstNo
versionNoUniswap version: v2, v3, or v4. Omit to use the highest-volume version on that chain.

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description partially discloses behavior: it states results are real-time, contain USD amounts, and include the trading wallet. However, it omits details on pagination (despite the 'first' param), rate limits, caching, or whether the data is mutable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences (23 words) with zero waste. The key information (chain scope, ordering, optional pool filter, output contents) is front-loaded and efficiently presented.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 4 parameters and no output schema, the description covers the main purpose and core output attributes. However, it lacks explanation for the 'first' (page size) parameter and does not clarify version behavior fully (though the schema provides details). It is adequate but not exhaustive.

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 75%, but the description adds meaningful context beyond the schema: it explains that scoping to a pool is optional and that USD amounts and wallet addresses are returned. The 'first' parameter lacks a schema description, and the description does not address it, but the other parameters are well-explained.

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 uses a specific verb ('Recent swaps') and clearly identifies the resource ('on a chain') with ordering ('newest first'). It distinguishes from siblings like 'top_pools' by focusing on individual swap events rather than aggregate pool data.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives such as 'find_pool' or 'get_token_price'. The description implies usage for viewing recent trades but does not provide when-not or alternative tool names.

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

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.

ParametersJSON Schema
NameRequiredDescriptionDefault
chainYesChain: ethereum, arbitrum, base, polygon, optimism, or bsc (aliases like eth/arb/matic/bnb are accepted)
firstNoHow many (default 10)
versionNoUniswap version: v2, v3, or v4. Omit to use the highest-volume version on that chain.

TDQS

A4.5/5.0
Behavior4/5

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

Without annotations, the description carries full burden. It reveals that ranking uses volumeUSD (not TVL) and includes a TVL caveat about spam-token pricing. It also specifies return fields (pair, fee tier, volume, fees, TVL caveat). It does not mention auth needs, rate limits, or data freshness, but for a read-only query, this is adequate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences: first sentence states purpose and key caveat, second lists returns. No redundant words, every sentence earns its place. Front-loaded with the most critical information (ranking by volumeUSD, not TVL).

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?

The description fully explains the tool's purpose, ranking logic, return fields, and a caveat. Since there is no output schema, the description adequately covers what the agent receives. With 3 parameters all documented in schema and the description adding behavioral context, it is complete for the tool's complexity.

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% with good descriptions (chain aliases, first min/max/default, version options). The description adds value by explaining the ranking metric (volumeUSD), the TVL caveat, and the output fields, which supplements the schema. A 5 would require additional parameter details not in schema, but the added context is sufficient.

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 clearly states the tool ranks Uniswap pools by lifetime volumeUSD, explicitly distinguishes from TVL-based ranking, and lists returned fields. The verb 'top' combined with 'ranked by lifetime volumeUSD' is specific and differentiates from sibling tools like pool_info or find_pool.

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

Usage Guidelines4/5

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

The description implies usage for retrieving top Uniswap pools by volume on a chain. It does not explicitly state when not to use or mention alternatives, but the context is clear enough for an agent to decide. A slightly higher score would require explicit when-to-use or when-not-to-use conditions.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 8 tool updatesv0.2.3
    • First observeddiscover_markets
    • First observedfind_pool
    • First observedget_token_price
    • First observedlist_markets
    • First observedpool_info
    • First observedraw_query
    • First observedrecent_swaps
    • First observedtop_pools

TDQS

A3.9/5.0

Scored across 8 tools

Disambiguation5/5

Each tool targets a distinct purpose: market listing, pool details, swaps, custom queries, market discovery, token price, top pools, and pool finding. No two tools have overlapping functionality, ensuring clear selection.

Naming Consistency4/5

All tool names use snake_case, but the verb + noun pattern is not uniform. For example, 'list_markets' and 'get_token_price' are verb-oriented, while 'pool_info' and 'top_pools' are noun-oriented. This minor inconsistency slightly reduces clarity.

Tool Count5/5

With 8 tools, the server is well-scoped for querying Uniswap data. Each tool adds value without redundancy, covering market discovery, pool analytics, swaps, and token pricing. The count feels natural for the domain.

Completeness4/5

The tool set covers core Uniswap operations: listing markets, pool details, swaps, token price, top pools, and pool finding. Missing are token metadata (e.g., symbol, decimals) and historical data beyond recent swaps. The 'raw_query' escape hatch partially compensates.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers