Skip to main content
Glama
pace8

mcp-hypotheken-berekenen

haal_actuele_rentes_op

Retrieve current mortgage interest rates for different fixed-rate periods, including NHG and non-NHG rates, to support mortgage planning decisions.

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 the 'haal_actuele_rentes_op' tool. Extracts optional session ID, enforces rate limiting if present, performs a GET request to the configured Replit API URL for current rates using ApiClient, and returns the JSON-formatted 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));
    }
  • src/index.ts:766-774 (registration)
    Registration of all tool handlers in the TOOL_HANDLERS map, including 'haal_actuele_rentes_op' mapped to handleActueleRentes.
    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,
    };
  • src/index.ts:870-877 (registration)
    Tool registration and schema definition returned by ListToolsRequestHandler. Defines the tool name, description, and empty input schema (no parameters required).
      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: [],
      },
    },
  • Input schema for the tool: an empty object (no required parameters).
        type: "object",
        properties: {},
        required: [],
      },
    },
  • Configuration constant for the Replit API endpoint URL used to fetch current interest 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/mcp-hypotheken-berekenen'

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