Skip to main content
Glama
kemalersin

FonParam MCP

by kemalersin

top_performing_funds

Identify high-performing investment funds in Turkey by analyzing fund data. Compare and evaluate fund performance to support investment decisions.

Instructions

En iyi performans gösteren fonları getirir

Input Schema

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

Implementation Reference

  • The core handler function that makes the API GET request to '/funds/top-performing' endpoint, optionally passing reference funds as query parameter, and returns FundYield[]
    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;
    }
  • src/tools.ts:152-163 (registration)
    MCP tool registration entry defining the name, description, and input schema for top_performing_funds tool.
      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)'
          }
        }
      }
    },
  • Tool dispatch logic in handleToolCall that routes the call to the apiClient handler.
    case 'top_performing_funds':
      return await this.apiClient.getTopPerformingFunds(args.reference_funds);
  • Type definition for FundYield, the output type returned by the top_performing_funds tool.
    export interface FundYield {
      code: string;
      title?: string;
      type?: string;
      risk_value?: number | null;
      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;
    }
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool retrieves data but does not specify whether it's read-only (implied by 'getirir'), what permissions might be needed, rate limits, output format, or any side effects. For a tool with no annotation coverage, this is a significant gap in transparency.

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

Conciseness5/5

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

The description is a single, clear sentence in Turkish that directly states the tool's purpose without unnecessary words. It is appropriately sized and front-loaded, making it efficient and easy to understand at a glance.

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 complexity of a tool that retrieves 'top performing funds' with no annotations, no output schema, and incomplete behavioral details, the description is insufficient. It does not explain what defines 'top performing', how results are returned, or any limitations, leaving critical gaps for an AI agent to use the tool effectively.

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 input schema has 1 parameter with 100% description coverage ('Referans fon kodları (virgülle ayrılmış, opsiyonel)' - Reference fund codes (comma-separated, optional)). The description does not add any meaning beyond this, such as explaining how reference funds affect the results or providing examples. With high schema coverage, the baseline is 3, as the schema adequately documents the parameter.

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 'En iyi performans gösteren fonları getirir' (Turkish for 'Retrieves the best performing funds') states a clear verb ('getirir' - retrieves) and resource ('fonları' - funds), but lacks specificity about what defines 'top performing' (e.g., by return metrics, time period, or ranking criteria). It does not distinguish from siblings like 'list_funds' or 'compare_funds', which might overlap in functionality without clearer differentiation.

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?

The description provides no guidance on when to use this tool versus alternatives such as 'list_funds' (which might list all funds) or 'compare_funds' (which might compare specific funds). There is no mention of prerequisites, exclusions, or contextual triggers for selecting this tool over others, leaving usage ambiguous.

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