Skip to main content
Glama

fund_type_details

Retrieve detailed information about specific investment fund types in Turkey, including performance metrics and characteristics for informed financial analysis.

Instructions

Belirli bir fon tipinin detaylarını getirir

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeYesFon tipi kodu

Implementation Reference

  • Core handler function that performs the HTTP GET request to the `/fund-types/${type}` API endpoint and returns the FundTypeYields data.
    async getFundTypeDetails(type: string): Promise<FundTypeYields> { const response: AxiosResponse<FundTypeYields> = await this.client.get(`/fund-types/${type}`); return response.data; }
  • src/tools.ts:410-424 (registration)
    MCP tool registration entry defining the name, description, and input schema for 'fund_type_details' tool.
    { name: 'fund_type_details', description: 'Belirli bir fon tipinin detaylarını getirir', inputSchema: { type: 'object', properties: { type: { type: 'string', description: 'Fon tipi kodu', enum: Object.values(FundTypeEnum) } }, required: ['type'] } },
  • TypeScript interface defining the structure of the output data returned by the fund_type_details tool.
    export interface FundTypeYields extends FundType { 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; total_funds: number; total_aum?: number | null; }
  • Enum defining valid fund type codes used in the input parameter 'type' for the tool.
    export enum FundTypeEnum { ALTIN = 'altin', BORCLANMA_ARACLARI = 'borclanma_araclari', DEGISKEN = 'degisken', FON_SEPETI = 'fon_sepeti', GUMUS = 'gumus', HISSE_SENEDI = 'hisse_senedi', HISSE_SENEDI_YOGUN = 'hisse_senedi_yogun', KARMA = 'karma', KATILIM = 'katilim', KIYMETLI_MADENLER = 'kiymetli_madenler', PARA_PIYASASI = 'para_piyasasi', SERBEST = 'serbest', YABANCI = 'yabanci', DIGER = 'diger' }
  • Switch case in handleToolCall that routes the tool invocation to the apiClient handler.
    case 'fund_type_details': return await this.apiClient.getFundTypeDetails(args.type);

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