Skip to main content
Glama

Distill

Hospital price and file changes, as a paged feed

hospital_changes
Read-only

Change records from diffing consecutive weekly builds: a hospital republishing its file (source raw_sha256), items and payer rates that appear, disappear or change price, a hospital’s status or file date changing, and the canonical payer of a payer/plan name changing. Keys: source <source_id>; hospital <hospital id>; item <source_id>|<type>|<code>|<setting>|<billing_class>|<modifiers>; rate <item key>|<payer name>|<plan name>|<methodology> (names as the hospital writes them; one rate per methodology, empty when none is given); plan <payer name>|<plan name>. Money is integer micro-USD (unit usd_micro). Each record cites the sha256 of the file versions it came from. Pages of up to 100, oldest first; pass next_cursor back as cursor. Price: $0.05 per call. Free tier: 3 free calls a day per IP, at most 3 rows per answer, taken by an unpaid call unless its _meta["distill/free-tier"] is "skip". Confidence: Change records are diffs of consecutive serving DBs, computed deterministically; confidence is the feed’s freshness only: 1 within 14 days of the newest build, then halving every 30 days. Posted standard charges from hospital machine-readable files (45 CFR 180): posted rates, not a quote; not medical or financial advice. What you pay depends on your plan, your care and the hospital. See /terms.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoRecords per page (default 100).
sinceNoOnly records detected at or after this time (ISO 8601).
cursorNonext_cursor from the previous page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description adds substantial behavioral context beyond that: pagination behavior, oldest-first ordering, per-call pricing, free-tier conditions, confidence decay tied to build freshness, and legal caveats about posted rates. It also clarifies that records are deterministic diffs rather than advisory or quote data, which meaningfully informs agent use.

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?

The description front-loads the core purpose and then organizes the remaining information into keys, money units, pagination, pricing/free-tier rules, confidence, and legal notes. It is dense but mostly earns its space, though the long single block of text could be structured more easily for an agent to scan.

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?

With no output schema, the description carries the return-shape burden and does so well: it defines record categories, composite keys, the usd_micro money unit, sha256 provenance, pagination limits, cursor handling, and confidence semantics. Given the tool's complexity and lack of an output schema, this is complete enough for correct invocation.

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?

Schema description coverage is 100%, so the schema already documents limit, since, and cursor. The description adds relevant pagination semantics by specifying pages of up to 100 are returned oldest first and that next_cursor should be passed back as cursor, which supplements the cursor parameter beyond its schema text.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource and scope: change records derived from diffing consecutive weekly hospital builds, with enumerated record types such as republished files, item/rate additions/removals/price changes, status changes, and payer-name changes. It is clearly not a current-price or payer-list tool, but it does not explicitly name or differentiate itself from sibling tools like hospital_prices or hospital_payers.

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 by the paged-feed framing and operational notes about cursor reuse, oldest-first ordering, free-tier limits, and row caps. However, the description does not explicitly say when to choose this tool over alternatives such as hospital_prices or hospital_compare, nor does it give when-not-to-use guidance.

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