Skip to main content
Glama

top_performing_funds

Identify and retrieve top-performing funds in Turkey based on predefined criteria using the FonParam MCP server input fund codes for reference comparison

Instructions

En iyi performans gösteren fonları getirir

Input Schema

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

Input Schema (JSON Schema)

{ "properties": { "reference_funds": { "description": "Referans fon kodları (virgülle ayrılmış, opsiyonel)", "type": "string" } }, "type": "object" }

Implementation Reference

  • The handler logic for the 'top_performing_funds' tool call within the handleToolCall switch statement, delegating execution to the API client.
    case 'top_performing_funds': return await this.apiClient.getTopPerformingFunds(args.reference_funds);
  • src/tools.ts:151-163 (registration)
    Registration of the 'top_performing_funds' tool in the getTools() method, including name, description, and input schema.
    { 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)' } } } },
  • Input schema for validating parameters of the 'top_performing_funds' tool.
    inputSchema: { type: 'object', properties: { reference_funds: { type: 'string', description: 'Referans fon kodları (virgülle ayrılmış, opsiyonel)' } } }
  • Core helper function that performs the HTTP request to retrieve top performing funds, using optional reference funds as parameters.
    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; }

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