Skip to main content
Glama

haal_actuele_rentes_op

Retrieve current mortgage interest rates for different fixed-rate periods, showing both NHG and non-NHG rates for comparison.

Instructions

Haalt actuele hypotheekrentes op per rentevaste periode. Output: overzicht met NHG- en niet-NHG-tarieven.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for 'haal_actuele_rentes_op'. Extracts session ID, enforces rate limit if present, fetches current mortgage rates via GET to REPLIT_API_URL_RENTES using apiClient, and returns formatted JSON response.
    async function handleActueleRentes(request: any): Promise<ToolResponse> {
      const sessionId = extractSessionId(request.params?.arguments);
      if (sessionId) {
        enforceRateLimit(sessionId);
      }
    
      const apiClient = getApiClient();
      const { data } = await apiClient.get(REPLIT_API_URL_RENTES, { correlationId: sessionId });
      return successResponse(JSON.stringify(data, null, 2));
    }
  • Input schema definition for the tool: no required parameters, empty properties object.
      name: "haal_actuele_rentes_op",
      description: "Haalt actuele hypotheekrentes op per rentevaste periode. Output: overzicht met NHG- en niet-NHG-tarieven.",
      inputSchema: {
        type: "object",
        properties: {},
        required: [],
      },
    },
  • src/index.ts:766-774 (registration)
    Registration of the tool handler in the TOOL_HANDLERS map, used by the CallToolRequestSchema handler to dispatch calls.
    const TOOL_HANDLERS: Record<string, ToolHandler> = {
      bereken_hypotheek_starter: handleBerekenStarter,
      bereken_hypotheek_doorstromer: handleBerekenDoorstromer,
      bereken_hypotheek_uitgebreid: handleBerekenUitgebreid,
      haal_actuele_rentes_op: handleActueleRentes,
      opzet_hypotheek_starter: handleOpzetStarter,
      opzet_hypotheek_doorstromer: handleOpzetDoorstromer,
      opzet_hypotheek_uitgebreid: handleOpzetUitgebreid,
    };
  • Configuration constant for the Replit API endpoint URL used to fetch current rates.
    const REPLIT_API_URL_RENTES = config.replitApiUrlRentes;

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/pace8/Test'

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