Skip to main content
Glama
kemalersin

FonParam MCP

by kemalersin

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);
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 details, implying a read-only operation, but doesn't disclose any behavioral traits such as error handling, response format, data freshness, or potential side effects. For a tool with zero 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, with zero waste, making it highly concise and well-structured for its intended function.

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 tool's complexity (simple retrieval with one parameter) and lack of annotations and output schema, the description is incomplete. It doesn't explain what 'detaylar' (details) includes in the return values, behavioral aspects, or usage context. For a tool with no structured output or annotations, more information is needed to be complete.

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 description adds no parameter semantics beyond what the input schema provides. Schema description coverage is 100%, with the single parameter 'type' documented as 'Fon tipi kodu' (fund type code) and an enum list. Since the schema fully describes the parameter, the baseline score of 3 is appropriate, as the description doesn't compensate or add extra meaning.

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

Purpose4/5

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

The description clearly states the tool's purpose: 'Belirli bir fon tipinin detaylarını getirir' translates to 'Retrieves details of a specific fund type.' This specifies the verb (retrieves/getirir) and resource (fund type details/fon tipinin detaylarını). However, it doesn't explicitly distinguish this tool from siblings like 'list_fund_types' or 'fund_historical_data,' which might also involve fund type information.

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. It doesn't mention prerequisites, context for selection among sibling tools (e.g., 'list_fund_types' for listing types vs. this for details), or any exclusions. Usage is implied only by the purpose statement, with no explicit when/when-not 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