Skip to main content
Glama

Hospital Price Coverage

hospital_price_coverage
Read-onlyIdempotent

Whether this store holds a hospital's prices and, if not, WHY. Look up one hospital by CCN or by name (partial match), or summarise a state, or (no arguments) the whole store, including which states are loaded (the store is loaded state by state, so a hospital in an unloaded state is simply absent). Every hospital in a loaded state has a status: ok (prices held), blocked (its website refuses our requests; we do not evade blocks), not_found (no machine-readable file found), invalid_pointer, soft_404, unsupported_version, too_large, parse_error, no_matching_codes, not_fetched. Use before trusting an empty hospital_price_search, or to answer "does this tool cover Mayo Clinic".

Input Schema

NameRequiredDescriptionDefault
ccnNoCMS Certification Number, e.g. "330101".
nameNoHospital name or part of it, e.g. "Mayo Clinic". Up to 25 matches are returned.
stateNoTwo-letter state code, e.g. "MN": counts by status for that state.
statusNoWith state: list hospitals having this status (e.g. "blocked").

Output Schema

NameRequiredDescriptionDefault
hintNoHow to narrow or fix the request
foundNoWhether at least one priced result was found
reasonNoMachine-readable reason when found is false
sourceNoPublisher and dataset
matchesNoName matches
messageNoPlain-language explanation of the reason
coverageNoWhich states and how many hospitals the store holds
hospitalNoOne hospital's coverage status
by_statusNoCounts per status
hospitalsNoHospitals with status
data_as_ofNoFile last-updated date, or the store cycle
store_cycleNoStore cycle date
licence_noteNoReuse-licence caveat

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent/non-destructive, but the description adds the crucial operating model: the store is loaded state by state, so absence in an unloaded state is not evidence of non-coverage. It also discloses that 'blocked' means the source refuses requests and the service does not evade blocks — behavior an agent cannot infer from any structured field.

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 core question and the usage trigger, with zero filler sentences. It loses a point for a long run-on middle section where the nine-value status list is embedded mid-sentence, making it slightly harder to scan than a separated list would be.

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

Completeness5/5

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

All optional parameters, the no-arg behavior, the state-loading caveat, the match cap, and the full status vocabulary are covered; an output schema exists so return shape needs no explanation. Nothing an agent needs in order to call this correctly or interpret an empty result is 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 coverage is 100%, so the four parameters are already documented, and the description's mode mapping (status only meaningful alongside state, empty arguments mean whole store) is partly repeated from the schema's own 'With state:' note. The status vocabulary explanation adds real semantic value but is about output values rather than parameter meaning, so this sits at the schema-driven baseline.

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 precise framing — whether the store holds a hospital's prices and, if not, why — then enumerates the exact lookup modes (CCN, partial name, state summary, no-arg whole store). It is clearly distinguishable from siblings hospital_price_search and hospital_price_compare because it is explicitly posed as the coverage/status oracle rather than a price lookup.

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

Usage Guidelines5/5

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

Gives an explicit trigger: "Use before trusting an empty hospital_price_search." It also supplies a natural-language use case ("does this tool cover Mayo Clinic") and explains the no-argument path, so an agent knows both when to call it and which mode to pick.

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.