# Binyan.im MCP tool catalog > Every tool of the Binyan.im MCP server (https://binyan.im/mcp), generated from the live tool list. Summary of the product: https://binyan.im/llms.txt. How to connect: https://binyan.im/en/docs/mcp. Tools: 39. Parameters ending in ? are optional. Wherever a tool takes buildingId you may pass buildingName instead, and wherever it takes apartmentId you may pass apartmentNumber. Every call is checked against the signed-in user's role in the building (owner, admin, resident). No tool sends messages to residents. ## Payment model - `request_payment`: the committee decides an apartment must pay. Creates a pending request. Open requests are debt, and debt analysis and reminders run on them. - `record_payment`: money received. With `paymentId` it settles an open request. Without it, it stands alone as a paid payment. - `record_prepayment`: money received that covers several future months. - `record_ledger_adjustment`: a manual journal entry (fine, goodwill credit, correction). It is not a request and nothing is collected. ## Tools ### create_building Create a new building for this ועד בית account. - Parameters: name, address, currency?, timezone?, duesDueDay? - Access: changes data; scope building:write ### add_apartment Add an apartment to a building in this ועד בית account. - Parameters: buildingId?, number, floor, sizeSqM, buildingName? - Access: changes data; scope building:write ### update_tenant Replace the tenant contact on an apartment. This overwrites the current tenant. - Parameters: buildingId?, apartmentId?, tenantPhone?, tenantEmail, tenantFirstName?, tenantLastName?, buildingName?, apartmentNumber? - Access: changes data; scope building:write ### backup_building Exports the full building data as JSON that can be restored from the website settings page. Use before bulk changes. The response is the exact backup JSON the website restore accepts and can be large. - Parameters: buildingId?, buildingName? - Access: read only; scope building:read ### list_buildings List the buildings this ועד בית account can open, with the caller's role in each one. - Parameters: limit? - Access: read only; scope building:read ### list_apartments List apartments in a building. Contact details (email, phone) are left out unless includeContacts is true, and then only for callers who may manage that building. - Parameters: buildingId?, includeContacts?, buildingName? - Access: read only; scope building:read ### record_payment Record money received from an apartment. Pass paymentId to settle an open request created by request_payment (the request is marked paid with the method, date and reference you give). Without paymentId it stands alone as a directly-paid payment, for money that arrived with no prior request. For a prepayment covering several months use record_prepayment. Pass cashBox true when the money went into the building cash box (CASH payments only; it defaults to true for CASH). - Parameters: buildingId?, apartmentId?, paymentId?, amount?, dueDate?, type?, description?, paidDate?, status?, paymentMethod?, cashBox?, referenceNumber?, buildingName?, apartmentNumber? - Access: changes data; scope finance:write ### record_offset Record a new resident-paid expense as a dues credit for one apartment (קיזוז). Creates the expense and a BUILDING_TAX credit in one step, applies the credit to the oldest unpaid dues and carries any surplus into the next month. No bank transaction is created and the offset is excluded from bank reconciliation. To offset an expense that already exists, use link_offset_to_expense. - Parameters: buildingId?, apartmentId?, amount, date?, description, category?, vendor?, invoiceNumber?, referenceNumber?, cashBoxAmount?, buildingName?, apartmentNumber? - Access: changes data; scope finance:write ### record_refund Record money paid back to a resident as a debit on the apartment ledger. The refund first consumes the apartment open credit; any excess becomes an open charge from the refund date. BANK_TRANSFER refunds can be matched to an outgoing bank transaction, while CASH refunds come out of the cash box. - Parameters: buildingId?, apartmentId?, amount, date?, method?, referenceNumber?, description?, buildingName?, apartmentNumber? - Access: changes data; scope finance:write ### request_payment Record the committee's decision that an apartment must pay: creates an open payment request (PENDING) with an amount, a due date and the reason. Debt analysis, overdue tracking and reminders all run on open requests. When the money arrives, settle the request with record_payment (pass its paymentId) or mark_payment_paid. - Parameters: buildingId?, apartmentId?, amount, dueDate, description?, type?, startDate?, endDate?, buildingName?, apartmentNumber? - Access: changes data; scope finance:write ### record_ledger_adjustment Record a true manual adjustment on one apartment's ledger: a fine, a goodwill credit, a one-off bookkeeping correction. This is a journal entry with no payment lifecycle - it does not create a payment request, and record_payment does not settle it. To charge an apartment for something it must pay, use request_payment instead. - Parameters: buildingId?, apartmentId?, amount, date?, description, type?, buildingName?, apartmentNumber? - Access: changes data; scope finance:write ### get_apartment_ledger Chronological statement for one apartment with dues, manual charges, refunds, payments, offsets and manual credits plus a running balance. Residents can read their own apartment only. - Parameters: buildingId?, apartmentId?, asOfDate?, buildingName?, apartmentNumber? - Access: read only; scope finance:read ### get_cash_box Cash box balance and movement list for a building: cash payments, cash expenses, cash refunds, explicit deposits and transfers between the cash box and the bank. - Parameters: buildingId?, buildingName? - Access: read only; scope finance:read ### record_cash_transfer Record a cash box deposit, a transfer from the cash box to the bank, a withdrawal from the bank to the cash box, or the cash box opening balance. Only the explicit bank transfers can be matched to a bank transaction. - Parameters: buildingId?, amount?, date?, description?, referenceNumber?, kind?, buildingName? - Access: changes data; scope finance:write ### delete_offset Delete an offset payment and its credit. The linked expense stays. The action is audit logged. - Parameters: buildingId?, paymentId, buildingName? - Access: changes data; scope finance:write ### delete_ledger_entry Delete a refund, manual charge or manual credit from an apartment ledger. The action is audit logged. - Parameters: buildingId?, entryId, buildingName? - Access: changes data; scope finance:write ### delete_cash_box_movement Delete an explicit cash box deposit or transfer. The action is audit logged. - Parameters: buildingId?, movementId, buildingName? - Access: changes data; scope finance:write ### create_expense Record a building expense (הוצאה). A second call records another expense. - Parameters: buildingId?, amount, description, date, category, vendor?, invoiceNumber?, cashBoxAmount?, buildingName? - Access: changes data; scope finance:write ### record_prepayment Record a payment that covers several months up front (for example 5 months of dues). startDate and endDate name the covered months (YYYY-MM) and the debt calculation covers every month in that range. Defaults to status COMPLETED paid today. - Parameters: buildingId?, apartmentId?, amount, startDate, endDate, dueDate?, type?, paidDate?, paymentMethod?, cashBox?, referenceNumber?, description?, buildingName?, apartmentNumber? - Access: changes data; scope finance:write ### link_offset_to_expense Offset an existing expense against one apartment's dues (קיזוז): links the expense to a BUILDING_TAX credit, applies it to the oldest unpaid dues and carries any surplus into the next month. No bank transaction is created and the offset is excluded from bank reconciliation. To record a new expense and offset it in one step, use record_offset. - Parameters: buildingId?, apartmentId?, expenseId, amount?, date?, referenceNumber?, cashBoxAmount?, buildingName?, apartmentNumber? - Access: changes data; scope finance:write ### mark_payment_paid Mark a payment as paid (COMPLETED). Generates a receipt number when needed. Defaults to paid today with BANK_TRANSFER; pass paymentMethod, paidDate, referenceNumber, and cashBox to record how the money arrived. paymentId accepts a full UUID or a unique prefix of one in this building. - Parameters: buildingId?, paymentId, paidDate?, paymentMethod?, referenceNumber?, cashBox?, buildingName? - Access: changes data; scope finance:write ### cancel_payment Cancel a payment with a reason, which is stored on the payment and shown in the audit log and the apartment ledger. On an already-cancelled payment the reason can be set or changed. paymentId accepts a full UUID or a unique prefix of one in this building. - Parameters: buildingId?, paymentId, cancelReason?, buildingName? - Access: changes data; scope finance:write ### reschedule_payment Move a payment to a new due date, and optionally change the months it covers. startDate and endDate cover whole months; when only one is supplied, the existing other bound is reused. paymentId accepts a full UUID or a unique prefix of one in this building. - Parameters: buildingId?, paymentId, dueDate, startDate?, endDate?, buildingName? - Access: changes data; scope finance:write ### update_expense Update an existing building expense. Only supplied fields change. At least one of amount, description, date, category, vendor, or invoiceNumber is required. Pass null for vendor or invoiceNumber to clear it. - Parameters: buildingId?, expenseId, amount?, description?, date?, category?, vendor?, invoiceNumber?, cashBoxAmount?, buildingName? - Access: changes data; scope finance:write ### attach_expense_receipt Attach or replace the receipt or invoice file of an existing expense, and optionally set vendor and invoiceNumber. Send either fileBase64 with mimeType (PDF, JPEG or PNG, up to 3 MB) or an https url (up to 10 MB, public hosts only, no redirects). The file is stored like receipts uploaded in the app. - Parameters: buildingId?, expenseId, fileBase64?, mimeType?, filename?, url?, vendor?, invoiceNumber?, buildingName? - Access: changes data; scope finance:write ### analyze_debts_and_generate_reminders Analyze apartment debt. Monthly dues are due on the building's dues day (duesDueDay in building settings, 10 unless changed). asOfDate defaults to today in the building's time zone (timezone in building settings) and splits overdue from dueSoon. The response echoes timezone and dueDay. Reminders target overdue apartments unless includeDueSoon is true. The overdue total matches generate_financial_report outstanding and the dashboard pending collections. - Parameters: buildingId?, asOfDate?, includeDueSoon?, buildingName? - Access: read only; scope finance:read, building:read ### generate_financial_report Generate a financial report for a building. summary.outstanding is overdue debt as of endDate, from the same calculation as analyze_debts_and_generate_reminders. Monthly dues are due on the building's dues day (duesDueDay in building settings, 10 unless changed), so the current month is dueSoon until that day has passed. Dates follow the building's time zone. - Parameters: buildingId?, startDate, endDate, buildingName? - Access: read only; scope finance:read ### get_fund_balance כמה כסף יש בבנק, וכמה בסך הכול עם קופת המזומן. calculatedBalance is the bank opening balance plus payments received into the bank and cash deposited into the bank, minus expenses paid from the bank, bank refunds to residents and cash withdrawn from the bank, since the opening balance date. CASH payments placed in the cash box and the cash part of expenses are counted in the cash box instead, and offset settled parts of expenses are not subtracted. paymentsReceived never counts offsets; offsetCredits reports them separately and refundsPaid is the bank refund total (CASH refunds come out of the cash box). totalFunds is calculatedBalance plus the cash box balance, or null when no bank opening balance is set. Also returns the last bank-synced balance when an imported transaction includes a balance field; it is labeled separately and never added to the other figures. - Parameters: buildingId?, buildingName? - Access: read only; scope finance:read ### list_payments List payments (גבייה) for a building. Optional from and to dates filter the due date, as YYYY-MM-DD. - Parameters: buildingId?, from?, to?, limit?, buildingName? - Access: read only; scope finance:read ### list_expenses List expenses (הוצאות) for a building. Optional from and to dates filter the expense date, as YYYY-MM-DD. - Parameters: buildingId?, from?, to?, limit?, buildingName? - Access: read only; scope finance:read ### query_audit_history Read the change log for a building: who changed an apartment, a payment, or an expense. - Parameters: buildingId?, entityType?, limit?, buildingName? - Access: read only; scope audit:read ### list_maintenance_tickets List maintenance tickets for a building, optionally filtered by status (OPEN, IN_PROGRESS, DONE, CANCELLED) - Parameters: buildingId?, status?, limit?, buildingName? - Access: read only; scope building:read ### report_maintenance_issue Open a maintenance ticket for a building: a leak, a broken elevator, anything that needs fixing. Attach it to an apartment when the issue is inside one; omit the apartment for building-wide issues like the lobby or roof. - Parameters: buildingId?, apartmentId?, category, description, photoUrl?, buildingName?, apartmentNumber? - Access: changes data; scope building:write ### update_maintenance_status Move a maintenance ticket through its lifecycle: OPEN to IN_PROGRESS when work starts, DONE when fixed, CANCELLED when it turns out to be a non-issue. - Parameters: buildingId?, ticketId, status, buildingName? - Access: changes data; scope building:write ### import_bank_statement Import a bank statement (JSON, PDF, DAT, CSV or Excel xlsx; base64, up to 3 MB). Skips exact duplicates (listed in duplicatesSkipped), imports but flags look-alikes with a different description (possibleDuplicates), records the balance the statement reports instead of importing balance lines as transactions, and returns the last bank-synced balance and the unmatched transactions. CSV and Excel statements must match a known bank layout (Hapoalim, Leumi, Discount, Mizrahi-Tefahot or generic headers); unrecognized formats and unknown layouts fail with an explicit "Unsupported statement format" error instead of importing nothing. Bank import tools are available only when a building has bank sync configured. - Parameters: buildingId?, fileBase64, filename, mimeType, buildingName? - Access: changes data; scope finance:write ### list_unmatched_transactions List pending bank transactions and their best payment or expense match candidates. Bank import tools are available only when a building has bank sync configured. - Parameters: buildingId?, limit?, buildingName? - Access: read only; scope finance:read ### reconcile_transaction Match, create and match, or ignore a pending bank transaction. Matching to an existing payment marks it paid and replaces its paid date, method, and reference with the bank line. To match one bank transaction to several records, use action match with targets: [{ type, targetId, amount }]. Bank import tools are available only when a building has bank sync configured. - Parameters: buildingId?, transactionId, action, type?, targetId?, targets?, createFee?, payment?, expense?, buildingName? - Access: changes data; scope finance:write ### list_matched_bank_transactions List bank transactions already matched in a building, optionally between from and to (YYYY-MM-DD), with what each one is matched to: the payment, expense, refund or cash transfer it covered, including every part of a split match. Bank import tools are available only when a building has bank sync configured. - Parameters: buildingId?, from?, to?, limit?, buildingName? - Access: read only; scope finance:read ### unmatch_bank_transaction Undo a bank transaction match: removes its allocations and returns the transaction to pending so the match can be redone. The payment or expense itself is not changed; edit it separately if needed. The action is audit logged. Bank import tools are available only when a building has bank sync configured. - Parameters: buildingId?, transactionId, buildingName? - Access: changes data; scope finance:write