Skip to main content
Glama
kemalersin

FonParam MCP

by kemalersin

latest_statistics

Retrieve current investment fund statistics from Turkey's FonParam API to analyze and compare fund performance data.

Instructions

Son istatistikleri getirir

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core implementation of the tool logic: makes HTTP GET request to '/statistics/latest' endpoint and returns DailyStatistics.
    async getLatestStatistics(): Promise<DailyStatistics> {
      const response: AxiosResponse<DailyStatistics> = await this.client.get('/statistics/latest');
      return response.data;
    }
  • src/tools.ts:360-367 (registration)
    Registration of the 'latest_statistics' tool in getTools(), including description and empty input schema (no parameters required).
    {
      name: 'latest_statistics',
      description: 'Son istatistikleri getirir',
      inputSchema: {
        type: 'object',
        properties: {}
      }
    },
  • Tool dispatch handler in handleToolCall switch statement that delegates to the apiClient.getLatestStatistics() method.
    case 'latest_statistics':
      return await this.apiClient.getLatestStatistics();

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