Skip to main content
Glama
merkezekre2026

tefas-fund-comparator

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_fundsA

List TEFAS funds by type and optional date range / filters.

Pulls general fund information (code, name, price, AUM, investors) from TEFAS via pytefas. By default returns a snapshot of the latest available day in the range (one row per fund).

get_fund_detailsA

Get general info, optional price history, and portfolio allocation for a fund.

Resolves the fund code (and type if omitted), returns a summary of latest price / AUM / investors, period return, recent price history, and latest asset allocation.

compare_fundsA

Compare multiple TEFAS funds on return, risk, and size metrics.

Fetches price history for each code and computes selected metrics: cumulative/annualized return, volatility, Sharpe ratio, max drawdown, latest AUM, and investor count.

get_portfolio_breakdownA

Get asset allocation (portfolio breakdown) for a TEFAS fund.

Returns holdings percentages such as stocks, reverse repo, eurobonds, government bonds, precious metals, foreign assets, etc. (whatever TEFAS publishes for that fund on the selected date).

get_historical_returnsA

Fetch TEFAS return tables by ranking basis (RB / SB / MB).

Uses tefasfon to pull TEFAS comparative return data:

  • RB (return-based): multi-horizon returns (1M/3M/6M/1Y/…) and risk value when dates are omitted; period return when dates are set.

  • SB (size-based): portfolio size / share count change and net return between two dates (both dates required).

  • MB (management fee-based): fee vs annual return metrics (both dates required).

analyze_performanceA

Analyze risk/return statistics for one or more TEFAS funds.

Computes for each fund (from daily price history):

  • Cumulative return

  • Annualized return

  • Annualized volatility

  • Sharpe ratio (using risk_free_annual)

  • Maximum drawdown

  • Observation count

  • Latest AUM and investor count when available

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/merkezekre2026/tefas-mcp'

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