Skip to main content
Glama
openpharma-org

Medicaid MCP Server

medicaid_info

Access Medicaid public data including drug pricing, state enrollment trends, federal upper limits, and drug rebate information from data.medicaid.gov.

Instructions

Unified tool for Medicaid data operations: access enrollment trends, drug pricing (NADAC), quality measures, and program performance from data.medicaid.gov via Socrata SODA API. Provides state-level aggregates (NOT provider-level like Medicare).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
methodYesThe operation to perform: get_nadac_pricing (drug pricing), compare_drug_pricing (multi-drug comparison), get_enrollment_trends (state enrollment), compare_state_enrollment (multi-state comparison), get_drug_rebate_info (rebate program), search_state_formulary (CA/NY/TX/OH/IL formularies), get_drug_utilization (state prescriptions), get_federal_upper_limits (FUL pricing), list_available_datasets (catalog), search_datasets (custom query)
stateNoState abbreviation (e.g., "CA", "TX", "NY") - required for get_enrollment_trends
statesNoArray of state abbreviations for compare_state_enrollment
ndc_codeNoNational Drug Code (11-digit) for get_nadac_pricing
drug_nameNoDrug name (partial match supported) for get_nadac_pricing or get_drug_rebate_info
price_dateNoSpecific pricing date (YYYY-MM-DD) for get_nadac_pricing - defaults to latest
start_dateNoStart date (YYYY-MM-DD) for time-range queries
end_dateNoEnd date (YYYY-MM-DD) for time-range queries
enrollment_typeNoType of enrollment data for enrollment methods
monthNoSpecific month (YYYY-MM) for compare_state_enrollment
ndc_codesNoArray of NDC codes for compare_drug_pricing
drug_namesNoArray of drug names for compare_drug_pricing
labeler_nameNoManufacturer name for get_drug_rebate_info
rebate_yearNoYear for get_drug_rebate_info
dataset_idNoDataset identifier for search_datasets
where_clauseNoSoQL WHERE clause for search_datasets
limitNoMaximum results to return (default: 100, max: 5000)
offsetNoPagination offset (default: 0)
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the data source and scope but fails to describe critical behavioral traits: whether operations are read-only or mutative, authentication requirements, rate limits, error handling, or response formats. The description adds minimal context beyond stating the API source, leaving significant gaps in understanding how the tool behaves.

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 is appropriately concise with two sentences that efficiently convey the tool's scope and data source. It's front-loaded with the main purpose and avoids unnecessary details. However, it could be slightly more structured by explicitly listing the key operations or use cases.

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

Completeness2/5

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

Given the complexity (18 parameters, no annotations, no output schema), the description is incomplete. It covers the general purpose and scope but lacks essential context: behavioral traits, usage guidelines, output information, and practical constraints. For a multi-operation tool with many parameters, this minimal description leaves too many unanswered questions for effective agent use.

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 description coverage is 100%, so the schema already documents all 18 parameters thoroughly. The description adds no parameter-specific information beyond what's in the schema. It mentions general data types but doesn't explain parameter relationships, dependencies, or usage patterns. The baseline score of 3 reflects adequate coverage by the schema alone.

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 clearly states the tool's purpose as a 'unified tool for Medicaid data operations' that accesses specific data types (enrollment trends, drug pricing, quality measures, program performance) from a specific source (data.medicaid.gov via Socrata SODA API). It distinguishes scope by noting 'state-level aggregates (NOT provider-level like Medicare).' However, with no sibling tools, the differentiation aspect is less critical, and the description could be more specific about the exact operations.

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

Usage Guidelines2/5

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

The description provides no explicit guidance on when to use this tool versus alternatives. It mentions the data source and scope but lacks information about prerequisites, performance characteristics, or typical use cases. With no sibling tools, there's no need to differentiate from alternatives, but the absence of any usage context or constraints leaves the agent without practical guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/openpharma-org/medicaid-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server