Skip to main content
Glama

SNF Register: nursing home owners, CMS ratings and HUD 232 loans

Rank states by nursing home supply, quality, ownership or HUD 232

rank_states_nursing_homes
Read-onlyIdempotent

Ranks the states, DC, PR and GU on one nursing home measure: facilities, beds, median occupancy, nurse or RN hours, staff turnover, for-profit or chain share, PE or REIT owner flags, recent ownership changes, Special Focus count, or HUD 232 activity (active loans, balance, endorsements). Returns value, rank and state page.

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": {
      "metric": "<metric>"
    },
    "name": "rank_states_nursing_homes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoStates to return, 1 to 53.
orderNodesc = largest first (default), asc = smallest first.desc
metricYesWhat to rank by.

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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's contribution is the output shape — "Returns value, rank and state page" — which annotations can't express. It also pins the geographic universe (states, DC, PR, GU), consistent with the schema's maximum of 53. Minor gap: no note on tie-breaking or how missing measures are handled.

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 verb and scope, then a compact return-value sentence — nothing is wasted. The middle is a dense run of metric names without grouping, which reads more like an enum dump than prose, but it stays within one sentence.

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 3-parameter, single-output ranking tool with no output schema, the description covers scope, the metric dimension, and the returned fields (value, rank, state page). What an agent needs in order to call it correctly is present; only edge-case behavior is unstated.

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 description coverage is 100%, so the baseline is 3; every parameter including all 17 enum values is documented in the schema. The description's metric enumeration restates the enum rather than adding semantics such as whether PE/REIT flags are shares or counts, or how ordinal ranks are assigned.

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 ("Ranks the states... on one nursing home measure") and enumerates the metric families covered, so the agent knows this is a cross-state aggregate ranking rather than a facility-level lookup. This clearly separates it from siblings like get_state_nursing_homes (per-state facility lists) and search_nursing_homes.

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?

Usage is implied by "on one nursing home measure" — the tool returns a single-metric leaderboard — but there is no explicit when-to-use/when-not statement and no sibling is named as an alternative. An agent must infer that this is the comparison tool while the siblings are retrieval tools.

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