Skip to main content
Glama

Find and rank nursing homes

nursing_home_search
Read-onlyIdempotent

Find Medicare and Medicaid certified nursing homes near a ZIP code (default 10 miles) or latitude and longitude, or in a city, county or state, or by name, ranked by CMS overall star rating (or inspection, staffing, quality, nurse hours, distance or name). Each result has the four star ratings, beds, ownership, nurse hours per resident per day, staff turnover, fines, the abuse icon, Special Focus Facility status and the ccn for nursing_home_ratings.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "nursing_home_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
zipNo5-digit ZIP code to search around.
cityNoCity or town (use with state).
nameNoPart of the facility name.
sortNoSort order. Default overall (ties by inspections, staffing, then distance).
limitNoHow many facilities to return, 1 to 50. Default 15.
stateNoState as a two-letter code (VT) or name (Vermont).
countyNoCounty or parish (needs state).
latitudeNoLatitude to search around (with longitude).
longitudeNoLongitude to search around (with latitude).
radius_milesNoRadius around the ZIP or point, 1 to 50 miles. Default 10.
exclude_abuse_iconNoLeave out facilities CMS flags with the abuse icon.
min_overall_ratingNoOnly facilities with at least this many overall stars.
exclude_special_focusNoLeave out Special Focus Facilities and candidates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already carry readOnly/idempotent/openWorld/non-destructive, so the bar is lower, and the description adds genuinely new behavior: results are restricted to Medicare/Medicaid certified facilities, and it enumerates the fields each record carries (four star ratings, beds, ownership, nurse hours, turnover, fines, abuse icon, SFF status, ccn). It does not state pagination or total-count behavior, but for a read-only search that is a minor omission.

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?

Front-loaded with the core action, then the search modes, the sort options, and finally the return payload — a logical order. The first sentence is a long chained 'or' construction that is slightly hard to parse, but no sentence is filler.

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?

For a 13-parameter tool with no output schema, the description supplies the missing return-value picture (field list) and the certification scope, which is what an agent most needs. Only the interaction between mutually alternative location parameters and any pagination/cap behavior are left unaddressed.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents every one of the 13 parameters including defaults and ranges. The description restates the ranking enum and the 10-mile default, adding no syntax, format, or interaction detail (e.g. what happens when both zip and lat/long are supplied) beyond the schema, so baseline 3 applies.

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?

Names a specific verb and resource ('Find Medicare and Medicaid certified nursing homes') and enumerates every supported search mode (ZIP/radius, lat/long, city, county, state, name) plus the ranking dimension. It also names the sibling nursing_home_ratings as the consumer of the returned ccn, so an agent can tell it apart from that tool without inspecting either schema.

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 handoff line ('the ccn for nursing_home_ratings') implies search-then-detail usage, but there is no explicit when-to-use/when-not guidance and the sibling nursing_home_compare is never mentioned. Usage is inferable from the description rather than stated.

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.