Skip to main content
Glama

top_performing_funds

Identify high-performing investment funds in Turkey by analyzing fund data. Compare and evaluate fund performance to support investment decisions.

Instructions

En iyi performans gösteren fonları getirir

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reference_fundsNoReferans fon kodları (virgülle ayrılmış, opsiyonel)

Implementation Reference

  • The core handler function that makes the API GET request to '/funds/top-performing' endpoint, optionally passing reference funds as query parameter, and returns FundYield[]
    async getTopPerformingFunds(referenceFunds?: string): Promise<FundYield[]> { const params = referenceFunds ? { funds: referenceFunds } : {}; const response: AxiosResponse<FundYield[]> = await this.client.get('/funds/top-performing', { params }); return response.data; }
  • src/tools.ts:152-163 (registration)
    MCP tool registration entry defining the name, description, and input schema for top_performing_funds tool.
    name: 'top_performing_funds', description: 'En iyi performans gösteren fonları getirir', inputSchema: { type: 'object', properties: { reference_funds: { type: 'string', description: 'Referans fon kodları (virgülle ayrılmış, opsiyonel)' } } } },
  • Tool dispatch logic in handleToolCall that routes the call to the apiClient handler.
    case 'top_performing_funds': return await this.apiClient.getTopPerformingFunds(args.reference_funds);
  • Type definition for FundYield, the output type returned by the top_performing_funds tool.
    export interface FundYield { code: string; title?: string; type?: string; risk_value?: number | null; yield_1d?: number | null; yield_1w?: number | null; yield_1m?: number | null; yield_3m?: number | null; yield_6m?: number | null; yield_ytd?: number | null; yield_1y?: number | null; yield_3y?: number | null; yield_5y?: number | null; }

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/kemalersin/fonparam-mcp'

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