Skip to main content
Glama

Senior Legit CMS Care Provider Records

get_state_harm_stats

Read-onlyIdempotent

Retrieve state-level CMS nursing home actual-harm (G-L) and immediate-jeopardy (J-L) citation shares, 3-year federal fines, median nursing turnover, nurse hours per resident day, and >2-year inspection backlog.

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": "get_state_harm_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoOptional 2-letter U.S. state code (omit for all states).

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 declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavioral context by enumerating exactly what the returned metrics are (harm/immediate-jeopardy shares, 3-year fines, turnover, HPRD, >2-year backlog), which matters since no output schema exists.

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 no filler; the dense metric list is information-bearing rather than redundant. The parenthetical abbreviations (G-L, J-L) are compact but slightly jargon-heavy for an agent without domain context.

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 only one optional parameter and no output schema, the description carries the return-value burden and does so by enumerating the metric families reported. Minor gaps remain around output shape (one row per state?) and data vintage, but nothing that would block a correct call.

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% and the single parameter already documents the 2-letter state code pattern and the omit-for-all-states behavior. The description adds no further parameter meaning, so the baseline of 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?

States a specific verb (Retrieve) and a precisely scoped resource: state-level CMS nursing home harm citation shares, fines, turnover, staffing hours, and inspection backlog. This is clearly an aggregate state-level statistics tool, easily distinguished from siblings like lookup_provider_by_ccn or search_providers_by_zip.

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 description implies usage through its state-level aggregate framing, and the schema notes the state parameter is optional (omit for all states), which hints at a national rollup use case. However, it never explicitly says when to choose this over the provider-level siblings, nor does it state any exclusions or prerequisites.

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.