Skip to main content
Glama
kemalersin

FonParam MCP

by kemalersin

statistics_by_date

Retrieve investment fund statistics for a specific date from Turkey's financial data. Use this tool to analyze fund performance, view company metrics, and access historical data by providing a date in YYYY-MM-DD format.

Instructions

Belirli bir günün istatistiklerini getirir

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesİstatistik tarihi (YYYY-MM-DD)

Implementation Reference

  • Core handler function in the API client that executes the HTTP GET request to fetch daily statistics for the specified date.
    async getStatisticsByDate(date: string): Promise<DailyStatistics> {
      const response: AxiosResponse<DailyStatistics> = await this.client.get(`/statistics/${date}`);
      return response.data;
    }
  • src/tools.ts:368-381 (registration)
    MCP tool registration defining the name, description, and input schema for 'statistics_by_date'.
    {
      name: 'statistics_by_date',
      description: 'Belirli bir günün istatistiklerini getirir',
      inputSchema: {
        type: 'object',
        properties: {
          date: {
            type: 'string',
            description: 'İstatistik tarihi (YYYY-MM-DD)'
          }
        },
        required: ['date']
      }
    },
  • Tool dispatch handler in FonParamTools.handleToolCall that invokes the API client method with the date argument.
    case 'statistics_by_date':
      return await this.apiClient.getStatisticsByDate(args.date);
  • TypeScript interface defining the structure of the DailyStatistics output returned by the tool.
    export interface DailyStatistics {
      date: string;
      total_funds: number;
      total_companies: number;
      total_investors: number;
      total_aum: number;
      avg_profit: number;
      avg_loss: number;
    }
  • JSON schema for input validation defining the required 'date' parameter (YYYY-MM-DD format).
    inputSchema: {
      type: 'object',
      properties: {
        date: {
          type: 'string',
          description: 'İstatistik tarihi (YYYY-MM-DD)'
        }
      },
      required: ['date']
    }
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states what the tool does (retrieves statistics) without mentioning permissions, rate limits, data format, or any side effects. This is inadequate for a tool that likely involves data retrieval, as it leaves key behavioral traits unspecified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It's appropriately sized for a simple tool, though it could be slightly more informative without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what statistics are returned, their format, or any behavioral context. For a tool with one parameter but no structured output information, more detail is needed to fully guide the agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with the parameter 'date' fully documented in the input schema. The description doesn't add any meaning beyond what the schema provides (e.g., it doesn't explain date constraints or format nuances), so it meets the baseline score of 3 for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Belirli bir günün istatistiklerini getirir' (Retrieves statistics for a specific day) states a clear verb ('getirir') and resource ('istatistikler'), but it's vague about what type of statistics (e.g., financial, economic, or general) and doesn't differentiate from sibling tools like 'statistics' or 'latest_statistics'. It provides a basic purpose but lacks specificity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives such as 'statistics' or 'latest_statistics'. The description implies usage for a specific date, but it doesn't mention prerequisites, exclusions, or any context for choosing this over other tools, leaving the agent with no explicit usage instructions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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