Skip to main content
Glama
kemalersin

FonParam MCP

by kemalersin

latest_inflation_rate

Retrieve current inflation data for Turkey to analyze economic trends and inform investment decisions using the FonParam API.

Instructions

Son enflasyon verisini getirir

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/tools.ts:442-449 (registration)
    Registers the 'latest_inflation_rate' tool in the MCP tools list with empty input schema.
    {
      name: 'latest_inflation_rate',
      description: 'Son enflasyon verisini getirir',
      inputSchema: {
        type: 'object',
        properties: {}
      }
    },
  • Handler case in handleToolCall that dispatches to the API client method.
    case 'latest_inflation_rate':
      return await this.apiClient.getLatestInflationRate();
  • Core implementation that performs the HTTP GET request to '/inflation/latest' and returns the InflationRate data.
    async getLatestInflationRate(): Promise<InflationRate> {
      const response: AxiosResponse<InflationRate> = await this.client.get('/inflation/latest');
      return response.data;
    }
  • TypeScript interface defining the output schema for inflation rate data.
    export interface InflationRate {
      date: string;
      monthly_rate: number;
      yearly_rate: number;
    }
Behavior2/5

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

With no annotations, the description carries the full burden but only states what the tool does ('brings data'), not how it behaves. It lacks details on data freshness, source, format, error handling, or any constraints like rate limits or authentication needs, which are critical for a data-fetching tool.

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 in Turkish, front-loading the core action. 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?

For a tool with no annotations, no output schema, and no parameters, the description is incomplete. It doesn't explain what 'latest inflation data' entails (e.g., metric type, units, timestamp) or the return format, leaving gaps in understanding how to interpret results.

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

Parameters4/5

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

The tool has 0 parameters with 100% schema description coverage, so no parameter documentation is needed. The description doesn't add parameter semantics, but this is acceptable given the lack of parameters, aligning with the baseline for zero parameters.

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 'Son enflasyon verisini getirir' (Turkish for 'Brings the latest inflation data') states a clear verb ('getirir') and resource ('inflation data'), but it's vague about scope and doesn't differentiate from siblings like 'inflation_rates' or 'monthly_inflation_rate'. It specifies 'latest' but doesn't clarify if this is real-time, cached, or a specific metric.

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 like 'inflation_rates' or 'monthly_inflation_rate'. The description implies it's for the most recent data, but it doesn't state exclusions (e.g., historical data) or prerequisites, leaving usage context unclear.

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