Skip to main content
Glama

Absorption: senior housing development demand, supply and math

Rank states for senior housing development

rank_states
Read-onlyIdempotent

Ranks all 50 states and DC on one senior housing measure: 75+ or 85+ population, 75+ or 85+ growth since April 2020, nursing home beds per 1,000 aged 85+, assisted living beds per 1,000 aged 75+, or HUD 232 new construction loans since FY2001. Each row also carries growth, both bed ratios, certificate of need status and the state page link.

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

Input Schema

NameRequiredDescriptionDefault
limitNoRows to return, 1 to 51 (default 10).
orderNoHighest first or lowest first. Default: lowest for the two bed ratios (thinnest supply first), highest for everything else.
metricYesMeasure to rank by.
offsetNoSkip this many rows, for paging.

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 readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real value beyond that by disclosing what each row returns (growth, both bed ratios, certificate of need status, state page link) — important since there is no output schema — though it doesn't mention ordering defaults or paging behavior, which live in the schema.

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?

Two sentences, front-loaded with the verb and scope, with no filler. The near-duplication between the metric list and the row-contents clause is the only mild redundancy.

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 compensates by enumerating the row fields an agent will receive, and it states the population covered (all states + DC). Only the ordering/paging mechanics are left unaddressed, and those are fully covered in the schema.

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 every parameter including the metric enum is documented, and the default-order behavior for the two bed ratios is spelled out in the schema itself. The description's plain-language restatement of the seven measures helps map user intent onto the enum but adds little beyond the schema, so baseline 3 fits.

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 (ranks) and a precise scope (all 50 states and DC) plus the full set of rankable measures. An agent can tell this is a cross-state ranking tool and not the sibling `state_demand_supply` (a single-state deep dive) or `absorption_calc` (a computation) without opening any 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?

Usage is implied: use this when you need states ordered by one senior-housing measure. There is no explicit when-to-use/when-not, and the sibling tools `absorption_calc` and `state_demand_supply` are never named, so the agent must infer the boundary from the purpose statement alone.

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