Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable detailed logging
NETWORKNoNetwork configuration: mainnet or testnetmainnet
CACHE_TTLNoCache time-to-live in seconds300
PRIVATE_KEYNoOptional private key for sending transactions (keep secure)
ENABLE_CACHENoEnable caching for better performance
FULL_NODE_URLNoTRON full node URLhttps://api.trongrid.io
EVENT_SERVER_URLNoTRON event server URLhttps://api.trongrid.io
TRONGRID_API_KEYNoOptional TronGrid API key for higher rate limits
SOLIDITY_NODE_URLNoTRON solidity node URLhttps://api.trongrid.io

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_balanceB

Get TRX balance for an address

get_account_resourcesB

Get account resources (bandwidth and energy)

send_trxC

Send TRX to an address

get_transactionC

Get transaction details by hash

get_blockB

Get block information with smart size management to prevent token overflow

get_current_block_numberA

Get current block number only (compact output)

contract_callC

Call a smart contract function

estimate_energyC

Estimate energy consumption for a contract call

get_java_tron_releasesC

Get latest java-tron releases from GitHub

search_tron_docsC

Search TRON documentation and get relevant resources

get_tron_referenceB

Get quick reference for TRON concepts

get_trx_priceA

Get current TRX price from CoinGecko

get_trx_market_dataB

Get detailed TRX market data

get_network_statisticsC

Get comprehensive TRON network statistics

get_energy_consumptionC

Get energy consumption statistics

get_defi_tvlC

Get DeFi Total Value Locked data

get_staking_infoB

Get TRX staking rate and information

get_chain_parametersC

Get current chain parameters

get_energy_pricesA

Get current energy and bandwidth prices

get_java_tron_readmeC

Get java-tron README documentation

get_java_tron_fileB

Get content of a specific file from java-tron repository

search_java_tronC

Search in java-tron repository

get_java_tron_structureC

Get java-tron repository structure and modules

get_java_tron_protosB

Get Protocol Buffer definitions from java-tron

get_java_tron_issuesC

Get recent issues from java-tron repository

estimate_contract_energyC

Estimate energy consumption for smart contract interaction using TRON node

batch_estimate_energyB

Batch estimate energy for multiple contract calls

analyze_contract_gasC

Analyze gas costs for all functions in a smart contract

clear_energy_cacheD

Clear energy estimation cache

trongrid_api_callC

Direct call to TronGrid API endpoint

tronscan_api_callD

Direct call to TronScan API endpoint

get_trongrid_blockC

Get block information directly from TronGrid API

get_trongrid_accountB

Get account information directly from TronGrid API

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/Netts-official/tron_mcp_server'

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