Trip per diem calculator (GSA rates)
calculate_trip_per_diemCalculates the maximum federal per diem for a business trip: lodging for each night at that month's GSA rate (crossing seasons and the Oct. 1 fiscal year change), M&IE for each day with 75% on the first and last day, minus meals provided at the GSA breakdown amounts. Uses the official FY2026 and FY2027 GSA rates for trips between Oct. 1, 2025 and Sept. 30, 2027.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "calculate_trip_per_diem"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | 5-digit ZIP code of the destination (best match). | |
| city | No | City or county name, e.g. "Boston" or "Maricopa". | |
| state | No | 2-letter state code, e.g. MA. | |
| end_date | Yes | Last travel day (YYYY-MM-DD). | |
| start_date | Yes | First travel day (YYYY-MM-DD). | |
| meals_provided | No | Number of meals provided (by a conference or the employer) to deduct from M&IE. |