← WebMCP Directory

Tool tree

webmcp-pharmacy.vercel.app

Health & EducationTools verified
Website
WebMCP Pharmacy Demo
Explore capabilities

    page: Caregiver

    list_pending_approvalsAnswer

    List the controlled-substance refill requests currently awaiting a caregiver decision, oldest first. Each entry includes the requestId needed by decide_pending_approval, the medication, the patient, and when it was requested. Returns an empty list when nothing is pending.

    View tool JSON
    {
      "name": "list_pending_approvals",
      "kind": "answer",
      "impl": "imperative",
      "description": "List the controlled-substance refill requests currently awaiting a caregiver decision, oldest first. Each entry includes the requestId needed by decide_pending_approval, the medication, the patient, and when it was requested. Returns an empty list when nothing is pending.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": []
      },
      "page": "/caregiver.html"
    }
    decide_pending_approvalAction

    Approve or deny a pending controlled-substance refill request on the caregiver's behalf — the same action as clicking Approve or Deny on the caregiver dashboard. Approving allows the requester to complete the refill; denying blocks it. Use list_pending_approvals to get the requestId first. A request that was already decided keeps its original decision.

    View tool JSON
    {
      "name": "decide_pending_approval",
      "kind": "act",
      "impl": "imperative",
      "description": "Approve or deny a pending controlled-substance refill request on the caregiver's behalf — the same action as clicking Approve or Deny on the caregiver dashboard. Approving allows the requester to complete the refill; denying blocks it. Use list_pending_approvals to get the requestId first. A request that was already decided keeps its original decision.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "The approval request id, from list_pending_approvals."
          },
          "decision": {
            "type": "string",
            "enum": [
              "approved",
              "denied"
            ],
            "description": "Either \"approved\" or \"denied\"."
          }
        },
        "required": [
          "requestId",
          "decision"
        ]
      },
      "page": "/caregiver.html"
    }
    list_pending_uploadsAnswer

    List the photographed prescriptions awaiting caregiver review, oldest first. Each entry includes the requestId needed by decide_pending_upload, the fields extracted from the image, and the extraction confidence — a low confidence means the photo was hard to read and the details deserve closer checking.

    View tool JSON
    {
      "name": "list_pending_uploads",
      "kind": "answer",
      "impl": "imperative",
      "description": "List the photographed prescriptions awaiting caregiver review, oldest first. Each entry includes the requestId needed by decide_pending_upload, the fields extracted from the image, and the extraction confidence — a low confidence means the photo was hard to read and the details deserve closer checking.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "required": []
      },
      "page": "/caregiver.html"
    }
    decide_pending_uploadAction

    Approve or reject a pending prescription upload on the caregiver's behalf — the same action as clicking Approve or Reject on the caregiver dashboard. Approving records the prescription (and flags it as a duplicate if the medication already exists); rejecting discards it. Use list_pending_uploads to get the requestId first.

    View tool JSON
    {
      "name": "decide_pending_upload",
      "kind": "act",
      "impl": "imperative",
      "description": "Approve or reject a pending prescription upload on the caregiver's behalf — the same action as clicking Approve or Reject on the caregiver dashboard. Approving records the prescription (and flags it as a duplicate if the medication already exists); rejecting discards it. Use list_pending_uploads to get the requestId first.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "The upload request id, from list_pending_uploads."
          },
          "decision": {
            "type": "string",
            "enum": [
              "approved",
              "rejected"
            ],
            "description": "Either \"approved\" or \"rejected\"."
          }
        },
        "required": [
          "requestId",
          "decision"
        ]
      },
      "page": "/caregiver.html"
    }

    page: Activity

    get_activity_logAnswer

    Get the pharmacy's decision history in one call: prescription uploads a caregiver approved, and caregiver decisions on controlled-substance refill requests. Both lists are newest first. Note that refills of non-controlled medications are not recorded here, because they never reach the server.

    View tool JSON
    {
      "name": "get_activity_log",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get the pharmacy's decision history in one call: prescription uploads a caregiver approved, and caregiver decisions on controlled-substance refill requests. Both lists are newest first. Note that refills of non-controlled medications are not recorded here, because they never reach the server.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "number",
            "minimum": 1,
            "description": "Optional. Return at most this many entries from each history. Omit for everything retained (each history keeps its 20 most recent entries)."
          }
        },
        "required": []
      },
      "page": "/activity.html"
    }