Skip to main content
Glama

health_hospital

Read-only

US hospital lookup with CMS star ratings — Find US hospitals by name, city, state, zip or CMS certification number (id): address, phone, type, ownership, emergency services, CMS overall star rating (1-5) and how many mortality, safety, readmission, patient-experience and timeliness measures are better / no different / worse than the national rate. CMS Care Compare data (US government). 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": {
      "city": "<city>",
      "state": "<state>",
      "limit": "<limit>"
    },
    "name": "health_hospital"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesNashville
limitYes5
stateYesTN

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the description doesn't need to restate safety. What it does add beyond that is genuinely useful: the upstream data source (CMS Care Compare), an explicit per-call price ($0.004 USDC via x402), and the returned field inventory — which matters because there is no output schema. It stops short of noting whether all three inputs must be supplied or whether searches are case/format sensitive.

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 resource and its distinguishing attribute (CMS star ratings), then a dense but well-ordered colon list of return fields, closing with provenance and price. It is compact for the amount of information conveyed, though the unsupported name/zip/id clause is wasted words that actively mislead.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter read-only lookup with solid annotations and no output schema, the description does the heavy lifting on return values, data provenance, and cost — that is most of what an agent needs. The critical gap is the mismatch between the claimed search keys and the actual two locator parameters, which is exactly the information an agent needs to call it correctly.

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

Parameters2/5

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

The description advertises lookup "by name, city, state, zip or CMS certification number (id)", but the schema exposes only city, state and limit — there is no name, zip or certification-number parameter. An agent trusting the prose will try to pass unsupported arguments or assume flexible queries that will fail. Schema description coverage is 100%, but the entries are bare literal examples ("Nashville", "TN", "5") that clarify nothing about the string-typed limit or abbreviation format.

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?

Opens with a specific verb and resource ("Find US hospitals") and immediately enumerates exactly what comes back — address, phone, type, ownership, emergency services, CMS star rating 1-5, and measure-category comparisons. Nothing about it could be confused with the drug, NPI, or clinical-trials siblings.

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 by the geographic framing ("US hospital lookup"); there is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool. The implicit scope constraint (US-only) is the only routing signal an agent gets.

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