Skip to main content
Glama
manolaz

Emergency Medicare Planner MCP Server

by manolaz

schedule_emergency_transport

Arrange emergency medical transport by specifying patient location, medical condition, and urgency level. Connects with medical facilities for efficient patient transfer.

Instructions

Arranges emergency medical transportation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
destinationNoDestination hospital or clinic
medicalConditionYesBrief description of medical condition
patientLocationYesPatient's current location
urgencyYesLevel of urgency

Implementation Reference

  • Handler function for schedule_emergency_transport tool. Validates input args using the schema and returns a formatted response simulating emergency transport scheduling with details like ETA and transport ID.
    case "schedule_emergency_transport": { const validatedArgs = ScheduleEmergencyTransportSchema.parse(args); return { content: [ { type: "text", text: `Emergency transport scheduled from ${validatedArgs.patientLocation}\n` + `${validatedArgs.destination ? `To: ${validatedArgs.destination}\n` : ''}` + `Urgency: ${validatedArgs.urgency}\n` + `Condition: ${validatedArgs.medicalCondition}\n` + `ETA: 12 minutes\n` + `Transport ID: EMT-${Math.floor(Math.random() * 10000)}\n` + `Please stand by and keep patient stable.`, }, ], }; }
  • Zod schema defining the input structure for the schedule_emergency_transport tool, including patient location, optional destination, medical condition, and urgency level.
    const ScheduleEmergencyTransportSchema = z.object({ patientLocation: z.string().describe("Patient's current location"), destination: z.string().optional().describe("Destination hospital or clinic"), medicalCondition: z.string().describe("Brief description of medical condition"), urgency: z.enum(["critical", "urgent", "standard"]).describe("Level of urgency"), });
  • index.ts:279-283 (registration)
    Tool registration in the ListToolsRequestSchema handler, providing the tool's name, description, and converted JSON schema for MCP protocol compliance.
    { name: "schedule_emergency_transport", description: "Arranges emergency medical transportation", inputSchema: zodToJsonSchema(ScheduleEmergencyTransportSchema), },

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