Skip to main content
Glama
manolaz

Emergency Medicare Planner MCP Server

by manolaz

check_medicare_coverage

Verify Medicare coverage for specific treatments and procedures by entering the treatment code, state, and insurance type. Determine eligibility and plan for emergency medical needs effectively.

Instructions

Checks what treatments and procedures are covered by Medicare

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
insuranceTypeNoType of Medicare insurance (e.g., Part A, Part B)
stateYesUS State code (e.g., CA, NY)
treatmentCodeYesMedicare treatment or procedure code

Implementation Reference

  • Handler for the check_medicare_coverage tool: validates input schema and returns mock Medicare coverage information.
    case "check_medicare_coverage": { const validatedArgs = CheckMedicareCoverageSchema.parse(args); // Mock implementation - would connect to Medicare database in real implementation return { content: [ { type: "text", text: `Medicare coverage for ${validatedArgs.treatmentCode} in ${validatedArgs.state}:\n` + `Coverage Type: ${validatedArgs.insuranceType || "Standard"}\n` + `Coverage Status: Covered\n` + `Co-pay: $25\n` + `Deductible: Applies\n` + `Special Requirements: Prior authorization needed`, }, ], }; }
  • Zod schema defining the input parameters for the check_medicare_coverage tool.
    const CheckMedicareCoverageSchema = z.object({ treatmentCode: z.string().describe("Medicare treatment or procedure code"), state: z.string().describe("US State code (e.g., CA, NY)"), insuranceType: z.string().optional().describe("Type of Medicare insurance (e.g., Part A, Part B)"), });
  • index.ts:269-273 (registration)
    Registration of the check_medicare_coverage tool in the ListToolsRequestHandler response.
    { name: "check_medicare_coverage", description: "Checks what treatments and procedures are covered by Medicare", inputSchema: zodToJsonSchema(CheckMedicareCoverageSchema), },

Other Tools

Related 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/manolaz/emergency-medicare-planner-mcp-server'

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