GSA Per Diem MCP — wraps the GSA Per Diem API v2 (api.gsa.gov). US federal per diem rates: government travel lodging and meal allowances. Returns GSA per diem by city/state or by zip code — the daily lodging ceiling (which varies by month/season) and the flat M&IE (meals & incidental expenses) daily rate.
Two tools with complete, well-structured schemas and clear descriptions. Both tools follow verb_noun naming (rates_by_*) and include parameter type definitions. Descriptions are substantive (150 - 180 chars) and explain the domain (GSA per diem rates). However, output schemas are not documented, LLMs cannot predict the response structure. Parameter descriptions are adequate but lack format constraints (e.g., 'Two-letter state abbreviation' should specify uppercase, no validation guidance). Error handling is minimal: the code returns {error, message} on API failure, but does not guide recovery or categorize errors. No tool annotations (readOnlyHint, idempotentHint) despite both being read-only, safe operations. The _apiKey parameter violates secret-injection pattern, credentials should never be tool parameters.
Get US federal per diem rates (government travel lodging and meal allowances) for a city by name and state. Returns the monthly lodging ceiling (per-diem lodging varies by month/season) and the flat M&IE (meals & incidental expenses) daily rate. Example: rates_by_city({ city: "Denver", state: "CO" }).
Get US federal per diem rates (government travel lodging and meal allowances) for a location by zip code. Returns the monthly lodging ceiling (per-diem lodging varies by month/season) and the flat M&IE (meals & incidental expenses) daily rate. Example: rates_by_zip({ zip: "80202" }).
Output schema not documented. LLMs cannot predict response structure (destination, meals_mie, monthly_lodging fields). Forces trial-and-error parsing.
_apiKey exposed as tool parameter violates secret-injection pattern. Credentials in parameters leak into agent logs and traces. Should use server-side environment variable injection.
Error responses lack recovery guidance. {error: 'api_key_required'} tells LLM nothing about next steps. Should include 'Pass _apiKey parameter or configure server-side key.'
Parameter constraints not formalized. 'Two-letter state abbreviation' lacks enum or pattern. 'year' unbounded (should be 2000 - 2099). LLMs may pass invalid values.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 65 | 2026-07-28+ | v2 |
No tool annotations despite both tools being read-only and idempotent. Adding readOnlyHint and idempotentHint helps agents reason about safety and retry logic.