Skip to main content
Glama

LeaseLine Rent Ledger

Calculate prorated rent

calculate_prorated_rent
Read-onlyIdempotent

Use this when the user wants prorated rent for a move-in or move-out (prorated rent calculator, 'tenant moved in on the 17th, how much rent do they owe', partial month rent). Returns the amount, computed to the cent, by three methods side by side (actual days in the month, 30-day month, 365-day year), the daily rate, and the formula, counting the move-in and move-out days inclusively; leap-year February is handled. Assumes rent covers calendar months (due on the 1st). Does not build a full ledger (use generate_rent_ledger for payments and balances) and does not give legal advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodNoThe proration method the lease uses; the result shows all three. actual_days (default): rent / days in that month. thirty_day: rent / 30. annual_365: rent x 12 / 365.
roundingNoround_total (default): round only the final amount to the cent. daily_rate_first: round the daily rate to the cent first, then multiply by the days.
monthly_rentYesFull monthly rent in USD, e.g. 1450.
move_in_dateNoMove-in date (first day the tenant has the unit), YYYY-MM-DD, e.g. 2026-10-17. Give this, move_out_date, or both.
move_out_dateNoMove-out date (last day the tenant pays for), YYYY-MM-DD, e.g. 2026-11-10.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
notesYes
methodYes
displayYes
periodsYes
roundingYes
method_labelYes
monthly_rentYes
total_proratedYes
full_months_betweenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources