Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPINION_API_KEYYesYour Opinion.trade API key (required for all operations)
OPINION_CHAIN_IDNoNetwork chain ID (56=BNB mainnet, 97=BNB testnet)56
OPINION_PRIVATE_KEYNoYour Ethereum private key for trading mode (optional, enables trading capabilities with EIP712 signing)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get_markets

List prediction markets with filtering options (limit, offset, status)

get_market_details

Get detailed information about a specific market by ID

get_token_price

Get current price for a specific token/outcome

get_orderbook

Get order book (bids/asks) for a token

get_price_history

Get historical price data (OHLCV) for a token

search_markets

Search markets by keyword or phrase

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/solenyaresearch0000/opinion-MCP'

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