Skip to main content
Glama

Server Details

Uniswap - 17 tools for swap quotes, liquidity pools, and trading data

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
junct-bot/uniswap-mcp
GitHub Stars
0

See and control every tool call

Log every tool call with full inputs and outputs
Control which tools are enabled per connector
Manage credentials once, use from any MCP client
Monitor uptime and get alerted when servers go down

Available Tools

17 tools
exactInputInspect

Calls exactInput(params: { path: string, recipient: string, deadline: string, amountIn: string, amountOutMinimum: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns amountOut (uint256).

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYestuple. Fields: path, recipient, deadline, amountIn, amountOutMinimum.
exactInputSingleInspect

Calls exactInputSingle(params: { tokenIn: string, tokenOut: string, fee: string, recipient: string, deadline: string, amountIn: string, amountOutMinimum: string, sqrtPriceLimitX96: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns amountOut (uint256).

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYestuple. Fields: tokenIn, tokenOut, fee, recipient, deadline, amountIn, amountOutMinimum, sqrtPriceLimitX96.
exactOutputInspect

Calls exactOutput(params: { path: string, recipient: string, deadline: string, amountOut: string, amountInMaximum: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns amountIn (uint256).

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYestuple. Fields: path, recipient, deadline, amountOut, amountInMaximum.
exactOutputSingleInspect

Calls exactOutputSingle(params: { tokenIn: string, tokenOut: string, fee: string, recipient: string, deadline: string, amountOut: string, amountInMaximum: string, sqrtPriceLimitX96: string }). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns amountIn (uint256).

ParametersJSON Schema
NameRequiredDescriptionDefault
paramsYestuple. Fields: tokenIn, tokenOut, fee, recipient, deadline, amountOut, amountInMaximum, sqrtPriceLimitX96.
factoryInspect

Calls factory(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns address.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

multicallInspect

Calls multicall(data: string[]). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. Returns results (bytes[]).

ParametersJSON Schema
NameRequiredDescriptionDefault
dataYesbytes[] (hex-encoded bytes, 0x-prefixed).
refundETHInspect

Calls refundETH(). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

selfPermitInspect

Calls selfPermit(token: string, value: string, deadline: string, v: string, r: string, s: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
rYesbytes32 (32-byte hex string, 0x-prefixed).
sYesbytes32 (32-byte hex string, 0x-prefixed).
vYesuint8 (uint8, pass as decimal string).
tokenYesaddress (Ethereum address, 0x-prefixed).
valueYesuint256 (uint256, pass as decimal string).
deadlineYesuint256 (uint256, pass as decimal string).
selfPermitAllowedInspect

Calls selfPermitAllowed(token: string, nonce: string, expiry: string, v: string, r: string, s: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
rYesbytes32 (32-byte hex string, 0x-prefixed).
sYesbytes32 (32-byte hex string, 0x-prefixed).
vYesuint8 (uint8, pass as decimal string).
nonceYesuint256 (uint256, pass as decimal string).
tokenYesaddress (Ethereum address, 0x-prefixed).
expiryYesuint256 (uint256, pass as decimal string).
selfPermitAllowedIfNecessaryInspect

Calls selfPermitAllowedIfNecessary(token: string, nonce: string, expiry: string, v: string, r: string, s: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
rYesbytes32 (32-byte hex string, 0x-prefixed).
sYesbytes32 (32-byte hex string, 0x-prefixed).
vYesuint8 (uint8, pass as decimal string).
nonceYesuint256 (uint256, pass as decimal string).
tokenYesaddress (Ethereum address, 0x-prefixed).
expiryYesuint256 (uint256, pass as decimal string).
selfPermitIfNecessaryInspect

Calls selfPermitIfNecessary(token: string, value: string, deadline: string, v: string, r: string, s: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
rYesbytes32 (32-byte hex string, 0x-prefixed).
sYesbytes32 (32-byte hex string, 0x-prefixed).
vYesuint8 (uint8, pass as decimal string).
tokenYesaddress (Ethereum address, 0x-prefixed).
valueYesuint256 (uint256, pass as decimal string).
deadlineYesuint256 (uint256, pass as decimal string).
sweepTokenInspect

Calls sweepToken(token: string, amountMinimum: string, recipient: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
tokenYesaddress (Ethereum address, 0x-prefixed).
recipientYesaddress (Ethereum address, 0x-prefixed).
amountMinimumYesuint256 (uint256, pass as decimal string).
sweepTokenWithFeeInspect

Calls sweepTokenWithFee(token: string, amountMinimum: string, recipient: string, feeBips: string, feeRecipient: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
tokenYesaddress (Ethereum address, 0x-prefixed).
feeBipsYesuint256 (uint256, pass as decimal string).
recipientYesaddress (Ethereum address, 0x-prefixed).
feeRecipientYesaddress (Ethereum address, 0x-prefixed).
amountMinimumYesuint256 (uint256, pass as decimal string).
uniswapV3SwapCallbackInspect

Calls uniswapV3SwapCallback(amount0Delta: string, amount1Delta: string, _data: string). Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
_dataYesbytes (hex-encoded bytes, 0x-prefixed).
amount0DeltaYesint256 (int256, pass as decimal string).
amount1DeltaYesint256 (int256, pass as decimal string).
unwrapWETH9Inspect

Calls unwrapWETH9(amountMinimum: string, recipient: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
recipientYesaddress (Ethereum address, 0x-prefixed).
amountMinimumYesuint256 (uint256, pass as decimal string).
unwrapWETH9WithFeeInspect

Calls unwrapWETH9WithFee(amountMinimum: string, recipient: string, feeBips: string, feeRecipient: string). Requires ETH value to be sent with the transaction. Write function — may have access control restrictions (e.g. onlyOwner). Check contract source for modifier requirements before calling. No return value.

ParametersJSON Schema
NameRequiredDescriptionDefault
feeBipsYesuint256 (uint256, pass as decimal string).
recipientYesaddress (Ethereum address, 0x-prefixed).
feeRecipientYesaddress (Ethereum address, 0x-prefixed).
amountMinimumYesuint256 (uint256, pass as decimal string).
WETH9Inspect

Calls WETH9(). Read-only — does not modify contract state. Unrestricted — any address can call this read function. Returns address.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Verify Ownership

This connector has been claimed. The /.well-known/glama.json file has been verified and ownership is confirmed.

Glama periodically re-verifies ownership. If the file is removed, the claim will be revoked.

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.