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
| Name | Required | Description | Default |
|---|---|---|---|
| insuranceType | No | Type of Medicare insurance (e.g., Part A, Part B) | |
| state | Yes | US State code (e.g., CA, NY) | |
| treatmentCode | Yes | Medicare treatment or procedure code |
Implementation Reference
- index.ts:392-408 (handler)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`, }, ], }; }
- index.ts:230-234 (schema)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), },