Skip to main content
Glama

get_fema_hotels_by_zipcode

FEMA-listed properties by ZIP code

Return every property on the list in a US ZIP code, ordered by name. The path accepts a five-digit ZIP or ZIP+4, normalized to the first five digits. A known ZIP with no listed property returns an empty results list; an unknown ZIP returns 404.

The Hotel and Motel Fire Safety Act of 1990 requires federal travelers to stay at a property on FEMA's Hotel and Motel National Master List to be reimbursed for lodging. Each property on the list has a FEMA ID. FEMA publishes the current list only; as_of is the date of the snapshot the results come from. This endpoint returns no rates: combine it with the GSA per diem lookups for the lodging ceiling.

Input Schema

NameRequiredDescriptionDefault
zipcodeYesUS ZIP (12345) or ZIP+4 (12345-6789)

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and delivers: ordering by name, ZIP+4 normalization to five digits, empty results for a known-but-unlisted ZIP versus a 404 for an unknown ZIP, the point-in-time nature of `as_of`, and the absence of rate data. These are exactly the behaviors an agent needs before and after invocation.

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?

The core scope statement is front-loaded, and the three paragraphs each contribute distinct information (scope/ordering, path semantics/error behavior, regulatory context and companion tools). It runs slightly long, but no sentence is filler.

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

Completeness5/5

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

There is no output schema, yet the description covers the return shape (`results` list, name ordering, FEMA ID, `as_of` snapshot date) and the error/empty distinction, plus the expected follow-up call for rates. That is sufficient for an agent to call and interpret this single-parameter endpoint correctly.

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% and the parameter already has examples, so the baseline is 3. The description adds genuine semantics beyond the schema by explaining the normalization rule (ZIP+4 truncated to the first five digits) and the differing outcomes for known-empty versus unknown ZIPs.

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?

The opening line states a specific verb and resource ('FEMA-listed properties by ZIP code') and the body confirms listing behavior ordered by name. It is clearly distinguishable from siblings like get_fema_hotel_by_id (single property) and get_fema_hotels_by_state_city (different key).

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

Usage Guidelines4/5

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

It gives clear context for when this lookup matters (reimbursement eligibility under the Hotel and Motel Fire Safety Act) and tells the agent to combine it with GSA per diem lookups for the lodging ceiling. It stops short of explicitly contrasting the ZIP key against search_fema_hotels or the state/city variant.

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