Skip to main content
Glama

AthenaDS Solutions

Search hospital payment figures

search_prices
Read-onlyIdempotent

Search what Medicare paid hospitals. q is free text: an everyday name of a hospital stay or outpatient procedure ("knee replacement", "pneumonia", "pacemaker"), a hospital name or a city. code is a DRG or APC code ("470", "APC 5491"). Each result is one hospital + one service: the average payment (labeled for what it is), billed charge, patient volume, CMS quality stars and the official source. Amounts are published Medicare averages, not quotes. Single tests, scans and visits (MRI, CT, labs, ER) are not in the data.

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": "search_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoService, hospital or city in plain words
cityNo
codeNoDRG or APC code
kindNodrg = hospital stays, apc = outpatient
limitNo
stateNoTwo-letter state code or state name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond that: result granularity, the specific fields returned (average payment, billed charge, volume, CMS stars, source), a caution that amounts are published averages and not quotes, and a negative coverage statement. Pagination and how limit affects results are not addressed.

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 definition is front-loaded with the core action, then parameter guidance, then the shape of results, then the coverage caveat. The parenthetical example list is dense but each example disambiguates a different input style, so little is 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?

There is no output schema, and the description compensates by spelling out the returned fields and the units/semantics of amounts. For a six-parameter search with safety annotations, the main remaining gap is guidance on how limit and the city/state filters combine or override q.

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?

With 67% schema coverage, the description adds genuine meaning for the two most important parameters: q is free text for service, hospital or city, with worked examples, and code accepts DRG or APC with format examples. However, city, state and limit receive no explanation in the description, and those are the parameters most likely to be misused.

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?

Opens with a specific verb and resource: 'Search what Medicare paid hospitals,' and the following sentences clarify the unit of a result (one hospital + one service). The purpose is unmistakable, though it makes no attempt to distinguish itself from siblings like compare_procedure or hospital_profile.

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 through concrete examples of what to put in q ('knee replacement', 'pneumonia') and code ('470', 'APC 5491'), plus a scope exclusion that single tests, scans, labs and ER visits are not in the data. It never says when to prefer this over compare_procedure, list_services or hospital_profile, so the agent must infer routing.

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