Skip to main content
Glama

Compare nursing homes

nursing_home_compare
Read-onlyIdempotent

Compare 2 to 5 nursing homes side by side from CMS Care Compare: the four star ratings, nurse and RN hours per resident per day, staff turnover, health deficiencies in the latest inspection cycle, fines, abuse icon and Special Focus status, with the leader on each measure and the state averages.

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": {
      "facilities": "<facilities>"
    },
    "name": "nursing_home_compare"
  }
}

Input Schema

NameRequiredDescriptionDefault
facilitiesYes2 to 5 facilities, each as {ccn} or {name, state}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds real value by describing the shape of the result (per-measure leader and state averages), which matters since there is no output schema. However, it says nothing about failure behavior when a facility cannot be resolved by name/CCN or about any lookup cost, leaving gaps beyond the annotations.

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?

A single front-loaded sentence with the action first and the returned measures after. The long enumeration of measures is justified because there is no output schema, though the sentence is dense and could be broken for readability.

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?

With no output schema, the description correctly spends its budget explaining what comes back, including comparative elements (leader per measure, state averages) that an agent could not otherwise predict. It is nearly complete for this complexity; only unresolved-facility behavior and result ordering are missing.

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% and each item field (ccn, name, city, state) is already documented, including the 'most exact' hint on ccn and the 2-to-5 bounds. The description only restates the 2-to-5 range and adds no identifier-resolution rules or precedence guidance beyond the schema, so the baseline 3 applies.

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

Purpose4/5

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

The description names a specific verb and resource ('Compare 2 to 5 nursing homes side by side from CMS Care Compare') and enumerates the exact measures returned (star ratings, nurse/RN hours, turnover, deficiencies, fines, abuse icon, Special Focus). This is clearly a multi-facility comparison rather than a single-facility lookup, which implicitly separates it from the ratings/search siblings. It stops short of naming a sibling to route against, so it is not a 5.

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 only implied: 'side by side' and the 2-to-5 bound signal that this is for comparing multiple facilities, but there is no explicit when-to-use, when-not-to-use, or statement pointing to nursing_home_ratings for a single facility. An agent must infer the selection rule from the count constraint.

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.