Skip to main content
Glama
aadarshvelu

Derive MCP Server

by aadarshvelu

get_interest_rate_history

Retrieve historical borrowing interest rate data for specified time periods to analyze market trends and inform financial decisions.

Instructions

Get historical borrowing interest rates

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
from_timestamp_secYesStart timestamp in seconds
to_timestamp_secYesEnd timestamp in seconds
pageNoPage number (default 1)
page_sizeNoResults per page (default 100, max 1000)

Implementation Reference

  • The handler implementation for the tool 'get_interest_rate_history' in the client class, which dispatches a POST request.
    getInterestRateHistory(params: GetInterestRateHistoryParams): Promise<unknown> {
      return this.post('public/get_interest_rate_history', params);
    }
  • src/tools.ts:130-141 (registration)
    Registration of the 'get_interest_rate_history' tool with its schema definition in src/tools.ts.
      name: 'get_interest_rate_history',
      description: 'Get historical borrowing interest rates',
      inputSchema: {
        type: 'object',
        properties: {
          from_timestamp_sec: { type: 'integer', description: 'Start timestamp in seconds' },
          to_timestamp_sec: { type: 'integer', description: 'End timestamp in seconds' },
          ...paginationParams,
        },
        required: ['from_timestamp_sec', 'to_timestamp_sec'],
      },
    },

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/aadarshvelu/derive-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server