Skip to main content
Glama

Travel Per Diem & Allowance Calculator

Get Per Diem Rates

get_per_diem_rates

Returns the lodging and meal allowance for one location under one regime, with the regime's breakdown (BMF meal deductions, GSA M&IE breakdown and seasons, HMRC meal/room rates), fallbacks applied, source citation and data freshness. us-gsa picks the fiscal year by date (FY2026: 2025-10-01..2026-09-30, FY2027: 2026-10-01..2027-09-30).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoCity; unlisted cities fall back per the regime's rules
dateNoTravel date (ISO 8601). Default: today (UTC)
stateNoUS state code (us-gsa)
regimeYesde-bmf (Germany), us-gsa (US CONUS) or uk-hmrc (UK overseas scale rates)
countryNoISO alpha-2 code or English/German name. Default: DE for de-bmf, US for us-gsa
postal_codeNoUS ZIP (us-gsa) or French postcode (de-bmf)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYesDate the rate applies to
notesYesFallbacks and caveats that applied
de_bmfNode-bmf breakdown (only for regime de-bmf)
regimeYesRegime the rate comes from
sourceYesOfficial publication the rate comes from
us_gsaNous-gsa breakdown (only for regime us-gsa)
lodgingYesPer-night lodging figure (BMF flat rate, GSA maximum, HMRC room rate)
uk_hmrcNouk-hmrc breakdown (only for regime uk-hmrc)
currencyYesISO 4217 currency of the summary fields
locationYesThe location that was resolved from the input
disclaimerYesInformational use only, not tax advice
meals_full_dayYesMeals allowance for a full day (BMF 24 h rate, GSA M&IE, HMRC 24-hour rate)
other_locationsYesOther listed locations in the same country for this regime
meals_partial_dayYesReduced day (BMF arrival/departure/>8 h, GSA 75 % first/last day, HMRC over-10-hours)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations the description carries the full burden, and it does disclose meaningful behavior: fallbacks are applied, a source citation and data freshness are included, and the us-gsa fiscal-year selection rule is spelled out (FY2026 vs FY2027 windows). It stops short of stating permission requirements, rate limits, or error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences, front-loaded with the core purpose and return payload, with the regime-specific rule trailing. Slightly packed but no filler; every clause adds information an agent would otherwise have to guess.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description does not need to explain returns, yet it complements them with freshness, citation, and fallback behavior. The one remaining gap is how the optional locator parameters (city vs. state vs. postal_code) interact, which is left entirely to the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real semantics beyond the schema: the us-gsa date-to-fiscal-year mapping (FY2026: 2025-10-01..2026-09-30) is not derivable from the fields, and the fallback note clarifies how an unlisted city resolves.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('returns the lodging and meal allowance') and pins the scope to 'one location under one regime', which cleanly separates it from search_per_diem_locations and calculate_trip_allowance. It goes further to enumerate what comes back (regime breakdowns, fallbacks, citation, freshness), so an agent knows exactly what this call yields.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'one location under one regime' scoping implies the lookup use case, but there is no explicit when-to-use/when-not guidance and none of the sibling tools are named as alternatives. An agent must infer that this is the single-point lookup rather than the search or trip-total tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources