Skip to main content
Glama

fund_type_details

Retrieve detailed information for a specific fund type using its code, enabling analysis and comparison of investment funds in Turkey via the FonParam MCP server.

Instructions

Belirli bir fon tipinin detaylarını getirir

Input Schema

NameRequiredDescriptionDefault
typeYesFon tipi kodu

Input Schema (JSON Schema)

{ "properties": { "type": { "description": "Fon tipi kodu", "enum": [ "altin", "borclanma_araclari", "degisken", "fon_sepeti", "gumus", "hisse_senedi", "hisse_senedi_yogun", "karma", "katilim", "kiymetli_madenler", "para_piyasasi", "serbest", "yabanci", "diger" ], "type": "string" } }, "required": [ "type" ], "type": "object" }

Implementation Reference

  • Core handler function that executes the tool logic by making an API request to retrieve details for the specified fund type.
    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)
    Registration of the 'fund_type_details' tool in the getTools() method, defining its metadata and input schema.
    { 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'] } },
  • Tool dispatcher in handleToolCall method that routes the call to the specific implementation.
    case 'fund_type_details': return await this.apiClient.getFundTypeDetails(args.type);
  • Enum defining valid fund type codes used in the tool's input schema.
    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' }
  • TypeScript interface defining the structure of the output data for fund type details.
    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; }

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