Skip to main content
Glama

health_county_health_rank

Read-only

Rank US counties by a health measure — Rank US counties (nationally or within one state) by any CDC PLACES 2025 measure, e.g. obesity, diabetes, smoking, depression, no health insurance, routine checkup. Returns top/bottom counties with values and 95% CI, scope average/min/max, US county average and whether the state is BETTER/WORSE/SIMILAR than the US. Params: measure (required; id like OBESITY or a name like obesity), state (optional), order (optional high|low, default high), limit (optional 1-50, default 10), type (optional ageadjusted|crude). Unknown measure returns the list of valid ids. Source: CDC PLACES (public domain). Price: $0.004 USDC (Base, via x402).

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": {
      "measure": "<measure>"
    },
    "name": "health_county_health_rank"
  }
}

Input Schema

NameRequiredDescriptionDefault
measureYesOBESITY

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing the return payload (values with 95% CI, scope average/min/max, US county average, BETTER/WORSE/SIMILAR verdict), the error behavior for unknown measures, and the $0.004 USDC x402 payment requirement. Cost and error semantics are exactly the kind of context annotations cannot carry.

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-loads the ranking purpose and example measures, then packs return shape, parameter list and pricing into one dense but scannable block. A few clauses (the full measure enumeration) are padding given the schema already anchors the required field, but nothing is seriously wasted.

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 carries the return-shape burden and does so well, plus covers pricing and error behavior. The one gap is the inconsistency between the five documented parameters and the single-property schema, which leaves an agent unsure which arguments are actually accepted.

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

Parameters4/5

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

Adds real meaning over the thin schema ('OBESITY' as a bare example), explaining that measure accepts an id or a plain name, and documents order defaults (high), limit range (1-50, default 10) and type values (ageadjusted|crude). However it describes state/order/limit/type which do not appear in the supplied schema (only measure exists), which could lead an agent to pass unsupported arguments.

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 ('Rank US counties by a health measure'), names the data source (CDC PLACES 2025), and gives concrete example measures, which separates it from the measure-specific siblings like health_overdose_rank and the county-detail sibling health_county_health.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clearly establishes the two supported scopes (national vs within one state) and the high/low ordering, plus the useful fallback that an unknown measure returns the list of valid ids. It does not explicitly say when to prefer health_county_health or the narrower rank tools, so routing guidance is implied 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.

Resources