Skip to main content
Glama

Med Bill Check: Compare a charge with Medicare's rate for one service

medbillcheck_check_price
Read-onlyIdempotent

Med Bill Check. Compare a charge with Medicare's rate for one service. Needs code (from the bill) or q (the service in plain words); state and charged turn it into a comparison. For when someone asks whether a charge is high or what Medicare pays, for example "I was charged $450 for a 99213 office visit in Texas, is that too high?" or "what does Medicare pay for an MRI of the knee?". Takes the billing code if they have it, otherwise the service in plain words as q. Returns Medicare's 2026 rate for the state (or the city's own pricing area when city is given) in medicare_2026, the amount providers typically billed in 2024, and how many times the Medicare rate the charge is. For care in a hospital, hospital_facility_2026 gives Medicare's national rate for the hospital's own facility fee and comparison.compared_with says what the charge was set against. Dental work has no Medicare rate and returns 404 with a pointer to a free dental cost source.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "medbillcheck_check_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoThe service in plain words, used when there is no code, like "knee MRI" or "ER visit".
cityNoCity, for states where Medicare pays big cities differently, like Houston, Chicago, Miami or Los Angeles. Other places use the rest-of-state rate.
codeNoFive-character CPT or HCPCS code from the bill, like 99213, 73721 or G0121.
stateNoUS state name or two-letter code, like Texas or TX. Med Bill Check is for US bills; a UK place gets a short answer pointing to UK sources.
chargedNoThe amount on the bill in US dollars, like 450.
settingNoSetting: office (clinic, office, imaging center) or facility (hospital or surgery center). Leave out to use the usual setting.
billed_byNoWhose bill the charge is on when the service was in a hospital: hospital (the hospital's own facility charge) or doctor (the doctor's or physician group's bill). Leave out if not known: the charge is then compared with both together.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / setting / description
      Previous value: -"office (clinic, office, imaging center) or facility (hospital or surgery center). Leave out to use the usual setting."New value: +"Setting: office (clinic, office, imaging center) or facility (hospital or surgery center). Leave out to use the usual setting."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare the safe-read profile (readOnly, idempotent, non-destructive, open-world), so the bar is low, yet the description adds substantial operational detail: what fields come back (medicare_2026, 2024 typical billed amounts, comparison.compared_with), how hospital facility fees are separate, and that dental returns 404 with a pointer to a free alternative source.

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 purpose, then usage, then input choice, then return values in a logical order. It is dense and slightly repetitive (the title sentence is restated verbatim after "Med Bill Check."), but nearly every sentence carries actionable information.

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-value burden itself and does so: names the key response fields, explains the hospital-facility variant, and documents the dental 404 edge case. All seven parameters are optional and fully described in the schema, so nothing an agent needs is missing.

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 coverage is 100%, so the baseline is 3; the description still adds precedence guidance not present in the schema ("takes the billing code if they have it, otherwise the service in plain words as q") and explains how city changes the pricing area and how setting/hospital context affects the comparison. It stops short of explaining billed_by's default here, but the schema covers it.

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+resource (compare a charge with Medicare's rate) and scopes it to "one service," which implicitly separates it from medbillcheck_check_whole_bill. An agent reading only the first two sentences knows exactly what this returns.

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?

Gives concrete when-to-use triggers with two realistic user phrasings ("I was charged $450 for a 99213 office visit in Texas, is that too high?" and "what does Medicare pay for an MRI of the knee?") plus a code-vs-q fallback rule. It does not name sibling tools or state when not to use it, which keeps it short of a 5.

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.