Skip to main content
Glama

Bunq MCP

by WilcoKruijer
getRequestInquiries.ts968 B
import { z } from "zod"; import { BunqClient } from "../bunq/BunqClient"; export default function getRequestInquiriesTool(bunqClient: BunqClient) { return { name: "getRequestInquiries", description: "Get request inquiries for a specific monetary account. Get accounts first to get the ID.", parameters: { monetaryAccountId: z.number().describe("Monetary Account ID"), }, handler: async ({ monetaryAccountId }: { monetaryAccountId: number }) => { try { const inquiries = await bunqClient.request.listRequestInquiries({ monetaryAccountId }); return { content: [ { type: "text", text: JSON.stringify(inquiries), }, ], }; } catch (error) { console.error(error); return { content: [{ type: "text", text: `Error fetching request inquiries: ${error}` }], isError: true, }; } }, }; }

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/WilcoKruijer/bunq-mcp'

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