Skip to main content
Glama

NEAR MCP

Official

ref_finance_get_pools

Find liquidity pools on Ref Finance based on two tokens, prioritizing higher liquidity and better rates to optimize user transactions.

Instructions

Search for liquidity pools on the Ref Finance exchange contract based on two tokens. Prioritize pools with higher liquidity and better rates for the user.

Input Schema

NameRequiredDescriptionDefault
networkIdNomainnet
tokenAYes
tokenBYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "networkId": { "default": "mainnet", "enum": [ "testnet", "mainnet" ], "type": "string" }, "tokenA": { "additionalProperties": false, "properties": { "contractId": { "description": "The first token contract id", "type": "string" }, "symbol": { "description": "The first token symbol", "type": "string" } }, "required": [ "contractId", "symbol" ], "type": "object" }, "tokenB": { "additionalProperties": false, "properties": { "contractId": { "description": "The second token contract id", "type": "string" }, "symbol": { "description": "The second token symbol", "type": "string" } }, "required": [ "contractId", "symbol" ], "type": "object" } }, "required": [ "tokenA", "tokenB" ], "type": "object" }

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/nearai/near-mcp'

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