Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FLUID_RPC_BASENoCustom RPC for Base
FLUID_RPC_POLYGONNoCustom RPC for Polygon
FLUID_RPC_ARBITRUMNoCustom RPC for Arbitrum
FLUID_RPC_ETHEREUMNoCustom RPC for Ethereum

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
fluid_get_all_ftokensB

List all fToken (Fluid lending token) addresses on a chain. fTokens are ERC4626-compliant and represent a user's share in the lending pool.

fluid_get_ftoken_detailsA

Get detailed information about a specific fToken including name, symbol, underlying asset, supply rate, rewards rate, total assets, and total supply.

fluid_get_all_ftokens_detailsA

Get details for ALL fTokens on a chain in a single call — names, rates, TVL, and underlying assets. Perfect for a lending dashboard.

fluid_get_user_lending_positionB

Get a user's position in a specific fToken lending pool. Returns fToken shares, underlying asset value, wallet balance, and allowance.

fluid_get_user_all_positionsA

Get all of a user's lending positions across all fTokens on a chain. Returns combined fToken details and user position data.

fluid_get_previewsA

Get conversion previews for deposit/mint/withdraw/redeem operations on an fToken. Useful for estimating output before transacting.

fluid_get_all_vaultsA

List all Fluid vault addresses on a chain. Returns vault addresses and their types (T1, T2, T3, T4).

fluid_get_vault_typeA

Get the type of a specific vault (T1, T2, T3, or T4). T1=10000, T2=20000, T3=30000, T4=40000.

fluid_get_vault_dataA

Get comprehensive data for a specific Fluid vault: supply/borrow tokens with symbols, rates as APY, human-readable collateral factor, liquidation threshold, LTV limits, total supply/borrow, and availability limits.

fluid_get_vault_positionB

Get a specific vault position by its NFT ID. Each Fluid vault position is represented as an NFT. Returns decoded supply (collateral), borrow (debt) in human-readable token amounts, liquidation status, vault config, and rates.

fluid_get_user_vault_nft_idsB

Get all vault position NFT IDs owned by a specific user address.

fluid_get_vault_by_nftB

Get the vault address and decoded position summary for a specific vault position NFT ID.

fluid_get_total_positionsA

Get the total number of vault positions (NFTs) across all vaults on a chain.

fluid_build_lending_depositA

Build an unsigned transaction to deposit assets into a Fluid fToken lending pool. Returns the transaction data that must be signed and sent by the agent's wallet. Uses the ERC4626 deposit() method.

fluid_build_lending_mintA

Build an unsigned transaction to mint a specific number of fToken shares by depositing underlying assets.

fluid_build_lending_withdrawA

Build an unsigned transaction to withdraw underlying assets from a Fluid fToken lending pool. Burns fToken shares in exchange for underlying assets.

fluid_build_lending_redeemA

Build an unsigned transaction to redeem fToken shares for underlying assets. Specify how many shares to burn rather than how many assets to receive.

fluid_build_lending_deposit_nativeA

Build an unsigned transaction to deposit native ETH into a Fluid fToken lending pool (for ETH-based fTokens). No approval needed.

fluid_build_lending_withdraw_nativeA

Build an unsigned transaction to withdraw native ETH from a Fluid fToken lending pool.

fluid_build_token_approveA

Build an unsigned transaction to approve an ERC20 token for spending by a Fluid contract (fToken, vault, DEX pool). Required before deposit/supply operations.

fluid_build_vault_t1_operateA

Build an unsigned transaction to interact with a Vault T1 (single-asset collateral, single-asset debt). T1 operate function is payable.

fluid_build_vault_t2_operateC

Build an unsigned transaction to interact with a Vault T2 (dual-asset collateral, single-asset debt).

fluid_build_vault_t3_operateB

Build an unsigned transaction to interact with a Vault T3 (single-asset collateral, dual-asset debt).

fluid_build_vault_t4_operateB

Build an unsigned transaction to interact with a Vault T4 (dual-asset collateral, dual-asset debt).

Prompts

Interactive templates invoked by user choice

NameDescription
analyze-lending-ratesAnalyze lending rates across all fTokens on a chain to find the best yield opportunities.
check-vault-healthCheck the health of a specific vault position by NFT ID.
find-swap-routeFind the best swap route and estimate output for a token swap on Fluid DEX.

Resources

Contextual data attached and managed by the client

NameDescription
supported-chains
protocol-overview

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/ahmadmardeni1/fluid-mcp-server'

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