Skip to main content
Glama

Medicare Hospital Service Trend

medicare_hospital_service_trend
Read-onlyIdempotent

Show annual national Medicare fee-for-service utilization and average-payment trends for one inpatient MS-DRG or outpatient APC using CMS geography/service aggregates. Trends exclude Medicare Advantage and do not measure total market demand, revenue, or profitability.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
to_yearNo
from_yearNo
service_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
yearsYes
sourceYes
service_typeYes
interpretationYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds value by clarifying that trends are limited to fee-for-service and exclude Medicare Advantage, which provides important behavioral context beyond annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences: the first clearly states the function, the second adds important exclusions. It is concise, front-loaded, and contains no unnecessary words.

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?

Given the tool has an output schema and annotations, the description covers the main purpose and constraints. However, the lack of parameter descriptions (due to 0% schema coverage) leaves gaps for an agent, making it only minimally complete.

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?

Schema description coverage is 0%, so the description must compensate. It mentions 'one inpatient MS-DRG or outpatient APC' relating to service_type and code, and implies a date range via annual trends, but does not explicitly describe the 'code', 'from_year', or 'to_year' parameters or their formats.

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?

The description clearly specifies the tool shows annual national Medicare fee-for-service utilization and average-payment trends for one inpatient MS-DRG or outpatient APC. It differentiates from sibling tools like medicare_dme_service_trend by focusing on specific service types.

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?

The description states trends exclude Medicare Advantage and do not measure total market demand, revenue, or profitability. This provides context for when not to use the tool, but does not explicitly name alternative tools.

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.