Humana Capabilities

Naftiko 0.5 capability definitions for Humana - 100 capabilities showing integration workflows and service orchestrations.

Sort
Expand

Submits Humana clinical policy documents and healthcare compliance reports to the Anthropic API for AI-powered summarization and stores the result in SharePoint for clinical team review.

naftiko: "0.5"
info:
  label: "Anthropic Clinical Document Summarization"
  description: "Submits Humana clinical policy documents and healthcare compliance reports to the Anthropic API for AI-powered summarization and stores the result in SharePoint for clinical team review."
  tags:
    - ai
    - healthcare
    - document-management
    - anthropic
    - sharepoint
    - compliance
capability:
  exposes:
    - type: mcp
      namespace: ai-clinical
      port: 8080
      tools:
        - name: summarize-clinical-document
          description: "Given a SharePoint URL of a Humana clinical policy or healthcare compliance document, retrieve the content, send to Anthropic API for concise AI summarization, and save the summary to SharePoint for clinical team review."
          inputParameters:
            - name: document_url
              in: body
              type: string
              description: "The SharePoint URL of the clinical document to summarize."
            - name: site_id
              in: body
              type: string
              description: "The SharePoint site ID where the summary should be stored."
          steps:
            - name: get-document
              type: call
              call: "sharepoint-doc.get-file-content"
              with:
                document_url: "{{document_url}}"
            - name: generate-summary
              type: call
              call: "anthropic.create-message"
              with:
                model: "claude-opus-4-5"
                prompt: "Summarize the following Humana clinical policy document, highlighting key clinical guidelines, member obligations, and compliance requirements: {{get-document.content}}"
            - name: save-summary
              type: call
              call: "sharepoint-save.create-page"
              with:
                site_id: "{{site_id}}"
                title: "AI Clinical Summary: {{get-document.filename}}"
                content: "{{generate-summary.completion}}"
  consumes:
    - type: http
      namespace: sharepoint-doc
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: files
          path: "/sites/{{site_id}}/drive/root:/{{document_url}}:/content"
          inputParameters:
            - name: site_id
              in: path
            - name: document_url
              in: path
          operations:
            - name: get-file-content
              method: GET
    - type: http
      namespace: anthropic
      baseUri: "https://api.anthropic.com/v1"
      authentication:
        type: apikey
        key: "x-api-key"
        value: "$secrets.anthropic_api_key"
        placement: header
      resources:
        - name: messages
          path: "/messages"
          operations:
            - name: create-message
              method: POST
    - type: http
      namespace: sharepoint-save
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: pages
          path: "/sites/{{site_id}}/pages"
          inputParameters:
            - name: site_id
              in: path
          operations:
            - name: create-page
              method: POST

Queries Azure Cost Management for Humana resource groups exceeding budget thresholds and posts a weekly FinOps cost digest to the cloud governance Teams channel.

naftiko: "0.5"
info:
  label: "Azure Cloud Cost Anomaly Reporting"
  description: "Queries Azure Cost Management for Humana resource groups exceeding budget thresholds and posts a weekly FinOps cost digest to the cloud governance Teams channel."
  tags:
    - cloud
    - finops
    - azure
    - microsoft-teams
    - reporting
capability:
  exposes:
    - type: mcp
      namespace: finops-reporting
      port: 8080
      tools:
        - name: publish-azure-cost-report
          description: "Query Azure Cost Management for Humana resource groups exceeding budget thresholds and post a weekly FinOps cost digest to the cloud governance Teams channel."
          inputParameters:
            - name: subscription_id
              in: body
              type: string
              description: "The Azure subscription ID to query costs for."
            - name: billing_period
              in: body
              type: string
              description: "The billing period in YYYYMM format, e.g. 202603."
          steps:
            - name: get-cost-data
              type: call
              call: "azure-cost.get-usage-details"
              with:
                subscription_id: "{{subscription_id}}"
                billing_period: "{{billing_period}}"
            - name: post-report
              type: call
              call: "msteams-finops.post-channel-message"
              with:
                channel_id: "$secrets.finops_channel_id"
                message: "Humana Azure cost report for {{billing_period}}: Total {{get-cost-data.total_cost}} {{get-cost-data.currency}}. Top group: {{get-cost-data.top_group}}."
  consumes:
    - type: http
      namespace: azure-cost
      baseUri: "https://management.azure.com"
      authentication:
        type: bearer
        token: "$secrets.azure_token"
      resources:
        - name: usage-details
          path: "/subscriptions/{{subscription_id}}/providers/Microsoft.Consumption/usageDetails"
          inputParameters:
            - name: subscription_id
              in: path
            - name: billing_period
              in: query
          operations:
            - name: get-usage-details
              method: GET
    - type: http
      namespace: msteams-finops
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Auto-scales AKS.

naftiko: "0.5"
info:
  title: Azure Humana Scaler
  version: "1.0"
  description: Auto-scales AKS.
  tags: [infrastructure, observability, healthcare, azure]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: scale_humana
        description: Checks, scales, alerts.
        inputParameters:
          - name: cluster
            in: body
            required: true
            type: string
          - name: threshold
            in: body
            required: true
            type: number
        steps:
          - name: check
            call:
              operationId: queryMetric
              input:
                query: "avg:kubernetes.cpu{cluster:{{cluster}}}"
          - name: scale
            call:
              operationId: scaleNodes
              input:
                cluster: "{{cluster}}"
          - name: alert
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "platform"
                message: "Scaled."
  consumes:
    - type: http
      baseUri: https://api.datadoghq.com/api/v1
      authentication:
        type: apikey
        name: DD-API-KEY
        in: header
        key: $secrets.datadog_api_key
      resources:
        - path: /metrics/query
          operations:
            - id: queryMetric
              method: GET
    - type: http
      baseUri: https://management.azure.com/subscriptions/humana
      authentication:
        type: bearer
        token: $secrets.azure_mgmt_token
      resources:
        - path: /resourceGroups/clinical/providers/Microsoft.ContainerService/managedClusters/{cluster}
          operations:
            - id: scaleNodes
              method: PATCH
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Triggers ML pipeline.

naftiko: "0.5"
info:
  title: Databricks Humana ML
  version: "1.0"
  description: Triggers ML pipeline.
  tags: [analytics, claims, healthcare, databricks]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: trigger_humana_ml
        description: Runs, refreshes, notifies.
        inputParameters:
          - name: pipeline
            in: body
            required: true
            type: string
          - name: model
            in: body
            required: true
            type: string
        steps:
          - name: run
            call:
              operationId: triggerJob
              input:
                pipeline: "{{pipeline}}"
          - name: refresh
            call:
              operationId: refreshDataset
              input:
                dataset: "claims-ml"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "data-science"
                message: "ML complete."
  consumes:
    - type: http
      baseUri: https://humana-databricks.azuredatabricks.net/api/2.1
      authentication:
        type: bearer
        token: $secrets.databricks_token
      resources:
        - path: /jobs/run-now
          operations:
            - id: triggerJob
              method: POST
    - type: http
      baseUri: https://api.powerbi.com/v1.0/myorg
      authentication:
        type: bearer
        token: $secrets.powerbi_token
      resources:
        - path: /groups/analytics/datasets/claims-ml/refreshes
          operations:
            - id: refreshDataset
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

When Datadog detects an anomaly on a Humana member-facing platform, creates a ServiceNow incident and notifies the platform engineering team via Teams.

naftiko: "0.5"
info:
  label: "Datadog Healthcare Platform Observability Alert"
  description: "When Datadog detects an anomaly on a Humana member-facing platform, creates a ServiceNow incident and notifies the platform engineering team via Teams."
  tags:
    - observability
    - monitoring
    - datadog
    - servicenow
    - microsoft-teams
    - healthcare
capability:
  exposes:
    - type: mcp
      namespace: platform-ops
      port: 8080
      tools:
        - name: handle-platform-alert
          description: "Given a Datadog monitor ID that fired on a Humana member-facing platform, retrieve alert details, open a ServiceNow incident, and notify the platform engineering channel in Microsoft Teams."
          inputParameters:
            - name: monitor_id
              in: body
              type: string
              description: "The Datadog monitor ID that triggered the alert."
          steps:
            - name: get-monitor
              type: call
              call: "datadog.get-monitor"
              with:
                monitor_id: "{{monitor_id}}"
            - name: create-incident
              type: call
              call: "servicenow-platform.create-incident"
              with:
                short_description: "Platform alert: {{get-monitor.name}}"
                description: "Monitor: {{get-monitor.name}}\nStatus: {{get-monitor.overall_state}}"
                category: "healthcare_platform"
            - name: notify-platform
              type: call
              call: "msteams-platform.post-channel-message"
              with:
                channel_id: "$secrets.platform_channel_id"
                message: "Platform alert: {{get-monitor.name}} | SNOW: {{create-incident.number}} | State: {{get-monitor.overall_state}}"
  consumes:
    - type: http
      namespace: datadog
      baseUri: "https://api.datadoghq.com/api/v1"
      authentication:
        type: apikey
        key: "DD-API-KEY"
        value: "$secrets.datadog_api_key"
        placement: header
      resources:
        - name: monitors
          path: "/monitor/{{monitor_id}}"
          inputParameters:
            - name: monitor_id
              in: path
          operations:
            - name: get-monitor
              method: GET
    - type: http
      namespace: servicenow-platform
      baseUri: "https://humana.service-now.com/api/now"
      authentication:
        type: basic
        username: "$secrets.servicenow_user"
        password: "$secrets.servicenow_password"
      resources:
        - name: incidents
          path: "/table/incident"
          operations:
            - name: create-incident
              method: POST
    - type: http
      namespace: msteams-platform
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Queries Datadog for API metrics.

naftiko: "0.5"
info:
  title: Datadog Humana Health
  version: "1.0"
  description: Queries Datadog for API metrics.
  tags: [observability, datadog, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: query_humana_health
        description: Returns error rate and latency.
        inputParameters:
          - name: service
            in: query
            required: true
            type: string
          - name: range
            in: query
            required: true
            type: string
        call:
          operationId: queryMetric
          input:
            query: "avg:http.errors{service:{{service}}}"
            from: "{{range}}"
        outputParameters:
          - name: error_rate
            type: number
          - name: p99_ms
            type: number
  consumes:
    - type: http
      baseUri: https://api.datadoghq.com/api/v1
      authentication:
        type: apikey
        name: DD-API-KEY
        in: header
        key: $secrets.datadog_api_key
      resources:
        - path: /metrics/query
          operations:
            - id: queryMetric
              method: GET

When a new hire record is created in Workday, opens a ServiceNow onboarding ticket, provisions a Microsoft 365 account, and sends a Teams welcome message.

naftiko: "0.5"
info:
  label: "Employee Onboarding Orchestrator"
  description: "When a new hire record is created in Workday, opens a ServiceNow onboarding ticket, provisions a Microsoft 365 account, and sends a Teams welcome message."
  tags:
    - hr
    - onboarding
    - workday
    - servicenow
    - microsoft-teams
capability:
  exposes:
    - type: mcp
      namespace: hr-onboarding
      port: 8080
      tools:
        - name: trigger-onboarding
          description: "Given a Workday employee ID and start date, orchestrate the full new-hire onboarding sequence across ServiceNow, Microsoft Graph, and Microsoft Teams for Humana."
          inputParameters:
            - name: employee_id
              in: body
              type: string
              description: "The Workday worker ID for the new hire."
            - name: start_date
              in: body
              type: string
              description: "The employee start date in YYYY-MM-DD format."
          steps:
            - name: get-employee
              type: call
              call: "workday.get-worker"
              with:
                worker_id: "{{employee_id}}"
            - name: create-ticket
              type: call
              call: "servicenow.create-incident"
              with:
                short_description: "New hire onboarding: {{get-employee.full_name}}"
                category: "hr_onboarding"
                assigned_to: "IT_Onboarding"
            - name: provision-account
              type: call
              call: "msgraph.create-user"
              with:
                displayName: "{{get-employee.full_name}}"
                mail: "{{get-employee.work_email}}"
                department: "{{get-employee.department}}"
            - name: send-welcome
              type: call
              call: "msteams.send-message"
              with:
                recipient: "{{get-employee.work_email}}"
                message: "Welcome to Humana, {{get-employee.first_name}}! Your IT ticket is {{create-ticket.number}}."
  consumes:
    - type: http
      namespace: workday
      baseUri: "https://wd2-impl-services1.workday.com/ccx/api/v1"
      authentication:
        type: bearer
        token: "$secrets.workday_token"
      resources:
        - name: workers
          path: "/humana/workers/{{worker_id}}"
          inputParameters:
            - name: worker_id
              in: path
          operations:
            - name: get-worker
              method: GET
    - type: http
      namespace: servicenow
      baseUri: "https://humana.service-now.com/api/now"
      authentication:
        type: basic
        username: "$secrets.servicenow_user"
        password: "$secrets.servicenow_password"
      resources:
        - name: incidents
          path: "/table/incident"
          operations:
            - name: create-incident
              method: POST
    - type: http
      namespace: msgraph
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: users
          path: "/users"
          operations:
            - name: create-user
              method: POST
    - type: http
      namespace: msteams
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: messages
          path: "/users/{{recipient}}/sendMail"
          inputParameters:
            - name: recipient
              in: path
          operations:
            - name: send-message
              method: POST

On a GitHub Actions workflow failure on a protected branch, creates a Jira bug and alerts the Humana engineering Teams channel.

naftiko: "0.5"
info:
  label: "GitHub CI/CD Pipeline Failure Handler"
  description: "On a GitHub Actions workflow failure on a protected branch, creates a Jira bug and alerts the Humana engineering Teams channel."
  tags:
    - devops
    - cicd
    - github
    - jira
    - microsoft-teams
capability:
  exposes:
    - type: mcp
      namespace: devops
      port: 8080
      tools:
        - name: handle-pipeline-failure
          description: "Given a GitHub Actions pipeline failure with repo, workflow, branch, and run URL, open a Jira engineering bug and post an alert to the Humana engineering Teams channel."
          inputParameters:
            - name: repo_name
              in: body
              type: string
              description: "The GitHub repository full name, e.g. humana/member-portal."
            - name: workflow_name
              in: body
              type: string
              description: "The name of the failed GitHub Actions workflow."
            - name: branch
              in: body
              type: string
              description: "The branch on which the pipeline failed."
            - name: run_url
              in: body
              type: string
              description: "The URL to the failed GitHub Actions run."
            - name: commit_sha
              in: body
              type: string
              description: "The commit SHA that triggered the pipeline."
          steps:
            - name: create-jira-bug
              type: call
              call: "jira.create-issue"
              with:
                project_key: "ENG"
                issuetype: "Bug"
                summary: "[CI Failure] {{repo_name}} / {{branch}} — {{workflow_name}}"
                description: "Repo: {{repo_name}}\nBranch: {{branch}}\nCommit: {{commit_sha}}\nRun: {{run_url}}"
            - name: notify-engineering
              type: call
              call: "msteams-eng.post-channel-message"
              with:
                channel_id: "$secrets.engineering_channel_id"
                message: "Pipeline failure in {{repo_name}} on {{branch}} | Jira: {{create-jira-bug.key}} | {{run_url}}"
  consumes:
    - type: http
      namespace: jira
      baseUri: "https://humana.atlassian.net/rest/api/3"
      authentication:
        type: basic
        username: "$secrets.jira_user"
        password: "$secrets.jira_token"
      resources:
        - name: issues
          path: "/issue"
          operations:
            - name: create-issue
              method: POST
    - type: http
      namespace: msteams-eng
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

App release.

naftiko: "0.5"
info:
  title: GitHub Humana Release
  version: "1.0"
  description: App release.
  tags: [devops, digital, healthcare, github]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: release_humana
        description: Builds, changes, notifies.
        inputParameters:
          - name: repo
            in: body
            required: true
            type: string
          - name: tag
            in: body
            required: true
            type: string
        steps:
          - name: build
            call:
              operationId: triggerWorkflow
              input:
                repo: "{{repo}}"
                ref: "{{tag}}"
          - name: change
            call:
              operationId: createChange
              input:
                short_description: "Release {{tag}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "releases"
                message: "Release initiated."
  consumes:
    - type: http
      baseUri: https://api.github.com
      authentication:
        type: bearer
        token: $secrets.github_token
      resources:
        - path: /repos/humana/{repo}/actions/workflows/release.yml/dispatches
          operations:
            - id: triggerWorkflow
              method: POST
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/change_request
          operations:
            - id: createChange
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Lists critical Dependabot alerts across Humana GitHub repositories and creates Jira security issues for unresolved critical dependencies in healthcare applications.

naftiko: "0.5"
info:
  label: "GitHub Security Vulnerability Triage"
  description: "Lists critical Dependabot alerts across Humana GitHub repositories and creates Jira security issues for unresolved critical dependencies in healthcare applications."
  tags:
    - devops
    - security
    - github
    - jira
    - healthcare
capability:
  exposes:
    - type: mcp
      namespace: vuln-triage
      port: 8080
      tools:
        - name: triage-dependabot-alerts
          description: "Given the Humana GitHub organization name, list all open Dependabot critical severity alerts in healthcare application repositories and create a Jira security issue summarizing the findings."
          inputParameters:
            - name: org_name
              in: body
              type: string
              description: "The GitHub organization name, e.g. humana."
          steps:
            - name: get-alerts
              type: call
              call: "github.list-org-dependabot-alerts"
              with:
                org: "{{org_name}}"
                severity: "critical"
                state: "open"
            - name: create-jira-issue
              type: call
              call: "jira-sec.create-issue"
              with:
                project_key: "SEC"
                issuetype: "Bug"
                summary: "Dependabot critical alerts: {{get-alerts.total_count}} open in {{org_name}}"
                description: "Organization: {{org_name}}\nCritical alerts: {{get-alerts.total_count}}\nTop package: {{get-alerts.top_package}}"
  consumes:
    - type: http
      namespace: github
      baseUri: "https://api.github.com"
      authentication:
        type: bearer
        token: "$secrets.github_token"
      resources:
        - name: dependabot-alerts
          path: "/orgs/{{org}}/dependabot/alerts"
          inputParameters:
            - name: org
              in: path
            - name: severity
              in: query
            - name: state
              in: query
          operations:
            - name: list-org-dependabot-alerts
              method: GET
    - type: http
      namespace: jira-sec
      baseUri: "https://humana.atlassian.net/rest/api/3"
      authentication:
        type: basic
        username: "$secrets.jira_user"
        password: "$secrets.jira_token"
      resources:
        - name: issues
          path: "/issue"
          operations:
            - name: create-issue
              method: POST

Enrolls in Go365 program.

naftiko: "0.5"
info:
  title: Go365 Wellness Enrollment
  version: "1.0"
  description: Enrolls in Go365 program.
  tags: [population-health, wellness, healthcare, salesforce]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: enroll_go365
        description: Enrolls, plans, notifies.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: program
            in: body
            required: true
            type: string
        steps:
          - name: enroll
            call:
              operationId: enrollProgram
              input:
                memberId: "{{member_id}}"
                program: "{{program}}"
          - name: plan
            call:
              operationId: createCarePlan
              input:
                memberId: "{{member_id}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "wellness"
                message: "Enrolled in {{program}}."
  consumes:
    - type: http
      baseUri: https://api.humana.com/go365/v1
      authentication:
        type: bearer
        token: $secrets.humana_go365_token
      resources:
        - path: /programs/{program}/enroll
          operations:
            - id: enrollProgram
              method: POST
    - type: http
      baseUri: https://humana.my.salesforce.com/services/data/v58.0
      authentication:
        type: bearer
        token: $secrets.salesforce_token
      resources:
        - path: /sobjects/CarePlan__c
          operations:
            - id: createCarePlan
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

HEDIS gap outreach.

naftiko: "0.5"
info:
  title: HEDIS Humana Gap Closure
  version: "1.0"
  description: HEDIS gap outreach.
  tags: [population-health, clinical, healthcare, salesforce]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: run_humana_gaps
        description: Queries, campaigns, tasks.
        inputParameters:
          - name: measure
            in: body
            required: true
            type: string
          - name: region
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT member_id FROM care_gaps WHERE measure='{{measure}}' AND region='{{region}}'"
          - name: campaign
            call:
              operationId: createCampaign
              input:
                name: "HEDIS {{measure}} — {{region}}"
          - name: tasks
            call:
              operationId: createTasks
              input:
                campaignId: "{{campaign.campaign_id}}"
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.my.salesforce.com/services/data/v58.0
      authentication:
        type: bearer
        token: $secrets.salesforce_token
      resources:
        - path: /sobjects/Campaign
          operations:
            - id: createCampaign
              method: POST
    - type: http
      baseUri: https://humana.my.salesforce.com/services/data/v58.0
      authentication:
        type: bearer
        token: $secrets.salesforce_token
      resources:
        - path: /sobjects/Task
          operations:
            - id: createTasks
              method: POST

Audits PHI access.

naftiko: "0.5"
info:
  title: HIPAA Humana Audit
  version: "1.0"
  description: Audits PHI access.
  tags: [compliance, hipaa, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: audit_humana_phi
        description: Queries, incidents, notifies.
        inputParameters:
          - name: start
            in: body
            required: true
            type: string
          - name: end
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT user_id FROM phi_log WHERE access BETWEEN '{{start}}' AND '{{end}}' AND anomaly=true"
          - name: incident
            call:
              operationId: createIncident
              input:
                short_description: "PHI anomaly"
                urgency: "1"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "privacy"
                message: "PHI anomaly. {{incident.number}}."
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Checks prior auth status.

naftiko: "0.5"
info:
  title: Humana Authorization Status
  version: "1.0"
  description: Checks prior auth status.
  tags: [clinical, utilization-management, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: check_humana_auth
        description: Returns auth status.
        inputParameters:
          - name: auth_number
            in: query
            required: true
            type: string
        call:
          operationId: getAuthStatus
          input:
            authNumber: "{{auth_number}}"
        outputParameters:
          - name: status
            type: string
          - name: approved_units
            type: integer
  consumes:
    - type: http
      baseUri: https://api.humana.com/utilization-mgmt/v1
      authentication:
        type: bearer
        token: $secrets.humana_um_token
      resources:
        - path: /authorizations/{authNumber}
          operations:
            - id: getAuthStatus
              method: GET

Monitors batch jobs.

naftiko: "0.5"
info:
  title: Humana Batch Monitor
  version: "1.0"
  description: Monitors batch jobs.
  tags: [claims, itsm, healthcare, observability]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: monitor_humana_batch
        description: Checks, incidents, alerts.
        inputParameters:
          - name: batch
            in: body
            required: true
            type: string
          - name: time
            in: body
            required: true
            type: string
        steps:
          - name: check
            call:
              operationId: queryMetric
              input:
                query: "avg:batch.status{job:{{batch}}}"
          - name: incident
            call:
              operationId: createIncident
              input:
                short_description: "Batch {{batch}} failure"
                urgency: "1"
          - name: alert
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "ops"
                message: "Batch failed."
  consumes:
    - type: http
      baseUri: https://api.datadoghq.com/api/v1
      authentication:
        type: apikey
        name: DD-API-KEY
        in: header
        key: $secrets.datadog_api_key
      resources:
        - path: /metrics/query
          operations:
            - id: queryMetric
              method: GET
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Retrieves BH referral details.

naftiko: "0.5"
info:
  title: Humana Behavioral Health Referral
  version: "1.0"
  description: Retrieves BH referral details.
  tags: [clinical, behavioral-health, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_bh
        description: Returns referral status.
        inputParameters:
          - name: referral_id
            in: query
            required: true
            type: string
        call:
          operationId: getBHReferral
          input:
            referralId: "{{referral_id}}"
        outputParameters:
          - name: status
            type: string
          - name: sessions
            type: integer
  consumes:
    - type: http
      baseUri: https://api.humana.com/behavioral-health/v1
      authentication:
        type: bearer
        token: $secrets.humana_bh_token
      resources:
        - path: /referrals/{referralId}
          operations:
            - id: getBHReferral
              method: GET

Creates care cases.

naftiko: "0.5"
info:
  title: Humana Care Case
  version: "1.0"
  description: Creates care cases.
  tags: [clinical, population-health, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: create_humana_case
        description: Gets risk, creates, notifies.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: risk
            in: body
            required: true
            type: string
        steps:
          - name: profile
            call:
              operationId: getRisk
              input:
                memberId: "{{member_id}}"
          - name: case
            call:
              operationId: createCase
              input:
                memberId: "{{member_id}}"
                risk: "{{risk}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "care-mgmt"
                message: "Case created."
  consumes:
    - type: http
      baseUri: https://api.humana.com/population-health/v1
      authentication:
        type: bearer
        token: $secrets.humana_ph_token
      resources:
        - path: /members/{memberId}/risk
          operations:
            - id: getRisk
              method: GET
    - type: http
      baseUri: https://api.humana.com/care-management/v1
      authentication:
        type: bearer
        token: $secrets.humana_cm_token
      resources:
        - path: /cases
          operations:
            - id: createCase
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Retrieves open care gaps.

naftiko: "0.5"
info:
  title: Humana Care Gap Status
  version: "1.0"
  description: Retrieves open care gaps.
  tags: [population-health, clinical, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_gaps
        description: Returns care gaps.
        inputParameters:
          - name: member_id
            in: query
            required: true
            type: string
        call:
          operationId: getCareGaps
          input:
            memberId: "{{member_id}}"
        outputParameters:
          - name: care_gaps
            type: array
          - name: total_open
            type: integer
  consumes:
    - type: http
      baseUri: https://api.humana.com/population-health/v1
      authentication:
        type: bearer
        token: $secrets.humana_ph_token
      resources:
        - path: /members/{memberId}/care-gaps
          operations:
            - id: getCareGaps
              method: GET

Creates specialist referral.

naftiko: "0.5"
info:
  title: Humana Care Referral
  version: "1.0"
  description: Creates specialist referral.
  tags: [clinical, provider-network, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: create_humana_referral
        description: Verifies, creates, notifies.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: npi
            in: body
            required: true
            type: string
          - name: dx
            in: body
            required: true
            type: string
        steps:
          - name: verify
            call:
              operationId: getNetworkTier
              input:
                npi: "{{npi}}"
          - name: create
            call:
              operationId: submitReferral
              input:
                memberId: "{{member_id}}"
                npi: "{{npi}}"
                dx: "{{dx}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "care-coord"
                message: "Referral created."
  consumes:
    - type: http
      baseUri: https://api.humana.com/provider-directory/v2
      authentication:
        type: bearer
        token: $secrets.humana_provider_token
      resources:
        - path: /providers/{npi}/tier
          operations:
            - id: getNetworkTier
              method: GET
    - type: http
      baseUri: https://api.humana.com/referrals/v1
      authentication:
        type: bearer
        token: $secrets.humana_referral_token
      resources:
        - path: /referrals
          operations:
            - id: submitReferral
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Chronic condition outreach.

naftiko: "0.5"
info:
  title: Humana Chronic Outreach
  version: "1.0"
  description: Chronic condition outreach.
  tags: [population-health, clinical, healthcare, salesforce]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: trigger_humana_chronic
        description: Queries, creates, notifies.
        inputParameters:
          - name: condition
            in: body
            required: true
            type: string
          - name: threshold
            in: body
            required: true
            type: number
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT member_id FROM chronic WHERE condition='{{condition}}' AND risk > {{threshold}}"
          - name: create
            call:
              operationId: createCases
              input:
                members: "{{query.results}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "care-mgmt"
                message: "Outreach initiated."
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.my.salesforce.com/services/data/v58.0
      authentication:
        type: bearer
        token: $secrets.salesforce_token
      resources:
        - path: /sobjects/Case
          operations:
            - id: createCases
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Retrieves claim processing status.

naftiko: "0.5"
info:
  title: Humana Claim Status
  version: "1.0"
  description: Retrieves claim processing status.
  tags: [claims, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_claim
        description: Returns claim status.
        inputParameters:
          - name: claim_id
            in: query
            required: true
            type: string
          - name: member_id
            in: query
            required: true
            type: string
        call:
          operationId: getClaimStatus
          input:
            claimId: "{{claim_id}}"
            memberId: "{{member_id}}"
        outputParameters:
          - name: status
            type: string
          - name: allowed_amount
            type: number
  consumes:
    - type: http
      baseUri: https://api.humana.com/claims/v2
      authentication:
        type: bearer
        token: $secrets.humana_claims_token
      resources:
        - path: /claims/{claimId}
          operations:
            - id: getClaimStatus
              method: GET

Handles denial appeals.

naftiko: "0.5"
info:
  title: Humana Claims Denial Appeal
  version: "1.0"
  description: Handles denial appeals.
  tags: [claims, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: process_humana_appeal
        description: Gets denial, submits, notifies.
        inputParameters:
          - name: claim_id
            in: body
            required: true
            type: string
          - name: member_id
            in: body
            required: true
            type: string
          - name: reason
            in: body
            required: true
            type: string
        steps:
          - name: get
            call:
              operationId: getClaimDenial
              input:
                claimId: "{{claim_id}}"
          - name: submit
            call:
              operationId: createAppeal
              input:
                claimId: "{{claim_id}}"
                reason: "{{reason}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "member-alerts"
                message: "Appeal for {{claim_id}} submitted."
  consumes:
    - type: http
      baseUri: https://api.humana.com/claims/v2
      authentication:
        type: bearer
        token: $secrets.humana_claims_token
      resources:
        - path: /claims/{claimId}/denial
          operations:
            - id: getClaimDenial
              method: GET
    - type: http
      baseUri: https://api.humana.com/appeals/v1
      authentication:
        type: bearer
        token: $secrets.humana_appeals_token
      resources:
        - path: /appeals
          operations:
            - id: createAppeal
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Screens for trials.

naftiko: "0.5"
info:
  title: Humana Clinical Trial Screen
  version: "1.0"
  description: Screens for trials.
  tags: [clinical, population-health, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: screen_humana_trial
        description: Queries, matches, notifies.
        inputParameters:
          - name: trial_id
            in: body
            required: true
            type: string
          - name: criteria
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT member_id FROM profiles WHERE {{criteria}}"
          - name: match
            call:
              operationId: matchCriteria
              input:
                trialId: "{{trial_id}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "research"
                message: "Screening complete."
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://api.humana.com/research/v1
      authentication:
        type: bearer
        token: $secrets.humana_research_token
      resources:
        - path: /trials/{trialId}/screen
          operations:
            - id: matchCriteria
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

COBRA enrollment.

naftiko: "0.5"
info:
  title: Humana COBRA Processor
  version: "1.0"
  description: COBRA enrollment.
  tags: [enrollment, employer-group, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: process_humana_cobra
        description: Validates, calculates, activates.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: event
            in: body
            required: true
            type: string
          - name: date
            in: body
            required: true
            type: string
        steps:
          - name: validate
            call:
              operationId: validateEvent
              input:
                memberId: "{{member_id}}"
          - name: premium
            call:
              operationId: calcPremium
              input:
                memberId: "{{member_id}}"
          - name: activate
            call:
              operationId: activateCOBRA
              input:
                memberId: "{{member_id}}"
  consumes:
    - type: http
      baseUri: https://api.humana.com/cobra/v1
      authentication:
        type: bearer
        token: $secrets.humana_cobra_token
      resources:
        - path: /qualifying-events
          operations:
            - id: validateEvent
              method: POST
    - type: http
      baseUri: https://api.humana.com/cobra/v1
      authentication:
        type: bearer
        token: $secrets.humana_cobra_token
      resources:
        - path: /premiums
          operations:
            - id: calcPremium
              method: POST
    - type: http
      baseUri: https://api.humana.com/enrollment/v1
      authentication:
        type: bearer
        token: $secrets.humana_enrollment_token
      resources:
        - path: /cobra/activate
          operations:
            - id: activateCOBRA
              method: POST

Checks deductible and OOP balances.

naftiko: "0.5"
info:
  title: Humana Deductible Check
  version: "1.0"
  description: Checks deductible and OOP balances.
  tags: [claims, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_accumulators
        description: Returns accumulator balances.
        inputParameters:
          - name: member_id
            in: query
            required: true
            type: string
          - name: plan_year
            in: query
            required: true
            type: string
        call:
          operationId: getAccumulators
          input:
            memberId: "{{member_id}}"
            planYear: "{{plan_year}}"
        outputParameters:
          - name: deductible_met
            type: number
          - name: oop_met
            type: number
  consumes:
    - type: http
      baseUri: https://api.humana.com/accumulators/v1
      authentication:
        type: bearer
        token: $secrets.humana_claims_token
      resources:
        - path: /members/{memberId}/accumulators
          operations:
            - id: getAccumulators
              method: GET

Processes dental claims.

naftiko: "0.5"
info:
  title: Humana Dental Processor
  version: "1.0"
  description: Processes dental claims.
  tags: [claims, enrollment, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: process_humana_dental
        description: Verifies, adjudicates, EOB.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: claim_id
            in: body
            required: true
            type: string
          - name: proc
            in: body
            required: true
            type: string
        steps:
          - name: verify
            call:
              operationId: verifyDental
              input:
                memberId: "{{member_id}}"
          - name: adjudicate
            call:
              operationId: adjudicateDental
              input:
                claimId: "{{claim_id}}"
          - name: eob
            call:
              operationId: sendEmail
              input:
                to: "{{member_id}}@humana-portal.com"
                subject: "EOB"
                body: "Processed."
  consumes:
    - type: http
      baseUri: https://api.humana.com/dental/v1
      authentication:
        type: bearer
        token: $secrets.humana_dental_token
      resources:
        - path: /eligibility
          operations:
            - id: verifyDental
              method: GET
    - type: http
      baseUri: https://api.humana.com/dental/v1
      authentication:
        type: bearer
        token: $secrets.humana_dental_token
      resources:
        - path: /claims/{claimId}/adjudicate
          operations:
            - id: adjudicateDental
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /me/sendMail
          operations:
            - id: sendEmail
              method: POST

Post-discharge protocols.

naftiko: "0.5"
info:
  title: Humana Discharge Follow-Up
  version: "1.0"
  description: Post-discharge protocols.
  tags: [clinical, population-health, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: process_humana_discharge
        description: Discharge, schedule, meds.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: discharge_id
            in: body
            required: true
            type: string
        steps:
          - name: get
            call:
              operationId: getDischarge
              input:
                dischargeId: "{{discharge_id}}"
          - name: schedule
            call:
              operationId: scheduleFollowup
              input:
                memberId: "{{member_id}}"
          - name: meds
            call:
              operationId: createMedRecon
              input:
                memberId: "{{member_id}}"
  consumes:
    - type: http
      baseUri: https://api.humana.com/clinical/v1
      authentication:
        type: bearer
        token: $secrets.humana_clinical_token
      resources:
        - path: /discharges/{dischargeId}
          operations:
            - id: getDischarge
              method: GET
    - type: http
      baseUri: https://api.humana.com/scheduling/v1
      authentication:
        type: bearer
        token: $secrets.humana_scheduling_token
      resources:
        - path: /appointments
          operations:
            - id: scheduleFollowup
              method: POST
    - type: http
      baseUri: https://api.humana.com/pharmacy/v1
      authentication:
        type: bearer
        token: $secrets.humana_pharmacy_token
      resources:
        - path: /med-reconciliation
          operations:
            - id: createMedRecon
              method: POST

Checks drug interactions.

naftiko: "0.5"
info:
  title: Humana Drug Interaction
  version: "1.0"
  description: Checks drug interactions.
  tags: [pharmacy, clinical, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: check_humana_interactions
        description: History, check, alert.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: drug
            in: body
            required: true
            type: string
        steps:
          - name: history
            call:
              operationId: getMedHistory
              input:
                memberId: "{{member_id}}"
          - name: check
            call:
              operationId: checkInteractions
              input:
                meds: "{{history.medications}}"
                drug: "{{drug}}"
          - name: alert
            call:
              operationId: createIncident
              input:
                short_description: "Interaction: {{member_id}}"
                urgency: "2"
  consumes:
    - type: http
      baseUri: https://api.humana.com/pharmacy/v1
      authentication:
        type: bearer
        token: $secrets.humana_pharmacy_token
      resources:
        - path: /members/{memberId}/history
          operations:
            - id: getMedHistory
              method: GET
    - type: http
      baseUri: https://api.humana.com/clinical/v1
      authentication:
        type: bearer
        token: $secrets.humana_clinical_token
      resources:
        - path: /interactions
          operations:
            - id: checkInteractions
              method: POST
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST

Validates EDI submissions.

naftiko: "0.5"
info:
  title: Humana EDI Validator
  version: "1.0"
  description: Validates EDI submissions.
  tags: [claims, compliance, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: validate_humana_edi
        description: Validates, checks, queues.
        inputParameters:
          - name: submission_id
            in: body
            required: true
            type: string
          - name: submitter_id
            in: body
            required: true
            type: string
        steps:
          - name: validate
            call:
              operationId: validateEDI
              input:
                submissionId: "{{submission_id}}"
          - name: check
            call:
              operationId: batchEligibility
              input:
                submissionId: "{{submission_id}}"
          - name: queue
            call:
              operationId: queueAdjudication
              input:
                submissionId: "{{submission_id}}"
  consumes:
    - type: http
      baseUri: https://api.humana.com/edi/v1
      authentication:
        type: bearer
        token: $secrets.humana_edi_token
      resources:
        - path: /submissions/{submissionId}/validate
          operations:
            - id: validateEDI
              method: POST
    - type: http
      baseUri: https://api.humana.com/eligibility/v2
      authentication:
        type: bearer
        token: $secrets.humana_eligibility_token
      resources:
        - path: /batch-check
          operations:
            - id: batchEligibility
              method: POST
    - type: http
      baseUri: https://api.humana.com/claims/v2
      authentication:
        type: bearer
        token: $secrets.humana_claims_token
      resources:
        - path: /adjudication/queue
          operations:
            - id: queueAdjudication
              method: POST

Group renewal workflow.

naftiko: "0.5"
info:
  title: Humana Employer Renewal
  version: "1.0"
  description: Group renewal workflow.
  tags: [enrollment, employer-group, healthcare, salesforce]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: process_humana_renewal
        description: Queries, calculates, creates.
        inputParameters:
          - name: group_id
            in: body
            required: true
            type: string
          - name: date
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT claims FROM utilization WHERE group_id='{{group_id}}'"
          - name: calc
            call:
              operationId: calculateRenewal
              input:
                groupId: "{{group_id}}"
          - name: create
            call:
              operationId: createOpportunity
              input:
                groupId: "{{group_id}}"
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://api.humana.com/underwriting/v1
      authentication:
        type: bearer
        token: $secrets.humana_uw_token
      resources:
        - path: /renewals
          operations:
            - id: calculateRenewal
              method: POST
    - type: http
      baseUri: https://humana.my.salesforce.com/services/data/v58.0
      authentication:
        type: bearer
        token: $secrets.salesforce_token
      resources:
        - path: /sobjects/Opportunity
          operations:
            - id: createOpportunity
              method: POST

Processes plan change.

naftiko: "0.5"
info:
  title: Humana Enrollment Change
  version: "1.0"
  description: Processes plan change.
  tags: [enrollment, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: process_humana_enrollment
        description: Validates, changes, syncs.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: plan
            in: body
            required: true
            type: string
          - name: date
            in: body
            required: true
            type: string
        steps:
          - name: validate
            call:
              operationId: verifyEligibility
              input:
                memberId: "{{member_id}}"
          - name: change
            call:
              operationId: changePlan
              input:
                memberId: "{{member_id}}"
                planId: "{{plan}}"
          - name: sync
            call:
              operationId: updatePharmacy
              input:
                memberId: "{{member_id}}"
  consumes:
    - type: http
      baseUri: https://api.humana.com/eligibility/v2
      authentication:
        type: bearer
        token: $secrets.humana_eligibility_token
      resources:
        - path: /members/{memberId}/eligibility
          operations:
            - id: verifyEligibility
              method: GET
    - type: http
      baseUri: https://api.humana.com/enrollment/v1
      authentication:
        type: bearer
        token: $secrets.humana_enrollment_token
      resources:
        - path: /members/{memberId}/plan-change
          operations:
            - id: changePlan
              method: POST
    - type: http
      baseUri: https://api.humana.com/pharmacy/v1
      authentication:
        type: bearer
        token: $secrets.humana_pharmacy_token
      resources:
        - path: /members/{memberId}/benefit
          operations:
            - id: updatePharmacy
              method: PUT

Retrieves explanation of benefits.

naftiko: "0.5"
info:
  title: Humana EOB Retrieval
  version: "1.0"
  description: Retrieves explanation of benefits.
  tags: [claims, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_eob
        description: Returns EOB details.
        inputParameters:
          - name: claim_id
            in: query
            required: true
            type: string
          - name: member_id
            in: query
            required: true
            type: string
        call:
          operationId: getEOB
          input:
            claimId: "{{claim_id}}"
            memberId: "{{member_id}}"
        outputParameters:
          - name: patient_responsibility
            type: number
          - name: allowed_amount
            type: number
  consumes:
    - type: http
      baseUri: https://api.humana.com/claims/v2
      authentication:
        type: bearer
        token: $secrets.humana_claims_token
      resources:
        - path: /claims/{claimId}/eob
          operations:
            - id: getEOB
              method: GET

Handles adjudication exceptions.

naftiko: "0.5"
info:
  title: Humana Claims Exception
  version: "1.0"
  description: Handles adjudication exceptions.
  tags: [claims, itsm, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: handle_humana_exception
        description: Gets, creates, notifies.
        inputParameters:
          - name: claim_id
            in: body
            required: true
            type: string
          - name: code
            in: body
            required: true
            type: string
        steps:
          - name: get
            call:
              operationId: getException
              input:
                claimId: "{{claim_id}}"
          - name: incident
            call:
              operationId: createIncident
              input:
                short_description: "Exception {{code}} on {{claim_id}}"
                urgency: "2"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "exceptions"
                message: "Exception on {{claim_id}}."
  consumes:
    - type: http
      baseUri: https://api.humana.com/claims/v2
      authentication:
        type: bearer
        token: $secrets.humana_claims_token
      resources:
        - path: /claims/{claimId}/exceptions
          operations:
            - id: getException
              method: GET
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Searches the Humana pharmacy formulary.

naftiko: "0.5"
info:
  title: Humana Formulary Lookup
  version: "1.0"
  description: Searches the Humana pharmacy formulary.
  tags: [pharmacy, formulary, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: lookup_humana_formulary
        description: Returns formulary tier.
        inputParameters:
          - name: ndc_code
            in: query
            required: true
            type: string
          - name: plan_id
            in: query
            required: true
            type: string
        call:
          operationId: getFormularyEntry
          input:
            ndcCode: "{{ndc_code}}"
            planId: "{{plan_id}}"
        outputParameters:
          - name: tier
            type: string
          - name: prior_auth
            type: boolean
  consumes:
    - type: http
      baseUri: https://api.humana.com/pharmacy/formulary/v1
      authentication:
        type: bearer
        token: $secrets.humana_pharmacy_token
      resources:
        - path: /formulary/{ndcCode}
          operations:
            - id: getFormularyEntry
              method: GET

Detects claims fraud.

naftiko: "0.5"
info:
  title: Humana Fraud Detection
  version: "1.0"
  description: Detects claims fraud.
  tags: [claims, compliance, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: detect_humana_fraud
        description: Queries, creates case, notifies.
        inputParameters:
          - name: npi
            in: body
            required: true
            type: string
          - name: type
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT claim_id FROM claims WHERE npi='{{npi}}' AND anomaly='{{type}}'"
          - name: case
            call:
              operationId: createIncident
              input:
                short_description: "Fraud: {{type}}"
                urgency: "1"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "siu"
                message: "Alert. Case: {{case.number}}."
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Logs grievances.

naftiko: "0.5"
info:
  title: Humana Grievance Workflow
  version: "1.0"
  description: Logs grievances.
  tags: [member-services, itsm, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: log_humana_grievance
        description: Creates, assigns, notifies.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: type
            in: body
            required: true
            type: string
          - name: desc
            in: body
            required: true
            type: string
        steps:
          - name: create
            call:
              operationId: createIncident
              input:
                short_description: "Grievance — {{type}}"
                urgency: "2"
          - name: assign
            call:
              operationId: updateIncident
              input:
                sys_id: "{{create.sys_id}}"
                assigned_to: "grievance-team"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "grievances"
                message: "Grievance {{create.number}}."
  consumes:
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident/{sys_id}
          operations:
            - id: updateIncident
              method: PATCH
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Retrieves employer group census.

naftiko: "0.5"
info:
  title: Humana Group Census
  version: "1.0"
  description: Retrieves employer group census.
  tags: [enrollment, employer-group, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_census
        description: Returns enrollment counts.
        inputParameters:
          - name: group_id
            in: query
            required: true
            type: string
        call:
          operationId: getGroupCensus
          input:
            groupId: "{{group_id}}"
        outputParameters:
          - name: total_members
            type: integer
          - name: plans
            type: array
  consumes:
    - type: http
      baseUri: https://api.humana.com/enrollment/v1
      authentication:
        type: bearer
        token: $secrets.humana_enrollment_token
      resources:
        - path: /groups/{groupId}/census
          operations:
            - id: getGroupCensus
              method: GET

Tracks HRA completion.

naftiko: "0.5"
info:
  title: Humana HRA Tracker
  version: "1.0"
  description: Tracks HRA completion.
  tags: [population-health, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: track_humana_hra
        description: Queries, triggers, notifies.
        inputParameters:
          - name: year
            in: body
            required: true
            type: string
          - name: group
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT member_id FROM hra WHERE year='{{year}}' AND group_id='{{group}}'"
          - name: remind
            call:
              operationId: createCampaign
              input:
                name: "HRA — {{group}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "account"
                message: "HRA reminders launched."
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.my.salesforce.com/services/data/v58.0
      authentication:
        type: bearer
        token: $secrets.salesforce_token
      resources:
        - path: /sobjects/Campaign
          operations:
            - id: createCampaign
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Reissues member ID card.

naftiko: "0.5"
info:
  title: Humana ID Card Reissue
  version: "1.0"
  description: Reissues member ID card.
  tags: [enrollment, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: reissue_humana_card
        description: Validates, generates, confirms.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: reason
            in: body
            required: true
            type: string
        steps:
          - name: validate
            call:
              operationId: verifyEligibility
              input:
                memberId: "{{member_id}}"
          - name: generate
            call:
              operationId: requestCard
              input:
                memberId: "{{member_id}}"
          - name: confirm
            call:
              operationId: sendEmail
              input:
                to: "{{member_id}}@humana-portal.com"
                subject: "ID Card"
                body: "Requested."
  consumes:
    - type: http
      baseUri: https://api.humana.com/eligibility/v2
      authentication:
        type: bearer
        token: $secrets.humana_eligibility_token
      resources:
        - path: /members/{memberId}/eligibility
          operations:
            - id: verifyEligibility
              method: GET
    - type: http
      baseUri: https://api.humana.com/member-services/v1
      authentication:
        type: bearer
        token: $secrets.humana_member_token
      resources:
        - path: /id-cards
          operations:
            - id: requestCard
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /me/sendMail
          operations:
            - id: sendEmail
              method: POST

Monitors data ingestion.

naftiko: "0.5"
info:
  title: Humana Ingestion Monitor
  version: "1.0"
  description: Monitors data ingestion.
  tags: [analytics, observability, healthcare, azure]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: monitor_humana_ingestion
        description: Checks, incidents, notifies.
        inputParameters:
          - name: pipeline
            in: body
            required: true
            type: string
          - name: lag
            in: body
            required: true
            type: integer
        steps:
          - name: check
            call:
              operationId: queryMetric
              input:
                query: "avg:ingestion.lag{pipeline:{{pipeline}}}"
          - name: incident
            call:
              operationId: createIncident
              input:
                short_description: "Ingestion lag: {{pipeline}}"
                urgency: "2"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "data-eng"
                message: "Alert."
  consumes:
    - type: http
      baseUri: https://api.datadoghq.com/api/v1
      authentication:
        type: apikey
        name: DD-API-KEY
        in: header
        key: $secrets.datadog_api_key
      resources:
        - path: /metrics/query
          operations:
            - id: queryMetric
              method: GET
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Tracks mail-order Rx.

naftiko: "0.5"
info:
  title: Humana Mail Order Tracker
  version: "1.0"
  description: Tracks mail-order Rx.
  tags: [pharmacy, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: track_humana_mail
        description: Gets order, tracking, notifies.
        inputParameters:
          - name: order_id
            in: body
            required: true
            type: string
          - name: member_id
            in: body
            required: true
            type: string
        steps:
          - name: order
            call:
              operationId: getOrder
              input:
                orderId: "{{order_id}}"
          - name: track
            call:
              operationId: getTracking
              input:
                tracking: "{{order.tracking}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "member-notify"
                message: "Order {{order_id}}: {{track.status}}."
  consumes:
    - type: http
      baseUri: https://api.humana.com/pharmacy/v1
      authentication:
        type: bearer
        token: $secrets.humana_pharmacy_token
      resources:
        - path: /orders/{orderId}
          operations:
            - id: getOrder
              method: GET
    - type: http
      baseUri: https://api.humana.com/logistics/v1
      authentication:
        type: bearer
        token: $secrets.humana_logistics_token
      resources:
        - path: /shipments/{tracking}
          operations:
            - id: getTracking
              method: GET
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Processes Medicaid redet.

naftiko: "0.5"
info:
  title: Humana Medicaid Redetermination
  version: "1.0"
  description: Processes Medicaid redet.
  tags: [enrollment, medicaid, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: process_humana_redet
        description: Validates, submits, updates.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: state
            in: body
            required: true
            type: string
        steps:
          - name: validate
            call:
              operationId: getDemographics
              input:
                memberId: "{{member_id}}"
          - name: submit
            call:
              operationId: submitRedet
              input:
                memberId: "{{member_id}}"
                state: "{{state}}"
          - name: update
            call:
              operationId: updateEnrollment
              input:
                memberId: "{{member_id}}"
  consumes:
    - type: http
      baseUri: https://api.humana.com/member-services/v1
      authentication:
        type: bearer
        token: $secrets.humana_member_token
      resources:
        - path: /members/{memberId}/demographics
          operations:
            - id: getDemographics
              method: GET
    - type: http
      baseUri: https://api.humana.com/medicaid/v1
      authentication:
        type: bearer
        token: $secrets.humana_medicaid_token
      resources:
        - path: /redeterminations
          operations:
            - id: submitRedet
              method: POST
    - type: http
      baseUri: https://api.humana.com/enrollment/v1
      authentication:
        type: bearer
        token: $secrets.humana_enrollment_token
      resources:
        - path: /members/{memberId}
          operations:
            - id: updateEnrollment
              method: PUT

Retrieves MA plan details.

naftiko: "0.5"
info:
  title: Humana Medicare Plan Details
  version: "1.0"
  description: Retrieves MA plan details.
  tags: [enrollment, medicare, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_ma
        description: Returns plan and premium.
        inputParameters:
          - name: plan_id
            in: query
            required: true
            type: string
        call:
          operationId: getMedicarePlan
          input:
            planId: "{{plan_id}}"
        outputParameters:
          - name: plan_name
            type: string
          - name: premium
            type: number
  consumes:
    - type: http
      baseUri: https://api.humana.com/medicare/v1
      authentication:
        type: bearer
        token: $secrets.humana_medicare_token
      resources:
        - path: /plans/{planId}
          operations:
            - id: getMedicarePlan
              method: GET

Retrieves prescription fill history.

naftiko: "0.5"
info:
  title: Humana Medication History
  version: "1.0"
  description: Retrieves prescription fill history.
  tags: [pharmacy, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_meds
        description: Returns medication fills.
        inputParameters:
          - name: member_id
            in: query
            required: true
            type: string
          - name: months
            in: query
            required: true
            type: integer
        call:
          operationId: getMedicationHistory
          input:
            memberId: "{{member_id}}"
            months: "{{months}}"
        outputParameters:
          - name: medications
            type: array
          - name: total_fills
            type: integer
  consumes:
    - type: http
      baseUri: https://api.humana.com/pharmacy/v1
      authentication:
        type: bearer
        token: $secrets.humana_pharmacy_token
      resources:
        - path: /members/{memberId}/medication-history
          operations:
            - id: getMedicationHistory
              method: GET

Verifies a Humana member's eligibility and benefit coverage.

naftiko: "0.5"
info:
  title: Humana Member Eligibility Check
  version: "1.0"
  description: Verifies a Humana member's eligibility and benefit coverage.
  tags: [claims, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: verify_humana_eligibility
        description: Returns eligibility status.
        inputParameters:
          - name: member_id
            in: query
            required: true
            type: string
          - name: service_date
            in: query
            required: true
            type: string
        call:
          operationId: verifyEligibility
          input:
            memberId: "{{member_id}}"
            serviceDate: "{{service_date}}"
        outputParameters:
          - name: eligible
            type: boolean
          - name: plan_name
            type: string
  consumes:
    - type: http
      baseUri: https://api.humana.com/eligibility/v2
      authentication:
        type: bearer
        token: $secrets.humana_eligibility_token
      resources:
        - path: /members/{memberId}/eligibility
          operations:
            - id: verifyEligibility
              method: GET

Analyzes network.

naftiko: "0.5"
info:
  title: Humana Network Adequacy
  version: "1.0"
  description: Analyzes network.
  tags: [provider-network, analytics, healthcare, jira]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: analyze_humana_network
        description: Queries, creates stories.
        inputParameters:
          - name: state
            in: body
            required: true
            type: string
          - name: specialty
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT county FROM adequacy WHERE state='{{state}}'"
          - name: create
            call:
              operationId: createIssue
              input:
                project: "NETWORK"
                summary: "Gap: {{specialty}} in {{state}}"
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.atlassian.net/rest/api/3
      authentication:
        type: basic
        username: $secrets.jira_user
        password: $secrets.jira_api_token
      resources:
        - path: /issue
          operations:
            - id: createIssue
              method: POST

Determines provider network tier.

naftiko: "0.5"
info:
  title: Humana Network Tier Check
  version: "1.0"
  description: Determines provider network tier.
  tags: [provider-network, claims, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: check_humana_tier
        description: Returns tier.
        inputParameters:
          - name: provider_npi
            in: query
            required: true
            type: string
          - name: plan_id
            in: query
            required: true
            type: string
        call:
          operationId: getNetworkTier
          input:
            providerNpi: "{{provider_npi}}"
            planId: "{{plan_id}}"
        outputParameters:
          - name: tier
            type: string
          - name: in_network
            type: boolean
  consumes:
    - type: http
      baseUri: https://api.humana.com/provider-directory/v2
      authentication:
        type: bearer
        token: $secrets.humana_provider_token
      resources:
        - path: /providers/{providerNpi}/tier
          operations:
            - id: getNetworkTier
              method: GET

Bridges PA to claims.

naftiko: "0.5"
info:
  title: Humana PA Claims Bridge
  version: "1.0"
  description: Bridges PA to claims.
  tags: [pharmacy, claims, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: bridge_humana_pa
        description: Gets PA, updates, confirms.
        inputParameters:
          - name: auth_id
            in: body
            required: true
            type: string
          - name: claim_id
            in: body
            required: true
            type: string
        steps:
          - name: get
            call:
              operationId: getPriorAuth
              input:
                authId: "{{auth_id}}"
          - name: update
            call:
              operationId: updateClaimAuth
              input:
                claimId: "{{claim_id}}"
          - name: confirm
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "pharmacy"
                message: "PA activated."
  consumes:
    - type: http
      baseUri: https://api.humana.com/pharmacy/v1
      authentication:
        type: bearer
        token: $secrets.humana_pharmacy_token
      resources:
        - path: /prior-authorizations/{authId}
          operations:
            - id: getPriorAuth
              method: GET
    - type: http
      baseUri: https://api.humana.com/claims/v2
      authentication:
        type: bearer
        token: $secrets.humana_claims_token
      resources:
        - path: /claims/{claimId}/authorization
          operations:
            - id: updateClaimAuth
              method: PUT
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Reconciles provider payments.

naftiko: "0.5"
info:
  title: Humana Payment Reconciliation
  version: "1.0"
  description: Reconciles provider payments.
  tags: [claims, provider-network, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: reconcile_humana_pay
        description: Queries, flags.
        inputParameters:
          - name: npi
            in: body
            required: true
            type: string
          - name: period
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT paid FROM payments WHERE npi='{{npi}}'"
          - name: flag
            call:
              operationId: createIncident
              input:
                short_description: "Payment discrepancy {{npi}}"
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST

Assigns PCP.

naftiko: "0.5"
info:
  title: Humana PCP Assignment
  version: "1.0"
  description: Assigns PCP.
  tags: [enrollment, provider-network, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: assign_humana_pcp
        description: Validates, assigns, notifies.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: npi
            in: body
            required: true
            type: string
        steps:
          - name: validate
            call:
              operationId: getProvider
              input:
                npi: "{{npi}}"
          - name: assign
            call:
              operationId: assignPCP
              input:
                memberId: "{{member_id}}"
                npi: "{{npi}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "care-coord"
                message: "PCP updated."
  consumes:
    - type: http
      baseUri: https://api.humana.com/provider-directory/v2
      authentication:
        type: bearer
        token: $secrets.humana_provider_token
      resources:
        - path: /providers/{npi}
          operations:
            - id: getProvider
              method: GET
    - type: http
      baseUri: https://api.humana.com/enrollment/v1
      authentication:
        type: bearer
        token: $secrets.humana_enrollment_token
      resources:
        - path: /members/{memberId}/pcp
          operations:
            - id: assignPCP
              method: PUT
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Verifies pharmacy network status.

naftiko: "0.5"
info:
  title: Humana Pharmacy Network Check
  version: "1.0"
  description: Verifies pharmacy network status.
  tags: [pharmacy, provider-network, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: check_humana_pharmacy
        description: Returns network status.
        inputParameters:
          - name: ncpdp
            in: query
            required: true
            type: string
          - name: plan_id
            in: query
            required: true
            type: string
        call:
          operationId: checkPharmacyNetwork
          input:
            ncpdp: "{{ncpdp}}"
            planId: "{{plan_id}}"
        outputParameters:
          - name: in_network
            type: boolean
          - name: tier
            type: string
  consumes:
    - type: http
      baseUri: https://api.humana.com/pharmacy/v1
      authentication:
        type: bearer
        token: $secrets.humana_pharmacy_token
      resources:
        - path: /pharmacies/{ncpdp}/network
          operations:
            - id: checkPharmacyNetwork
              method: GET

Retrieves plan benefit details.

naftiko: "0.5"
info:
  title: Humana Plan Benefit Summary
  version: "1.0"
  description: Retrieves plan benefit details.
  tags: [enrollment, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_benefits
        description: Returns benefits.
        inputParameters:
          - name: plan_id
            in: query
            required: true
            type: string
        call:
          operationId: getBenefitSummary
          input:
            planId: "{{plan_id}}"
        outputParameters:
          - name: benefits
            type: object
  consumes:
    - type: http
      baseUri: https://api.humana.com/plans/v1
      authentication:
        type: bearer
        token: $secrets.humana_plans_token
      resources:
        - path: /plans/{planId}/benefits
          operations:
            - id: getBenefitSummary
              method: GET

Compares two Humana plans.

naftiko: "0.5"
info:
  title: Humana Plan Comparison
  version: "1.0"
  description: Compares two Humana plans.
  tags: [enrollment, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: compare_humana_plans
        description: Returns comparison.
        inputParameters:
          - name: plan_a
            in: query
            required: true
            type: string
          - name: plan_b
            in: query
            required: true
            type: string
        call:
          operationId: comparePlans
          input:
            planA: "{{plan_a}}"
            planB: "{{plan_b}}"
        outputParameters:
          - name: comparison
            type: object
  consumes:
    - type: http
      baseUri: https://api.humana.com/enrollment/v1
      authentication:
        type: bearer
        token: $secrets.humana_enrollment_token
      resources:
        - path: /plans/compare
          operations:
            - id: comparePlans
              method: GET

Submits PA and notifies.

naftiko: "0.5"
info:
  title: Humana Prior Auth Workflow
  version: "1.0"
  description: Submits PA and notifies.
  tags: [clinical, utilization-management, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: process_humana_pa
        description: Submits, notifies.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: service
            in: body
            required: true
            type: string
          - name: npi
            in: body
            required: true
            type: string
        steps:
          - name: submit
            call:
              operationId: createAuth
              input:
                memberId: "{{member_id}}"
                service: "{{service}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "providers"
                message: "PA submitted."
          - name: email
            call:
              operationId: sendEmail
              input:
                to: "{{member_id}}@humana-portal.com"
                subject: "PA Update"
                body: "PA submitted."
  consumes:
    - type: http
      baseUri: https://api.humana.com/utilization-mgmt/v1
      authentication:
        type: bearer
        token: $secrets.humana_um_token
      resources:
        - path: /authorizations
          operations:
            - id: createAuth
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /me/sendMail
          operations:
            - id: sendEmail
              method: POST

Syncs credentialing.

naftiko: "0.5"
info:
  title: Humana Provider Credentialing
  version: "1.0"
  description: Syncs credentialing.
  tags: [provider-network, compliance, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: sync_humana_cred
        description: Checks, updates, alerts.
        inputParameters:
          - name: npi
            in: body
            required: true
            type: string
        steps:
          - name: get
            call:
              operationId: getCredStatus
              input:
                npi: "{{npi}}"
          - name: update
            call:
              operationId: updateProvider
              input:
                npi: "{{npi}}"
          - name: alert
            call:
              operationId: createIncident
              input:
                short_description: "Credential expiring {{npi}}"
                urgency: "3"
  consumes:
    - type: http
      baseUri: https://api.humana.com/credentialing/v1
      authentication:
        type: bearer
        token: $secrets.humana_cred_token
      resources:
        - path: /providers/{npi}/status
          operations:
            - id: getCredStatus
              method: GET
    - type: http
      baseUri: https://api.humana.com/provider-directory/v2
      authentication:
        type: bearer
        token: $secrets.humana_provider_token
      resources:
        - path: /providers/{npi}
          operations:
            - id: updateProvider
              method: PUT
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST

Searches Humana provider network.

naftiko: "0.5"
info:
  title: Humana Provider Search
  version: "1.0"
  description: Searches Humana provider network.
  tags: [provider-network, member-services, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: search_humana_providers
        description: Returns in-network providers.
        inputParameters:
          - name: specialty
            in: query
            required: true
            type: string
          - name: zip_code
            in: query
            required: true
            type: string
        call:
          operationId: searchProviders
          input:
            specialty: "{{specialty}}"
            zipCode: "{{zip_code}}"
        outputParameters:
          - name: providers
            type: array
          - name: total
            type: integer
  consumes:
    - type: http
      baseUri: https://api.humana.com/provider-directory/v2
      authentication:
        type: bearer
        token: $secrets.humana_provider_token
      resources:
        - path: /providers/search
          operations:
            - id: searchProviders
              method: GET

Quality measures to Confluence.

naftiko: "0.5"
info:
  title: Humana Quality Reporting
  version: "1.0"
  description: Quality measures to Confluence.
  tags: [clinical, analytics, healthcare, confluence]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: gen_humana_quality
        description: Queries, publishes.
        inputParameters:
          - name: period
            in: body
            required: true
            type: string
          - name: set
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT measure, rate FROM quality WHERE period='{{period}}'"
          - name: publish
            call:
              operationId: createContent
              input:
                type: "page"
                title: "Quality — {{period}}"
                space: "REG"
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.atlassian.net/wiki/rest/api
      authentication:
        type: basic
        username: $secrets.confluence_user
        password: $secrets.confluence_api_token
      resources:
        - path: /content
          operations:
            - id: createContent
              method: POST

Submits filings.

naftiko: "0.5"
info:
  title: Humana Regulatory Filing
  version: "1.0"
  description: Submits filings.
  tags: [compliance, healthcare, regulatory]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: submit_humana_filing
        description: Gets, submits, logs.
        inputParameters:
          - name: filing
            in: body
            required: true
            type: string
          - name: state
            in: body
            required: true
            type: string
          - name: period
            in: body
            required: true
            type: string
        steps:
          - name: req
            call:
              operationId: getRequirements
              input:
                filing: "{{filing}}"
          - name: submit
            call:
              operationId: submitFiling
              input:
                filing: "{{filing}}"
                state: "{{state}}"
          - name: log
            call:
              operationId: createIncident
              input:
                short_description: "Filing: {{filing}}"
                urgency: "3"
  consumes:
    - type: http
      baseUri: https://api.humana.com/regulatory/v1
      authentication:
        type: bearer
        token: $secrets.humana_regulatory_token
      resources:
        - path: /filings/requirements
          operations:
            - id: getRequirements
              method: GET
    - type: http
      baseUri: https://api.humana.com/regulatory/v1
      authentication:
        type: bearer
        token: $secrets.humana_regulatory_token
      resources:
        - path: /filings/submit
          operations:
            - id: submitFiling
              method: POST
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST

Population risk scoring.

naftiko: "0.5"
info:
  title: Humana Risk Stratification
  version: "1.0"
  description: Population risk scoring.
  tags: [population-health, analytics, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: run_humana_risk
        description: Queries, scores, updates.
        inputParameters:
          - name: segment
            in: body
            required: true
            type: string
          - name: model
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT member_id, cost FROM claims WHERE segment='{{segment}}'"
          - name: score
            call:
              operationId: runRiskScore
              input:
                model: "{{model}}"
                data: "{{query.results}}"
          - name: update
            call:
              operationId: updateCohort
              input:
                segment: "{{segment}}"
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://api.humana.com/population-health/v1
      authentication:
        type: bearer
        token: $secrets.humana_ph_token
      resources:
        - path: /risk-scoring
          operations:
            - id: runRiskScore
              method: POST
    - type: http
      baseUri: https://api.humana.com/care-management/v1
      authentication:
        type: bearer
        token: $secrets.humana_cm_token
      resources:
        - path: /cohorts
          operations:
            - id: updateCohort
              method: PUT

Analyzes satisfaction.

naftiko: "0.5"
info:
  title: Humana Satisfaction Analysis
  version: "1.0"
  description: Analyzes satisfaction.
  tags: [population-health, analytics, healthcare, confluence]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: analyze_humana_satisfaction
        description: Queries, publishes.
        inputParameters:
          - name: period
            in: body
            required: true
            type: string
          - name: region
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT question, score FROM surveys WHERE period='{{period}}'"
          - name: publish
            call:
              operationId: createContent
              input:
                type: "page"
                title: "Satisfaction — {{period}}"
                space: "QUALITY"
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.atlassian.net/wiki/rest/api
      authentication:
        type: basic
        username: $secrets.confluence_user
        password: $secrets.confluence_api_token
      resources:
        - path: /content
          operations:
            - id: createContent
              method: POST

Coordinates specialty drugs.

naftiko: "0.5"
info:
  title: Humana Specialty Drug
  version: "1.0"
  description: Coordinates specialty drugs.
  tags: [pharmacy, clinical, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: coord_humana_specialty
        description: Coverage, clinical, delivery.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: ndc
            in: body
            required: true
            type: string
          - name: prescriber
            in: body
            required: true
            type: string
        steps:
          - name: coverage
            call:
              operationId: checkCoverage
              input:
                memberId: "{{member_id}}"
                ndc: "{{ndc}}"
          - name: clinical
            call:
              operationId: validateCriteria
              input:
                memberId: "{{member_id}}"
          - name: deliver
            call:
              operationId: scheduleDelivery
              input:
                memberId: "{{member_id}}"
  consumes:
    - type: http
      baseUri: https://api.humana.com/pharmacy/specialty/v1
      authentication:
        type: bearer
        token: $secrets.humana_specialty_token
      resources:
        - path: /coverage/{memberId}
          operations:
            - id: checkCoverage
              method: GET
    - type: http
      baseUri: https://api.humana.com/clinical/v1
      authentication:
        type: bearer
        token: $secrets.humana_clinical_token
      resources:
        - path: /specialty-criteria
          operations:
            - id: validateCriteria
              method: POST
    - type: http
      baseUri: https://api.humana.com/pharmacy/specialty/v1
      authentication:
        type: bearer
        token: $secrets.humana_specialty_token
      resources:
        - path: /deliveries
          operations:
            - id: scheduleDelivery
              method: POST

Tracks star metrics.

naftiko: "0.5"
info:
  title: Humana Star Rating Tracker
  version: "1.0"
  description: Tracks star metrics.
  tags: [population-health, medicare, healthcare, jira]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: track_humana_stars
        description: Queries, creates stories.
        inputParameters:
          - name: contract
            in: body
            required: true
            type: string
          - name: target
            in: body
            required: true
            type: number
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT measure, score FROM stars WHERE contract='{{contract}}' AND score < {{target}}"
          - name: create
            call:
              operationId: createIssue
              input:
                project: "STARS"
                summary: "Improve {{contract}}"
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.atlassian.net/rest/api/3
      authentication:
        type: basic
        username: $secrets.jira_user
        password: $secrets.jira_api_token
      resources:
        - path: /issue
          operations:
            - id: createIssue
              method: POST

Creates medical supply orders in SAP, validates inventory, and schedules delivery.

naftiko: "0.5"
info:
  title: Humana Supply Chain Order
  version: "1.0"
  description: Creates medical supply orders in SAP, validates inventory, and schedules delivery.
  tags: [procurement, sap, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: create_humana_supply
        description: Checks inventory, creates purchase order, and notifies logistics.
        inputParameters:
          - name: material_id
            in: body
            required: true
            type: string
          - name: quantity
            in: body
            required: true
            type: integer
          - name: facility
            in: body
            required: true
            type: string
        steps:
          - name: check-inventory
            call:
              operationId: checkInventory
              input:
                materialId: "{{material_id}}"
                facility: "{{facility}}"
          - name: create-po
            call:
              operationId: createPO
              input:
                materialId: "{{material_id}}"
                quantity: "{{quantity}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "supply-chain"
                message: "PO {{create-po.po_number}} created for {{quantity}} units."
  consumes:
    - type: http
      baseUri: https://humana-sap.com/api/v1
      authentication:
        type: bearer
        token: $secrets.sap_token
      resources:
        - path: /inventory/{materialId}
          operations:
            - id: checkInventory
              method: GET
    - type: http
      baseUri: https://humana-sap.com/api/v1
      authentication:
        type: bearer
        token: $secrets.sap_token
      resources:
        - path: /purchase-orders
          operations:
            - id: createPO
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Distributes visit summary.

naftiko: "0.5"
info:
  title: Humana Telehealth Summary
  version: "1.0"
  description: Distributes visit summary.
  tags: [clinical, telehealth, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: distribute_humana_summary
        description: Gets, finds PCP, sends.
        inputParameters:
          - name: visit_id
            in: body
            required: true
            type: string
          - name: member_id
            in: body
            required: true
            type: string
        steps:
          - name: summary
            call:
              operationId: getSummary
              input:
                visitId: "{{visit_id}}"
          - name: pcp
            call:
              operationId: getPCP
              input:
                memberId: "{{member_id}}"
          - name: send
            call:
              operationId: sendEmail
              input:
                to: "{{pcp.email}}"
                subject: "Summary"
                body: "{{summary.notes}}"
  consumes:
    - type: http
      baseUri: https://api.humana.com/telehealth/v1
      authentication:
        type: bearer
        token: $secrets.humana_telehealth_token
      resources:
        - path: /visits/{visitId}/summary
          operations:
            - id: getSummary
              method: GET
    - type: http
      baseUri: https://api.humana.com/enrollment/v1
      authentication:
        type: bearer
        token: $secrets.humana_enrollment_token
      resources:
        - path: /members/{memberId}/pcp
          operations:
            - id: getPCP
              method: GET
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /me/sendMail
          operations:
            - id: sendEmail
              method: POST

Checks virtual visit slots.

naftiko: "0.5"
info:
  title: Humana Telehealth Availability
  version: "1.0"
  description: Checks virtual visit slots.
  tags: [clinical, telehealth, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_telehealth
        description: Returns available slots.
        inputParameters:
          - name: member_id
            in: query
            required: true
            type: string
          - name: specialty
            in: query
            required: true
            type: string
        call:
          operationId: getAvailability
          input:
            memberId: "{{member_id}}"
            specialty: "{{specialty}}"
        outputParameters:
          - name: slots
            type: array
          - name: total
            type: integer
  consumes:
    - type: http
      baseUri: https://api.humana.com/telehealth/v1
      authentication:
        type: bearer
        token: $secrets.humana_telehealth_token
      resources:
        - path: /availability
          operations:
            - id: getAvailability
              method: GET

Syncs VBC to Salesforce.

naftiko: "0.5"
info:
  title: Humana VBC Sync
  version: "1.0"
  description: Syncs VBC to Salesforce.
  tags: [population-health, analytics, healthcare, salesforce]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: sync_humana_vbc
        description: Queries, updates.
        inputParameters:
          - name: contract
            in: body
            required: true
            type: string
          - name: period
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: executeQuery
              input:
                statement: "SELECT quality FROM vbc WHERE contract='{{contract}}'"
          - name: update
            call:
              operationId: updateAccount
              input:
                contract: "{{contract}}"
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST
    - type: http
      baseUri: https://humana.my.salesforce.com/services/data/v58.0
      authentication:
        type: bearer
        token: $secrets.salesforce_token
      resources:
        - path: /sobjects/Account
          operations:
            - id: updateAccount
              method: PATCH

Vision benefit auth.

naftiko: "0.5"
info:
  title: Humana Vision Authorization
  version: "1.0"
  description: Vision benefit auth.
  tags: [claims, enrollment, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: authorize_humana_vision
        description: Checks, creates, notifies.
        inputParameters:
          - name: member_id
            in: body
            required: true
            type: string
          - name: npi
            in: body
            required: true
            type: string
          - name: service
            in: body
            required: true
            type: string
        steps:
          - name: check
            call:
              operationId: verifyVision
              input:
                memberId: "{{member_id}}"
          - name: auth
            call:
              operationId: createVisionAuth
              input:
                memberId: "{{member_id}}"
                npi: "{{npi}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "vision"
                message: "Auth created."
  consumes:
    - type: http
      baseUri: https://api.humana.com/vision/v1
      authentication:
        type: bearer
        token: $secrets.humana_vision_token
      resources:
        - path: /eligibility
          operations:
            - id: verifyVision
              method: GET
    - type: http
      baseUri: https://api.humana.com/vision/v1
      authentication:
        type: bearer
        token: $secrets.humana_vision_token
      resources:
        - path: /authorizations
          operations:
            - id: createVisionAuth
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Retrieves Go365 wellness score.

naftiko: "0.5"
info:
  title: Humana Wellness Score
  version: "1.0"
  description: Retrieves Go365 wellness score.
  tags: [population-health, wellness, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_wellness
        description: Returns wellness score.
        inputParameters:
          - name: member_id
            in: query
            required: true
            type: string
        call:
          operationId: getWellnessScore
          input:
            memberId: "{{member_id}}"
        outputParameters:
          - name: score
            type: integer
          - name: points
            type: integer
  consumes:
    - type: http
      baseUri: https://api.humana.com/go365/v1
      authentication:
        type: bearer
        token: $secrets.humana_go365_token
      resources:
        - path: /members/{memberId}/score
          operations:
            - id: getWellnessScore
              method: GET

Checks Informatica IICS pipeline run status for Humana's member data pipelines and alerts the data engineering team via Teams if any pipelines have failed.

naftiko: "0.5"
info:
  label: "Informatica Healthcare Data Pipeline Monitoring"
  description: "Checks Informatica IICS pipeline run status for Humana's member data pipelines and alerts the data engineering team via Teams if any pipelines have failed."
  tags:
    - data
    - monitoring
    - informatica
    - microsoft-teams
    - healthcare
capability:
  exposes:
    - type: mcp
      namespace: data-pipeline-ops
      port: 8080
      tools:
        - name: monitor-healthcare-pipelines
          description: "List recent Informatica IICS pipeline runs for Humana member data workflows, identify any failures in the last hour, and send an alert to the data engineering Teams channel."
          inputParameters:
            - name: org_id
              in: body
              type: string
              description: "The Informatica IICS organization ID for the Humana environment."
          steps:
            - name: get-failed-runs
              type: call
              call: "informatica.list-activity-log"
              with:
                org_id: "{{org_id}}"
                status: "FAILED"
            - name: send-alert
              type: call
              call: "msteams-informatica.post-channel-message"
              with:
                channel_id: "$secrets.data_eng_channel_id"
                message: "Humana Informatica alert: {{get-failed-runs.count}} member data pipelines failed. First failure: {{get-failed-runs.first_pipeline_name}}"
  consumes:
    - type: http
      namespace: informatica
      baseUri: "https://usw3.dm-us.informaticacloud.com/saas/public/core/v3"
      authentication:
        type: bearer
        token: "$secrets.informatica_token"
      resources:
        - name: activity-log
          path: "/activityLog"
          inputParameters:
            - name: status
              in: query
          operations:
            - name: list-activity-log
              method: GET
    - type: http
      namespace: msteams-informatica
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Queries Jira backlog.

naftiko: "0.5"
info:
  title: Jira Humana Backlog
  version: "1.0"
  description: Queries Jira backlog.
  tags: [project-management, digital, jira]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: query_humana_backlog
        description: Returns backlog items.
        inputParameters:
          - name: project
            in: query
            required: true
            type: string
          - name: priority
            in: query
            required: true
            type: string
        call:
          operationId: searchIssues
          input:
            jql: "project={{project}} AND priority={{priority}}"
            maxResults: "50"
        outputParameters:
          - name: issues
            type: array
          - name: total
            type: integer
  consumes:
    - type: http
      baseUri: https://humana.atlassian.net/rest/api/3
      authentication:
        type: basic
        username: $secrets.jira_user
        password: $secrets.jira_api_token
      resources:
        - path: /search
          operations:
            - id: searchIssues
              method: GET

Fetches sprint velocity metrics from Jira for a Humana technology team and publishes a digest to Confluence and the engineering Teams channel.

naftiko: "0.5"
info:
  label: "Jira Sprint Velocity Report to Confluence"
  description: "Fetches sprint velocity metrics from Jira for a Humana technology team and publishes a digest to Confluence and the engineering Teams channel."
  tags:
    - devops
    - reporting
    - jira
    - confluence
    - microsoft-teams
capability:
  exposes:
    - type: mcp
      namespace: agile-reporting
      port: 8080
      tools:
        - name: publish-sprint-velocity-report
          description: "Given a Jira board ID and sprint ID, retrieve completed story points for a Humana technology team, update the Confluence velocity page, and post a summary to the engineering Teams channel."
          inputParameters:
            - name: board_id
              in: body
              type: string
              description: "The Jira board ID for the Humana technology team."
            - name: sprint_id
              in: body
              type: string
              description: "The Jira sprint ID to report on."
          steps:
            - name: get-sprint-report
              type: call
              call: "jira-agile.get-sprint-report"
              with:
                board_id: "{{board_id}}"
                sprint_id: "{{sprint_id}}"
            - name: update-confluence
              type: call
              call: "confluence.update-page"
              with:
                page_id: "$secrets.velocity_confluence_page_id"
                content: "Sprint {{sprint_id}} Velocity: {{get-sprint-report.completed_points}} points."
            - name: notify-team
              type: call
              call: "msteams-agile.post-channel-message"
              with:
                channel_id: "$secrets.engineering_channel_id"
                message: "Sprint {{sprint_id}} complete. Velocity: {{get-sprint-report.completed_points}} pts. Confluence updated."
  consumes:
    - type: http
      namespace: jira-agile
      baseUri: "https://humana.atlassian.net/rest/api/3"
      authentication:
        type: basic
        username: "$secrets.jira_user"
        password: "$secrets.jira_token"
      resources:
        - name: sprint-reports
          path: "/board/{{board_id}}/sprint/{{sprint_id}}/report"
          inputParameters:
            - name: board_id
              in: path
            - name: sprint_id
              in: path
          operations:
            - name: get-sprint-report
              method: GET
    - type: http
      namespace: confluence
      baseUri: "https://humana.atlassian.net/wiki/rest/api"
      authentication:
        type: basic
        username: "$secrets.jira_user"
        password: "$secrets.jira_token"
      resources:
        - name: pages
          path: "/content/{{page_id}}"
          inputParameters:
            - name: page_id
              in: path
          operations:
            - name: update-page
              method: PUT
    - type: http
      namespace: msteams-agile
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Fetches LinkedIn Campaign Manager metrics for Humana employer brand campaigns and publishes a weekly digest to the HR SharePoint site.

naftiko: "0.5"
info:
  label: "LinkedIn Employer Brand Campaign Digest"
  description: "Fetches LinkedIn Campaign Manager metrics for Humana employer brand campaigns and publishes a weekly digest to the HR SharePoint site."
  tags:
    - marketing
    - social
    - linkedin
    - sharepoint
    - reporting
capability:
  exposes:
    - type: mcp
      namespace: talent-brand
      port: 8080
      tools:
        - name: digest-linkedin-campaign
          description: "Given a LinkedIn campaign ID and date range, retrieve impressions, clicks, and applications for Humana employer brand campaigns, then publish a digest to the Humana Careers SharePoint page."
          inputParameters:
            - name: campaign_id
              in: body
              type: string
              description: "The LinkedIn Campaign Manager campaign ID."
            - name: start_date
              in: body
              type: string
              description: "Report start date in YYYY-MM-DD format."
            - name: end_date
              in: body
              type: string
              description: "Report end date in YYYY-MM-DD format."
          steps:
            - name: get-campaign-stats
              type: call
              call: "linkedin.get-campaign-analytics"
              with:
                campaign_id: "{{campaign_id}}"
                start_date: "{{start_date}}"
                end_date: "{{end_date}}"
            - name: publish-digest
              type: call
              call: "sharepoint.create-page"
              with:
                site_id: "$secrets.talent_brand_site_id"
                title: "LinkedIn Campaign Report {{campaign_id}} {{start_date}} to {{end_date}}"
                content: "Impressions: {{get-campaign-stats.impressions}} | Clicks: {{get-campaign-stats.clicks}} | Applications: {{get-campaign-stats.applications}}"
  consumes:
    - type: http
      namespace: linkedin
      baseUri: "https://api.linkedin.com/v2"
      authentication:
        type: bearer
        token: "$secrets.linkedin_token"
      resources:
        - name: campaign-analytics
          path: "/adAnalyticsV2"
          inputParameters:
            - name: campaign_id
              in: query
            - name: start_date
              in: query
            - name: end_date
              in: query
          operations:
            - name: get-campaign-analytics
              method: GET
    - type: http
      namespace: sharepoint
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: pages
          path: "/sites/{{site_id}}/pages"
          inputParameters:
            - name: site_id
              in: path
          operations:
            - name: create-page
              method: POST

Provisions access.

naftiko: "0.5"
info:
  title: Okta Humana Access
  version: "1.0"
  description: Provisions access.
  tags: [identity-management, okta, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: provision_humana
        description: Role, provision, log.
        inputParameters:
          - name: eid
            in: body
            required: true
            type: string
          - name: app
            in: body
            required: true
            type: string
        steps:
          - name: role
            call:
              operationId: getRole
              input:
                eid: "{{eid}}"
          - name: provision
            call:
              operationId: assignApp
              input:
                eid: "{{eid}}"
                app: "{{app}}"
          - name: log
            call:
              operationId: createIncident
              input:
                short_description: "Access: {{eid}}"
                urgency: "4"
  consumes:
    - type: http
      baseUri: https://wd5-impl-services1.workday.com/ccx/api/v1/humana
      authentication:
        type: bearer
        token: $secrets.workday_token
      resources:
        - path: /workers/{eid}
          operations:
            - id: getRole
              method: GET
    - type: http
      baseUri: https://humana.okta.com/api/v1
      authentication:
        type: bearer
        token: $secrets.okta_token
      resources:
        - path: /apps/{app}/users
          operations:
            - id: assignApp
              method: PUT
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST

Lists Humana Okta users without MFA enrolled and opens a ServiceNow compliance task for the information security team under HIPAA requirements.

naftiko: "0.5"
info:
  label: "Okta MFA Compliance Audit"
  description: "Lists Humana Okta users without MFA enrolled and opens a ServiceNow compliance task for the information security team under HIPAA requirements."
  tags:
    - security
    - identity
    - okta
    - servicenow
    - compliance
    - hipaa
capability:
  exposes:
    - type: mcp
      namespace: identity-compliance
      port: 8080
      tools:
        - name: audit-mfa-compliance
          description: "Retrieve a list of active Humana Okta users without MFA enrolled and create a ServiceNow security compliance task, noting HIPAA obligations, for remediation by the information security team."
          steps:
            - name: get-non-mfa-users
              type: call
              call: "okta-audit.list-users-without-mfa"
              with:
                filter: "status eq ACTIVE"
            - name: create-compliance-task
              type: call
              call: "servicenow-audit.create-incident"
              with:
                short_description: "MFA Compliance: {{get-non-mfa-users.count}} Humana users without MFA"
                description: "Users without MFA: {{get-non-mfa-users.count}}. Immediate review required per Humana HIPAA security policy."
                category: "security_compliance"
                priority: "1"
  consumes:
    - type: http
      namespace: okta-audit
      baseUri: "https://humana.okta.com/api/v1"
      authentication:
        type: apikey
        key: "Authorization"
        value: "$secrets.okta_token"
        placement: header
      resources:
        - name: users
          path: "/users"
          inputParameters:
            - name: filter
              in: query
          operations:
            - name: list-users-without-mfa
              method: GET
    - type: http
      namespace: servicenow-audit
      baseUri: "https://humana.service-now.com/api/now"
      authentication:
        type: basic
        username: "$secrets.servicenow_user"
        password: "$secrets.servicenow_password"
      resources:
        - name: incidents
          path: "/table/incident"
          operations:
            - name: create-incident
              method: POST

When a Humana employee termination is processed in Workday, deactivates the Okta account, revokes Salesforce license, and closes open ServiceNow tickets.

naftiko: "0.5"
info:
  label: "Okta User Deprovisioning on Termination"
  description: "When a Humana employee termination is processed in Workday, deactivates the Okta account, revokes Salesforce license, and closes open ServiceNow tickets."
  tags:
    - hr
    - security
    - offboarding
    - workday
    - okta
    - salesforce
    - servicenow
capability:
  exposes:
    - type: mcp
      namespace: hr-offboarding
      port: 8080
      tools:
        - name: deprovision-terminated-employee
          description: "Given a Workday employee ID for a terminated Humana employee, deactivate their Okta account, revoke Salesforce license, and close open ServiceNow tickets assigned to them."
          inputParameters:
            - name: employee_id
              in: body
              type: string
              description: "The Workday worker ID of the terminated Humana employee."
          steps:
            - name: get-employee
              type: call
              call: "workday-term.get-worker"
              with:
                worker_id: "{{employee_id}}"
            - name: deactivate-okta
              type: call
              call: "okta.deactivate-user"
              with:
                user_id: "{{get-employee.okta_user_id}}"
            - name: revoke-salesforce
              type: call
              call: "salesforce-depro.update-user"
              with:
                user_id: "{{get-employee.salesforce_user_id}}"
                is_active: "false"
            - name: close-tickets
              type: call
              call: "servicenow-term.close-user-tickets"
              with:
                assigned_to: "{{get-employee.servicenow_user_id}}"
  consumes:
    - type: http
      namespace: workday-term
      baseUri: "https://wd2-impl-services1.workday.com/ccx/api/v1"
      authentication:
        type: bearer
        token: "$secrets.workday_token"
      resources:
        - name: workers
          path: "/humana/workers/{{worker_id}}"
          inputParameters:
            - name: worker_id
              in: path
          operations:
            - name: get-worker
              method: GET
    - type: http
      namespace: okta
      baseUri: "https://humana.okta.com/api/v1"
      authentication:
        type: apikey
        key: "Authorization"
        value: "$secrets.okta_token"
        placement: header
      resources:
        - name: users
          path: "/users/{{user_id}}/lifecycle/deactivate"
          inputParameters:
            - name: user_id
              in: path
          operations:
            - name: deactivate-user
              method: POST
    - type: http
      namespace: salesforce-depro
      baseUri: "https://humana.my.salesforce.com/services/data/v58.0"
      authentication:
        type: bearer
        token: "$secrets.salesforce_token"
      resources:
        - name: users
          path: "/sobjects/User/{{user_id}}"
          inputParameters:
            - name: user_id
              in: path
          operations:
            - name: update-user
              method: PATCH
    - type: http
      namespace: servicenow-term
      baseUri: "https://humana.service-now.com/api/now"
      authentication:
        type: basic
        username: "$secrets.servicenow_user"
        password: "$secrets.servicenow_password"
      resources:
        - name: incidents
          path: "/table/incident"
          inputParameters:
            - name: assigned_to
              in: query
          operations:
            - name: close-user-tickets
              method: PATCH

Retrieves the current PagerDuty on-call engineer for a Humana healthcare platform service and posts contact information to the IT operations Teams channel.

naftiko: "0.5"
info:
  label: "PagerDuty On-Call Schedule Lookup"
  description: "Retrieves the current PagerDuty on-call engineer for a Humana healthcare platform service and posts contact information to the IT operations Teams channel."
  tags:
    - itsm
    - operations
    - pagerduty
    - microsoft-teams
capability:
  exposes:
    - type: mcp
      namespace: oncall-ops
      port: 8080
      tools:
        - name: get-oncall-contact
          description: "Given a PagerDuty schedule ID for a Humana healthcare service, return the currently on-call engineer name and contact details and post to the IT ops Teams channel."
          inputParameters:
            - name: schedule_id
              in: body
              type: string
              description: "The PagerDuty schedule ID for the Humana service team."
          steps:
            - name: get-oncall
              type: call
              call: "pagerduty-oncall.get-oncall"
              with:
                schedule_id: "{{schedule_id}}"
            - name: notify-channel
              type: call
              call: "msteams-oncall.post-channel-message"
              with:
                channel_id: "$secrets.ops_channel_id"
                message: "On-call for schedule {{schedule_id}}: {{get-oncall.user_name}} ({{get-oncall.user_email}})"
  consumes:
    - type: http
      namespace: pagerduty-oncall
      baseUri: "https://api.pagerduty.com"
      authentication:
        type: apikey
        key: "Authorization"
        value: "$secrets.pagerduty_token"
        placement: header
      resources:
        - name: oncalls
          path: "/oncalls"
          inputParameters:
            - name: schedule_id
              in: query
          operations:
            - name: get-oncall
              method: GET
    - type: http
      namespace: msteams-oncall
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Audits Palo Alto Networks firewall security policies protecting Humana PHI network segments and flags unrestricted access rules in ServiceNow under HIPAA security requirements.

naftiko: "0.5"
info:
  label: "Palo Alto Firewall Compliance Audit for PHI Segments"
  description: "Audits Palo Alto Networks firewall security policies protecting Humana PHI network segments and flags unrestricted access rules in ServiceNow under HIPAA security requirements."
  tags:
    - security
    - network
    - palo-alto
    - servicenow
    - hipaa
    - compliance
    - healthcare
capability:
  exposes:
    - type: mcp
      namespace: phi-network-security
      port: 8080
      tools:
        - name: audit-phi-firewall-policies
          description: "Query Palo Alto Networks Panorama for all security policies protecting Humana PHI network segments, identify unrestricted outbound rules, and open a high-priority ServiceNow HIPAA compliance task for each non-compliant rule."
          inputParameters:
            - name: device_group
              in: body
              type: string
              description: "The Palo Alto Panorama device group name for the Humana PHI network segment."
          steps:
            - name: get-policies
              type: call
              call: "paloalto.list-security-policies"
              with:
                device_group: "{{device_group}}"
            - name: create-audit-task
              type: call
              call: "servicenow-phi.create-incident"
              with:
                short_description: "HIPAA firewall audit: {{get-policies.unrestricted_count}} unrestricted rules in PHI segment {{device_group}}"
                description: "Device group: {{device_group}}\nPolicies with unrestricted PHI access: {{get-policies.unrestricted_count}}\nHIPAA security rule 164.312 compliance required."
                category: "hipaa_security"
                priority: "1"
  consumes:
    - type: http
      namespace: paloalto
      baseUri: "https://humana-panorama.humana.com/restapi/v10.1"
      authentication:
        type: apikey
        key: "X-PAN-KEY"
        value: "$secrets.paloalto_api_key"
        placement: header
      resources:
        - name: security-policies
          path: "/Objects/SecurityRules"
          inputParameters:
            - name: device_group
              in: query
          operations:
            - name: list-security-policies
              method: GET
    - type: http
      namespace: servicenow-phi
      baseUri: "https://humana.service-now.com/api/now"
      authentication:
        type: basic
        username: "$secrets.servicenow_user"
        password: "$secrets.servicenow_password"
      resources:
        - name: incidents
          path: "/table/incident"
          operations:
            - name: create-incident
              method: POST

Triggers a Power BI dataset refresh for the Humana healthcare analytics dashboard and notifies the analytics team via Microsoft Teams.

naftiko: "0.5"
info:
  label: "Power BI Healthcare Analytics Dashboard Refresh"
  description: "Triggers a Power BI dataset refresh for the Humana healthcare analytics dashboard and notifies the analytics team via Microsoft Teams."
  tags:
    - healthcare
    - analytics
    - power-bi
    - reporting
    - microsoft-teams
capability:
  exposes:
    - type: mcp
      namespace: analytics-reporting
      port: 8080
      tools:
        - name: refresh-analytics-dashboard
          description: "Trigger a Power BI dataset refresh for the Humana healthcare analytics dashboard and notify the analytics team channel in Microsoft Teams that data is current."
          inputParameters:
            - name: dataset_id
              in: body
              type: string
              description: "The Power BI dataset ID for the Humana analytics dashboard."
            - name: period
              in: body
              type: string
              description: "The reporting period being refreshed, e.g. 2026-Q1."
          steps:
            - name: trigger-refresh
              type: call
              call: "powerbi.refresh-dataset"
              with:
                dataset_id: "{{dataset_id}}"
            - name: notify-analytics
              type: call
              call: "msteams-analytics.post-channel-message"
              with:
                channel_id: "$secrets.analytics_channel_id"
                message: "Humana analytics dashboard refreshed for {{period}}. Dataset {{dataset_id}} is now current."
  consumes:
    - type: http
      namespace: powerbi
      baseUri: "https://api.powerbi.com/v1.0/myorg"
      authentication:
        type: bearer
        token: "$secrets.powerbi_token"
      resources:
        - name: dataset-refreshes
          path: "/datasets/{{dataset_id}}/refreshes"
          inputParameters:
            - name: dataset_id
              in: path
          operations:
            - name: refresh-dataset
              method: POST
    - type: http
      namespace: msteams-analytics
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Refreshes dashboard.

naftiko: "0.5"
info:
  title: Power BI Humana Refresh
  version: "1.0"
  description: Refreshes dashboard.
  tags: [analytics, claims, healthcare, power-bi]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: refresh_humana_dash
        description: Refreshes, notifies.
        inputParameters:
          - name: dataset
            in: body
            required: true
            type: string
          - name: workspace
            in: body
            required: true
            type: string
        steps:
          - name: refresh
            call:
              operationId: refreshDataset
              input:
                dataset: "{{dataset}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "analytics"
                message: "Dashboard refreshed."
  consumes:
    - type: http
      baseUri: https://api.powerbi.com/v1.0/myorg
      authentication:
        type: bearer
        token: $secrets.powerbi_token
      resources:
        - path: /groups/{workspace}/datasets/{dataset}/refreshes
          operations:
            - id: refreshDataset
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Contract renewal.

naftiko: "0.5"
info:
  title: Salesforce Humana Contract
  version: "1.0"
  description: Contract renewal.
  tags: [provider-network, salesforce, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: renew_humana_contract
        description: Gets, generates, creates.
        inputParameters:
          - name: contract
            in: body
            required: true
            type: string
          - name: npi
            in: body
            required: true
            type: string
        steps:
          - name: get
            call:
              operationId: getContract
              input:
                contract: "{{contract}}"
          - name: renew
            call:
              operationId: generateTerms
              input:
                contract: "{{contract}}"
          - name: create
            call:
              operationId: createOpportunity
              input:
                name: "Renewal — {{npi}}"
  consumes:
    - type: http
      baseUri: https://api.humana.com/contracts/v1
      authentication:
        type: bearer
        token: $secrets.humana_contracts_token
      resources:
        - path: /contracts/{contract}
          operations:
            - id: getContract
              method: GET
    - type: http
      baseUri: https://api.humana.com/contracts/v1
      authentication:
        type: bearer
        token: $secrets.humana_contracts_token
      resources:
        - path: /renewals
          operations:
            - id: generateTerms
              method: POST
    - type: http
      baseUri: https://humana.my.salesforce.com/services/data/v58.0
      authentication:
        type: bearer
        token: $secrets.salesforce_token
      resources:
        - path: /sobjects/Opportunity
          operations:
            - id: createOpportunity
              method: POST

When a Salesforce Medicare Advantage group enrollment opportunity is updated, logs the activity, triggers a follow-up task for the account team, and notifies via Teams.

naftiko: "0.5"
info:
  label: "Salesforce Medicare Advantage Opportunity Tracking"
  description: "When a Salesforce Medicare Advantage group enrollment opportunity is updated, logs the activity, triggers a follow-up task for the account team, and notifies via Teams."
  tags:
    - sales
    - crm
    - salesforce
    - microsoft-teams
    - healthcare
    - medicare
capability:
  exposes:
    - type: mcp
      namespace: medicare-sales
      port: 8080
      tools:
        - name: track-medicare-opportunity
          description: "Given a Salesforce Medicare Advantage opportunity ID, retrieve the current stage and value, create a follow-up task for the account executive, and notify the sales team channel in Microsoft Teams."
          inputParameters:
            - name: opportunity_id
              in: body
              type: string
              description: "The Salesforce opportunity ID (18-char SFDC ID) for the Medicare Advantage enrollment."
          steps:
            - name: get-opportunity
              type: call
              call: "salesforce-opp.get-opportunity"
              with:
                opportunity_id: "{{opportunity_id}}"
            - name: create-followup-task
              type: call
              call: "salesforce-task.create-task"
              with:
                what_id: "{{opportunity_id}}"
                owner_id: "{{get-opportunity.owner_id}}"
                subject: "Follow up: {{get-opportunity.name}} — {{get-opportunity.stage_name}}"
                status: "Not Started"
            - name: notify-sales
              type: call
              call: "msteams-sales.post-channel-message"
              with:
                channel_id: "$secrets.sales_channel_id"
                message: "Medicare opportunity {{get-opportunity.name}} moved to {{get-opportunity.stage_name}}. Follow-up task created."
  consumes:
    - type: http
      namespace: salesforce-opp
      baseUri: "https://humana.my.salesforce.com/services/data/v58.0"
      authentication:
        type: bearer
        token: "$secrets.salesforce_token"
      resources:
        - name: opportunities
          path: "/sobjects/Opportunity/{{opportunity_id}}"
          inputParameters:
            - name: opportunity_id
              in: path
          operations:
            - name: get-opportunity
              method: GET
    - type: http
      namespace: salesforce-task
      baseUri: "https://humana.my.salesforce.com/services/data/v58.0"
      authentication:
        type: bearer
        token: "$secrets.salesforce_token"
      resources:
        - name: tasks
          path: "/sobjects/Task"
          operations:
            - name: create-task
              method: POST
    - type: http
      namespace: msteams-sales
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Generates a health scorecard for Humana Medicare Advantage group accounts by aggregating open opportunities, service requests, and enrollment data from Salesforce, then refreshes a Power BI dashboard.

naftiko: "0.5"
info:
  label: "Salesforce Member Account Health Scorecard"
  description: "Generates a health scorecard for Humana Medicare Advantage group accounts by aggregating open opportunities, service requests, and enrollment data from Salesforce, then refreshes a Power BI dashboard."
  tags:
    - sales
    - customer-success
    - salesforce
    - power-bi
    - reporting
    - medicare
    - healthcare
capability:
  exposes:
    - type: mcp
      namespace: member-account-health
      port: 8080
      tools:
        - name: publish-member-account-scorecard
          description: "Given a Salesforce account ID for a Humana Medicare Advantage group client, retrieve open enrollment pipeline, service cases, and last activity, then trigger a Power BI dataset refresh for the member account health dashboard."
          inputParameters:
            - name: account_id
              in: body
              type: string
              description: "The Salesforce account ID (18-char) for the Humana group client."
          steps:
            - name: get-account-data
              type: call
              call: "salesforce-health.get-account"
              with:
                account_id: "{{account_id}}"
            - name: get-open-cases
              type: call
              call: "salesforce-cases.query-cases"
              with:
                account_id: "{{account_id}}"
                status: "Open"
            - name: refresh-dashboard
              type: call
              call: "powerbi-health.refresh-dataset"
              with:
                dataset_id: "$secrets.member_health_dataset_id"
  consumes:
    - type: http
      namespace: salesforce-health
      baseUri: "https://humana.my.salesforce.com/services/data/v58.0"
      authentication:
        type: bearer
        token: "$secrets.salesforce_token"
      resources:
        - name: accounts
          path: "/sobjects/Account/{{account_id}}"
          inputParameters:
            - name: account_id
              in: path
          operations:
            - name: get-account
              method: GET
    - type: http
      namespace: salesforce-cases
      baseUri: "https://humana.my.salesforce.com/services/data/v58.0"
      authentication:
        type: bearer
        token: "$secrets.salesforce_token"
      resources:
        - name: cases
          path: "/query"
          inputParameters:
            - name: account_id
              in: query
            - name: status
              in: query
          operations:
            - name: query-cases
              method: GET
    - type: http
      namespace: powerbi-health
      baseUri: "https://api.powerbi.com/v1.0/myorg"
      authentication:
        type: bearer
        token: "$secrets.powerbi_token"
      resources:
        - name: dataset-refreshes
          path: "/datasets/{{dataset_id}}/refreshes"
          inputParameters:
            - name: dataset_id
              in: path
          operations:
            - name: refresh-dataset
              method: POST

Enriches new Salesforce Medicare Advantage prospect leads with firmographic and demographic data from ZoomInfo and updates the lead record for sales team prioritization.

naftiko: "0.5"
info:
  label: "Salesforce Member Lead Enrichment"
  description: "Enriches new Salesforce Medicare Advantage prospect leads with firmographic and demographic data from ZoomInfo and updates the lead record for sales team prioritization."
  tags:
    - sales
    - crm
    - salesforce
    - zoominfo
    - lead-enrichment
    - healthcare
capability:
  exposes:
    - type: mcp
      namespace: sales-intelligence
      port: 8080
      tools:
        - name: enrich-member-lead
          description: "Given a Salesforce lead ID for a Medicare Advantage prospect, look up company or contact data in ZoomInfo and update the lead record with enriched firmographic or demographic fields for Humana sales team prioritization."
          inputParameters:
            - name: lead_id
              in: body
              type: string
              description: "The Salesforce lead record ID (18-char SFDC ID)."
          steps:
            - name: get-lead
              type: call
              call: "salesforce-lead.get-lead"
              with:
                lead_id: "{{lead_id}}"
            - name: enrich-contact
              type: call
              call: "zoominfo.search-company"
              with:
                company_name: "{{get-lead.company}}"
            - name: update-lead
              type: call
              call: "salesforce-lead-update.update-lead"
              with:
                lead_id: "{{lead_id}}"
                employee_count: "{{enrich-contact.employee_count}}"
                annual_revenue: "{{enrich-contact.annual_revenue}}"
                industry: "{{enrich-contact.industry}}"
  consumes:
    - type: http
      namespace: salesforce-lead
      baseUri: "https://humana.my.salesforce.com/services/data/v58.0"
      authentication:
        type: bearer
        token: "$secrets.salesforce_token"
      resources:
        - name: leads
          path: "/sobjects/Lead/{{lead_id}}"
          inputParameters:
            - name: lead_id
              in: path
          operations:
            - name: get-lead
              method: GET
    - type: http
      namespace: zoominfo
      baseUri: "https://api.zoominfo.com/search"
      authentication:
        type: bearer
        token: "$secrets.zoominfo_token"
      resources:
        - name: companies
          path: "/company"
          operations:
            - name: search-company
              method: POST
    - type: http
      namespace: salesforce-lead-update
      baseUri: "https://humana.my.salesforce.com/services/data/v58.0"
      authentication:
        type: bearer
        token: "$secrets.salesforce_token"
      resources:
        - name: leads
          path: "/sobjects/Lead/{{lead_id}}"
          inputParameters:
            - name: lead_id
              in: path
          operations:
            - name: update-lead
              method: PATCH

Retrieves submitted SAP Concur expense reports for Humana employees, validates against T&E policy, and flags non-compliant reports in ServiceNow.

naftiko: "0.5"
info:
  label: "SAP Concur Expense Report Audit"
  description: "Retrieves submitted SAP Concur expense reports for Humana employees, validates against T&E policy, and flags non-compliant reports in ServiceNow."
  tags:
    - finance
    - expense-management
    - sap-concur
    - servicenow
    - compliance
capability:
  exposes:
    - type: mcp
      namespace: finance-compliance
      port: 8080
      tools:
        - name: audit-expense-report
          description: "Given a SAP Concur expense report ID, retrieve the line items, validate against Humana travel and expense policy, and open a ServiceNow compliance task if violations are detected."
          inputParameters:
            - name: report_id
              in: body
              type: string
              description: "The SAP Concur expense report ID."
          steps:
            - name: get-report
              type: call
              call: "concur.get-expense-report"
              with:
                report_id: "{{report_id}}"
            - name: flag-violation
              type: call
              call: "servicenow-fin.create-incident"
              with:
                short_description: "Expense policy violation: Report {{report_id}}"
                description: "Concur report {{report_id}} by {{get-report.employee_name}} contains items requiring review per Humana T&E policy."
                category: "finance_compliance"
  consumes:
    - type: http
      namespace: concur
      baseUri: "https://www.concursolutions.com/api/v3.0"
      authentication:
        type: bearer
        token: "$secrets.concur_token"
      resources:
        - name: expense-reports
          path: "/expense/reports/{{report_id}}"
          inputParameters:
            - name: report_id
              in: path
          operations:
            - name: get-expense-report
              method: GET
    - type: http
      namespace: servicenow-fin
      baseUri: "https://humana.service-now.com/api/now"
      authentication:
        type: basic
        username: "$secrets.servicenow_user"
        password: "$secrets.servicenow_password"
      resources:
        - name: incidents
          path: "/table/incident"
          operations:
            - name: create-incident
              method: POST

Routes procurement.

naftiko: "0.5"
info:
  title: SAP Humana Procurement
  version: "1.0"
  description: Routes procurement.
  tags: [procurement, sap, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: process_humana_procurement
        description: Gets, submits, notifies.
        inputParameters:
          - name: req
            in: body
            required: true
            type: string
          - name: dept
            in: body
            required: true
            type: string
        steps:
          - name: get
            call:
              operationId: getRequisition
              input:
                req: "{{req}}"
          - name: submit
            call:
              operationId: submitApproval
              input:
                req: "{{req}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "finance"
                message: "Procurement submitted."
  consumes:
    - type: http
      baseUri: https://humana-sap.com/api/v1
      authentication:
        type: bearer
        token: $secrets.sap_token
      resources:
        - path: /requisitions/{req}
          operations:
            - id: getRequisition
              method: GET
    - type: http
      baseUri: https://humana-sap.com/api/v1
      authentication:
        type: bearer
        token: $secrets.sap_token
      resources:
        - path: /approvals
          operations:
            - id: submitApproval
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Retrieves IT incident details.

naftiko: "0.5"
info:
  title: ServiceNow Humana Ticket
  version: "1.0"
  description: Retrieves IT incident details.
  tags: [itsm, servicenow, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: get_humana_ticket
        description: Returns ticket state.
        inputParameters:
          - name: number
            in: query
            required: true
            type: string
        call:
          operationId: getIncident
          input:
            number: "{{number}}"
        outputParameters:
          - name: state
            type: string
          - name: assigned_to
            type: string
  consumes:
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: getIncident
              method: GET

Creates a ServiceNow change request for a planned Humana healthcare platform update and notifies IT stakeholders via Microsoft Teams.

naftiko: "0.5"
info:
  label: "ServiceNow IT Change Request for Healthcare Systems"
  description: "Creates a ServiceNow change request for a planned Humana healthcare platform update and notifies IT stakeholders via Microsoft Teams."
  tags:
    - itsm
    - change-management
    - servicenow
    - microsoft-teams
    - healthcare
capability:
  exposes:
    - type: mcp
      namespace: change-management
      port: 8080
      tools:
        - name: submit-change-request
          description: "Given a system name, change description, and implementation window, create a ServiceNow normal change request for a Humana healthcare system, assign to the CAB group, and notify IT stakeholders in Teams."
          inputParameters:
            - name: system_name
              in: body
              type: string
              description: "The name of the Humana healthcare system or service being changed."
            - name: change_description
              in: body
              type: string
              description: "A detailed description of the planned change."
            - name: planned_start
              in: body
              type: string
              description: "Planned start datetime in ISO 8601 format."
            - name: planned_end
              in: body
              type: string
              description: "Planned end datetime in ISO 8601 format."
          steps:
            - name: create-change
              type: call
              call: "servicenow-chg.create-change-request"
              with:
                short_description: "Change: {{system_name}}"
                description: "{{change_description}}"
                start_date: "{{planned_start}}"
                end_date: "{{planned_end}}"
                type: "normal"
                assignment_group: "CAB"
            - name: notify-stakeholders
              type: call
              call: "msteams-chg.post-channel-message"
              with:
                channel_id: "$secrets.itops_channel_id"
                message: "Change request submitted for {{system_name}}. SNOW: {{create-change.number}}. Planned: {{planned_start}} to {{planned_end}}."
  consumes:
    - type: http
      namespace: servicenow-chg
      baseUri: "https://humana.service-now.com/api/now"
      authentication:
        type: basic
        username: "$secrets.servicenow_user"
        password: "$secrets.servicenow_password"
      resources:
        - name: change-requests
          path: "/table/change_request"
          operations:
            - name: create-change-request
              method: POST
    - type: http
      namespace: msteams-chg
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

When a P1 incident is raised in ServiceNow for Humana healthcare systems, pages the on-call engineer via PagerDuty and posts a war-room message to Microsoft Teams.

naftiko: "0.5"
info:
  label: "ServiceNow P1 Incident Response Chain"
  description: "When a P1 incident is raised in ServiceNow for Humana healthcare systems, pages the on-call engineer via PagerDuty and posts a war-room message to Microsoft Teams."
  tags:
    - itsm
    - incident-response
    - servicenow
    - pagerduty
    - microsoft-teams
capability:
  exposes:
    - type: mcp
      namespace: itsm-ops
      port: 8080
      tools:
        - name: handle-p1-incident
          description: "Given a ServiceNow P1 incident number for a Humana healthcare platform outage, page the on-call engineer via PagerDuty and post a war-room message to the IT ops Teams channel."
          inputParameters:
            - name: incident_number
              in: body
              type: string
              description: "The ServiceNow incident number, e.g. INC0012345."
          steps:
            - name: get-incident
              type: call
              call: "servicenow-read.get-incident"
              with:
                number: "{{incident_number}}"
            - name: page-oncall
              type: call
              call: "pagerduty.create-incident"
              with:
                title: "P1: {{get-incident.short_description}}"
                service_id: "$secrets.pagerduty_service_id"
                details: "SNOW: {{incident_number}}"
            - name: post-warroom
              type: call
              call: "msteams-war.post-channel-message"
              with:
                channel_id: "$secrets.warroom_channel_id"
                message: "P1 INCIDENT: {{get-incident.short_description}} | PagerDuty: {{page-oncall.incident_id}}"
  consumes:
    - type: http
      namespace: servicenow-read
      baseUri: "https://humana.service-now.com/api/now"
      authentication:
        type: basic
        username: "$secrets.servicenow_user"
        password: "$secrets.servicenow_password"
      resources:
        - name: incidents
          path: "/table/incident"
          inputParameters:
            - name: number
              in: query
          operations:
            - name: get-incident
              method: GET
    - type: http
      namespace: pagerduty
      baseUri: "https://api.pagerduty.com"
      authentication:
        type: apikey
        key: "Authorization"
        value: "$secrets.pagerduty_token"
        placement: header
      resources:
        - name: incidents
          path: "/incidents"
          operations:
            - name: create-incident
              method: POST
    - type: http
      namespace: msteams-war
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Queries Snowflake for claims analytics.

naftiko: "0.5"
info:
  title: Snowflake Humana Claims
  version: "1.0"
  description: Queries Snowflake for claims analytics.
  tags: [claims, analytics, snowflake]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: query_humana_claims
        description: Returns claims data.
        inputParameters:
          - name: category
            in: query
            required: true
            type: string
          - name: period
            in: query
            required: true
            type: string
        call:
          operationId: executeQuery
          input:
            statement: "SELECT category, total_claims FROM claims_summary WHERE category='{{category}}' AND period='{{period}}'"
        outputParameters:
          - name: results
            type: array
  consumes:
    - type: http
      baseUri: https://humana-analytics.snowflakecomputing.com/api/v2
      authentication:
        type: bearer
        token: $secrets.snowflake_token
      resources:
        - path: /statements
          operations:
            - id: executeQuery
              method: POST

Runs data quality validation on Humana's Snowflake member claims datasets and alerts the data engineering team via Microsoft Teams if quality thresholds are breached.

naftiko: "0.5"
info:
  label: "Snowflake Member Claims Data Quality Check"
  description: "Runs data quality validation on Humana's Snowflake member claims datasets and alerts the data engineering team via Microsoft Teams if quality thresholds are breached."
  tags:
    - data
    - analytics
    - snowflake
    - microsoft-teams
    - healthcare
    - monitoring
capability:
  exposes:
    - type: mcp
      namespace: claims-data-ops
      port: 8080
      tools:
        - name: run-claims-data-quality-check
          description: "Execute a named Snowflake stored procedure on Humana's member claims dataset and send a Teams alert to the data engineering channel if the quality score falls below threshold."
          inputParameters:
            - name: check_name
              in: body
              type: string
              description: "The Snowflake stored procedure name for the claims data quality check."
            - name: quality_threshold
              in: body
              type: number
              description: "Minimum acceptable quality score (0–100)."
          steps:
            - name: run-check
              type: call
              call: "snowflake.execute-statement"
              with:
                statement: "CALL claims_data_quality.{{check_name}}()"
            - name: send-alert
              type: call
              call: "msteams-data.post-channel-message"
              with:
                channel_id: "$secrets.data_eng_channel_id"
                message: "Claims data quality check {{check_name}} complete. Score: {{run-check.quality_score}}."
  consumes:
    - type: http
      namespace: snowflake
      baseUri: "https://humana.snowflakecomputing.com/api/v2"
      authentication:
        type: bearer
        token: "$secrets.snowflake_token"
      resources:
        - name: statements
          path: "/statements"
          operations:
            - name: execute-statement
              method: POST
    - type: http
      namespace: msteams-data
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Correlates events.

naftiko: "0.5"
info:
  title: Splunk Humana Security
  version: "1.0"
  description: Correlates events.
  tags: [security, compliance, healthcare, splunk]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: correlate_humana
        description: Queries, escalates, notifies.
        inputParameters:
          - name: window
            in: body
            required: true
            type: string
          - name: type
            in: body
            required: true
            type: string
        steps:
          - name: query
            call:
              operationId: searchEvents
              input:
                query: "index=security event_type={{type}}"
          - name: escalate
            call:
              operationId: createIncident
              input:
                short_description: "Security: {{type}}"
                urgency: "1"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "soc"
                message: "Escalation."
  consumes:
    - type: http
      baseUri: https://humana-splunk.com:8089/services
      authentication:
        type: bearer
        token: $secrets.splunk_token
      resources:
        - path: /search/jobs
          operations:
            - id: searchEvents
              method: POST
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/incident
          operations:
            - id: createIncident
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Creates a Terraform Cloud workspace for a Humana technology team, applies HIPAA-compliant variable sets, and notifies via Teams.

naftiko: "0.5"
info:
  label: "Terraform Cloud Healthcare Infrastructure Provisioner"
  description: "Creates a Terraform Cloud workspace for a Humana technology team, applies HIPAA-compliant variable sets, and notifies via Teams."
  tags:
    - cloud
    - infrastructure
    - terraform
    - microsoft-teams
    - hipaa
capability:
  exposes:
    - type: mcp
      namespace: infra-provisioning
      port: 8080
      tools:
        - name: provision-terraform-workspace
          description: "Given a team name and environment, create a Terraform Cloud workspace for a Humana technology team, apply the HIPAA-compliant standard variable set, and notify the team Microsoft Teams channel."
          inputParameters:
            - name: team_name
              in: body
              type: string
              description: "The Humana technology team name, used as the workspace prefix."
            - name: environment
              in: body
              type: string
              description: "The target environment: dev, staging, or prod."
            - name: teams_channel_id
              in: body
              type: string
              description: "The Microsoft Teams channel ID to notify upon completion."
          steps:
            - name: create-workspace
              type: call
              call: "terraform.create-workspace"
              with:
                name: "{{team_name}}-{{environment}}"
                organization: "humana"
            - name: assign-varset
              type: call
              call: "terraform-varset.assign-variable-set"
              with:
                workspace_id: "{{create-workspace.workspace_id}}"
                varset_id: "$secrets.terraform_hipaa_varset_id"
            - name: notify-team
              type: call
              call: "msteams-infra.post-channel-message"
              with:
                channel_id: "{{teams_channel_id}}"
                message: "Workspace {{team_name}}-{{environment}} created in Terraform Cloud with HIPAA-compliant variable set. ID: {{create-workspace.workspace_id}}"
  consumes:
    - type: http
      namespace: terraform
      baseUri: "https://app.terraform.io/api/v2"
      authentication:
        type: bearer
        token: "$secrets.terraform_token"
      resources:
        - name: workspaces
          path: "/organizations/humana/workspaces"
          operations:
            - name: create-workspace
              method: POST
    - type: http
      namespace: terraform-varset
      baseUri: "https://app.terraform.io/api/v2"
      authentication:
        type: bearer
        token: "$secrets.terraform_token"
      resources:
        - name: variable-set-workspaces
          path: "/varsets/{{varset_id}}/relationships/workspaces"
          inputParameters:
            - name: varset_id
              in: path
          operations:
            - name: assign-variable-set
              method: POST
    - type: http
      namespace: msteams-infra
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: channel-messages
          path: "/teams/{{team_id}}/channels/{{channel_id}}/messages"
          inputParameters:
            - name: team_id
              in: path
            - name: channel_id
              in: path
          operations:
            - name: post-channel-message
              method: POST

Provisions infrastructure.

naftiko: "0.5"
info:
  title: Terraform Humana Provisioner
  version: "1.0"
  description: Provisions infrastructure.
  tags: [infrastructure, devops, healthcare, terraform]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: provision_humana
        description: Terraform, CMDB, notify.
        inputParameters:
          - name: env
            in: body
            required: true
            type: string
          - name: workspace
            in: body
            required: true
            type: string
        steps:
          - name: apply
            call:
              operationId: triggerRun
              input:
                workspace: "{{workspace}}"
          - name: register
            call:
              operationId: createCI
              input:
                name: "{{env}}"
          - name: notify
            call:
              operationId: sendTeamsMessage
              input:
                channelId: "platform"
                message: "Provisioned."
  consumes:
    - type: http
      baseUri: https://app.terraform.io/api/v2
      authentication:
        type: bearer
        token: $secrets.terraform_token
      resources:
        - path: /runs
          operations:
            - id: triggerRun
              method: POST
    - type: http
      baseUri: https://humana.service-now.com/api/now/v1
      authentication:
        type: basic
        username: $secrets.snow_user
        password: $secrets.snow_password
      resources:
        - path: /table/cmdb_ci
          operations:
            - id: createCI
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /teams/messages
          operations:
            - id: sendTeamsMessage
              method: POST

Syncs benefits.

naftiko: "0.5"
info:
  title: Workday Humana Benefits
  version: "1.0"
  description: Syncs benefits.
  tags: [enrollment, human-resources, workday, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: sync_humana_benefits
        description: Gets, syncs, confirms.
        inputParameters:
          - name: eid
            in: body
            required: true
            type: string
          - name: period
            in: body
            required: true
            type: string
        steps:
          - name: get
            call:
              operationId: getElections
              input:
                eid: "{{eid}}"
          - name: sync
            call:
              operationId: syncEnrollment
              input:
                eid: "{{eid}}"
          - name: confirm
            call:
              operationId: sendEmail
              input:
                to: "{{eid}}@humana.com"
                subject: "Benefits"
                body: "Processed."
  consumes:
    - type: http
      baseUri: https://wd5-impl-services1.workday.com/ccx/api/v1/humana
      authentication:
        type: bearer
        token: $secrets.workday_token
      resources:
        - path: /benefits/elections
          operations:
            - id: getElections
              method: GET
    - type: http
      baseUri: https://api.humana.com/enrollment/v1
      authentication:
        type: bearer
        token: $secrets.humana_enrollment_token
      resources:
        - path: /sync
          operations:
            - id: syncEnrollment
              method: POST
    - type: http
      baseUri: https://graph.microsoft.com/v1.0
      authentication:
        type: bearer
        token: $secrets.ms_graph_token
      resources:
        - path: /me/sendMail
          operations:
            - id: sendEmail
              method: POST

Onboards staff.

naftiko: "0.5"
info:
  title: Workday Humana Onboarding
  version: "1.0"
  description: Onboards staff.
  tags: [human-resources, workday, healthcare]
capability:
  exposes:
    type: mcp
    port: 8080
    tools:
      - name: onboard_humana
        description: Creates, provisions, trains.
        inputParameters:
          - name: eid
            in: body
            required: true
            type: string
          - name: dept
            in: body
            required: true
            type: string
          - name: role
            in: body
            required: true
            type: string
        steps:
          - name: create
            call:
              operationId: createWorker
              input:
                eid: "{{eid}}"
                dept: "{{dept}}"
          - name: provision
            call:
              operationId: provisionAccess
              input:
                eid: "{{eid}}"
          - name: train
            call:
              operationId: assignLearning
              input:
                eid: "{{eid}}"
  consumes:
    - type: http
      baseUri: https://wd5-impl-services1.workday.com/ccx/api/v1/humana
      authentication:
        type: bearer
        token: $secrets.workday_token
      resources:
        - path: /workers
          operations:
            - id: createWorker
              method: POST
    - type: http
      baseUri: https://humana.okta.com/api/v1
      authentication:
        type: bearer
        token: $secrets.okta_token
      resources:
        - path: /apps/assignments
          operations:
            - id: provisionAccess
              method: POST
    - type: http
      baseUri: https://wd5-impl-services1.workday.com/ccx/api/v1/humana
      authentication:
        type: bearer
        token: $secrets.workday_token
      resources:
        - path: /learning/assignments
          operations:
            - id: assignLearning
              method: POST

Exports current headcount by department and cost center from Workday for Humana finance and workforce analytics reporting.

naftiko: "0.5"
info:
  label: "Workday Payroll Headcount Snapshot"
  description: "Exports current headcount by department and cost center from Workday for Humana finance and workforce analytics reporting."
  tags:
    - hr
    - finance
    - reporting
    - workday
capability:
  exposes:
    - type: mcp
      namespace: hr-reporting
      port: 8080
      tools:
        - name: get-headcount-by-department
          description: "Returns Humana's current headcount grouped by department and cost center from Workday. Use for monthly workforce planning, finance reviews, or regulatory staffing disclosures."
          call: "workday-hcm.get-headcount"
          outputParameters:
            - name: workers
              type: array
              mapping: "$.Report_Entry"
              items:
                - name: employee_id
                  type: string
                  mapping: "$.Employee_ID"
                - name: full_name
                  type: string
                  mapping: "$.Full_Name"
                - name: department
                  type: string
                  mapping: "$.Department"
                - name: cost_center
                  type: string
                  mapping: "$.Cost_Center"
                - name: employment_type
                  type: string
                  mapping: "$.Employment_Type"
  consumes:
    - type: http
      namespace: workday-hcm
      baseUri: "https://wd2-impl-services1.workday.com/ccx/api/v1"
      authentication:
        type: bearer
        token: "$secrets.workday_token"
      resources:
        - name: headcount-report
          path: "/humana/reports/headcount_by_department"
          operations:
            - name: get-headcount
              method: GET

Retrieves open job requisitions from Workday Recruiting for Humana and publishes a weekly status digest to the HR Confluence page.

naftiko: "0.5"
info:
  label: "Workday Recruiting Pipeline Digest"
  description: "Retrieves open job requisitions from Workday Recruiting for Humana and publishes a weekly status digest to the HR Confluence page."
  tags:
    - hr
    - recruiting
    - workday
    - confluence
    - reporting
capability:
  exposes:
    - type: mcp
      namespace: talent-ops
      port: 8080
      tools:
        - name: publish-recruiting-digest
          description: "Retrieve all open Humana job requisitions from Workday Recruiting, count openings by department, and publish a weekly summary to the HR Confluence space."
          inputParameters:
            - name: confluence_page_id
              in: body
              type: string
              description: "The Confluence page ID where the recruiting digest should be published."
          steps:
            - name: get-open-reqs
              type: call
              call: "workday-recruit.list-job-requisitions"
              with:
                status: "Open"
            - name: publish-page
              type: call
              call: "confluence-hr.update-page"
              with:
                page_id: "{{confluence_page_id}}"
                content: "Open Requisitions: {{get-open-reqs.total_count}}. By Department: {{get-open-reqs.by_department}}"
  consumes:
    - type: http
      namespace: workday-recruit
      baseUri: "https://wd2-impl-services1.workday.com/ccx/api/v1"
      authentication:
        type: bearer
        token: "$secrets.workday_token"
      resources:
        - name: job-requisitions
          path: "/humana/jobRequisitions"
          inputParameters:
            - name: status
              in: query
          operations:
            - name: list-job-requisitions
              method: GET
    - type: http
      namespace: confluence-hr
      baseUri: "https://humana.atlassian.net/wiki/rest/api"
      authentication:
        type: basic
        username: "$secrets.jira_user"
        password: "$secrets.jira_token"
      resources:
        - name: pages
          path: "/content/{{page_id}}"
          inputParameters:
            - name: page_id
              in: path
          operations:
            - name: update-page
              method: PUT

When a Humana employee's role changes in Workday, updates their Salesforce profile, adjusts Okta group memberships, and notifies the manager via Teams.

naftiko: "0.5"
info:
  label: "Workday Role Change Propagation"
  description: "When a Humana employee's role changes in Workday, updates their Salesforce profile, adjusts Okta group memberships, and notifies the manager via Teams."
  tags:
    - hr
    - identity
    - workday
    - okta
    - salesforce
    - microsoft-teams
capability:
  exposes:
    - type: mcp
      namespace: hr-role-change
      port: 8080
      tools:
        - name: propagate-role-change
          description: "Given a Workday employee ID and new role, update the Humana employee's Salesforce profile, adjust Okta group memberships for the new access level, and notify their manager via Microsoft Teams."
          inputParameters:
            - name: employee_id
              in: body
              type: string
              description: "The Workday worker ID of the Humana employee whose role changed."
            - name: new_role
              in: body
              type: string
              description: "The new job role or title as defined in Workday."
          steps:
            - name: get-employee
              type: call
              call: "workday-role.get-worker"
              with:
                worker_id: "{{employee_id}}"
            - name: update-salesforce-profile
              type: call
              call: "salesforce-role.update-user"
              with:
                user_id: "{{get-employee.salesforce_user_id}}"
                title: "{{new_role}}"
            - name: update-okta-groups
              type: call
              call: "okta-role.update-user-groups"
              with:
                user_id: "{{get-employee.okta_user_id}}"
                role: "{{new_role}}"
            - name: notify-manager
              type: call
              call: "msteams-role.send-message"
              with:
                recipient: "{{get-employee.manager_email}}"
                message: "{{get-employee.full_name}} has been updated to {{new_role}} in Salesforce and Okta."
  consumes:
    - type: http
      namespace: workday-role
      baseUri: "https://wd2-impl-services1.workday.com/ccx/api/v1"
      authentication:
        type: bearer
        token: "$secrets.workday_token"
      resources:
        - name: workers
          path: "/humana/workers/{{worker_id}}"
          inputParameters:
            - name: worker_id
              in: path
          operations:
            - name: get-worker
              method: GET
    - type: http
      namespace: salesforce-role
      baseUri: "https://humana.my.salesforce.com/services/data/v58.0"
      authentication:
        type: bearer
        token: "$secrets.salesforce_token"
      resources:
        - name: users
          path: "/sobjects/User/{{user_id}}"
          inputParameters:
            - name: user_id
              in: path
          operations:
            - name: update-user
              method: PATCH
    - type: http
      namespace: okta-role
      baseUri: "https://humana.okta.com/api/v1"
      authentication:
        type: apikey
        key: "Authorization"
        value: "$secrets.okta_token"
        placement: header
      resources:
        - name: user-groups
          path: "/users/{{user_id}}/groups"
          inputParameters:
            - name: user_id
              in: path
          operations:
            - name: update-user-groups
              method: PUT
    - type: http
      namespace: msteams-role
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: messages
          path: "/users/{{recipient}}/sendMail"
          inputParameters:
            - name: recipient
              in: path
          operations:
            - name: send-message
              method: POST

Retrieves a pending Humana employee time-off request from Workday, checks team coverage, and approves or escalates to manager.

naftiko: "0.5"
info:
  label: "Workday Time-Off Request Processing"
  description: "Retrieves a pending Humana employee time-off request from Workday, checks team coverage, and approves or escalates to manager."
  tags:
    - hr
    - absence-management
    - workday
    - approval
capability:
  exposes:
    - type: mcp
      namespace: absence-management
      port: 8080
      tools:
        - name: process-time-off-request
          description: "Given a Workday time-off request ID for a Humana employee, retrieve request details, check team coverage schedule, and auto-approve if coverage is adequate or escalate to manager for review."
          inputParameters:
            - name: request_id
              in: body
              type: string
              description: "The Workday absence request ID."
          steps:
            - name: get-request
              type: call
              call: "workday-absence.get-absence-request"
              with:
                request_id: "{{request_id}}"
            - name: check-coverage
              type: call
              call: "workday-team.get-team-schedule"
              with:
                cost_center: "{{get-request.cost_center}}"
                start_date: "{{get-request.start_date}}"
                end_date: "{{get-request.end_date}}"
            - name: approve-request
              type: call
              call: "workday-absence-approve.approve-absence"
              with:
                request_id: "{{request_id}}"
                decision: "approved"
  consumes:
    - type: http
      namespace: workday-absence
      baseUri: "https://wd2-impl-services1.workday.com/ccx/api/v1"
      authentication:
        type: bearer
        token: "$secrets.workday_token"
      resources:
        - name: absence-requests
          path: "/humana/absenceRequests/{{request_id}}"
          inputParameters:
            - name: request_id
              in: path
          operations:
            - name: get-absence-request
              method: GET
    - type: http
      namespace: workday-team
      baseUri: "https://wd2-impl-services1.workday.com/ccx/api/v1"
      authentication:
        type: bearer
        token: "$secrets.workday_token"
      resources:
        - name: team-schedule
          path: "/humana/teamSchedule"
          inputParameters:
            - name: cost_center
              in: query
            - name: start_date
              in: query
            - name: end_date
              in: query
          operations:
            - name: get-team-schedule
              method: GET
    - type: http
      namespace: workday-absence-approve
      baseUri: "https://wd2-impl-services1.workday.com/ccx/api/v1"
      authentication:
        type: bearer
        token: "$secrets.workday_token"
      resources:
        - name: absence-approvals
          path: "/humana/absenceRequests/{{request_id}}/approve"
          inputParameters:
            - name: request_id
              in: path
          operations:
            - name: approve-absence
              method: POST

Creates a Zoom meeting for a Humana Medicare Advantage group client briefing and sends calendar invites via Microsoft Graph to all account contacts.

naftiko: "0.5"
info:
  label: "Zoom Member Services Briefing Scheduler"
  description: "Creates a Zoom meeting for a Humana Medicare Advantage group client briefing and sends calendar invites via Microsoft Graph to all account contacts."
  tags:
    - sales
    - communication
    - zoom
    - salesforce
    - microsoft-365
    - medicare
capability:
  exposes:
    - type: mcp
      namespace: member-engagement
      port: 8080
      tools:
        - name: schedule-member-briefing
          description: "Given a Salesforce account ID and meeting time, create a Zoom meeting for a Humana Medicare Advantage group client briefing and send calendar invites to all account contacts via Microsoft Graph."
          inputParameters:
            - name: account_id
              in: body
              type: string
              description: "The Salesforce account ID for the Humana group client."
            - name: meeting_time
              in: body
              type: string
              description: "The meeting start time in ISO 8601 format."
            - name: duration_minutes
              in: body
              type: integer
              description: "Meeting duration in minutes."
          steps:
            - name: get-account
              type: call
              call: "salesforce-acct.get-account"
              with:
                account_id: "{{account_id}}"
            - name: create-meeting
              type: call
              call: "zoom.create-meeting"
              with:
                topic: "Humana Medicare Advantage Briefing — {{get-account.name}}"
                start_time: "{{meeting_time}}"
                duration: "{{duration_minutes}}"
            - name: send-invite
              type: call
              call: "msgraph-cal.create-event"
              with:
                subject: "Humana Medicare Advantage Briefing — {{get-account.name}}"
                start: "{{meeting_time}}"
                join_url: "{{create-meeting.join_url}}"
  consumes:
    - type: http
      namespace: salesforce-acct
      baseUri: "https://humana.my.salesforce.com/services/data/v58.0"
      authentication:
        type: bearer
        token: "$secrets.salesforce_token"
      resources:
        - name: accounts
          path: "/sobjects/Account/{{account_id}}"
          inputParameters:
            - name: account_id
              in: path
          operations:
            - name: get-account
              method: GET
    - type: http
      namespace: zoom
      baseUri: "https://api.zoom.us/v2"
      authentication:
        type: bearer
        token: "$secrets.zoom_token"
      resources:
        - name: meetings
          path: "/users/me/meetings"
          operations:
            - name: create-meeting
              method: POST
    - type: http
      namespace: msgraph-cal
      baseUri: "https://graph.microsoft.com/v1.0"
      authentication:
        type: bearer
        token: "$secrets.msgraph_token"
      resources:
        - name: events
          path: "/me/events"
          operations:
            - name: create-event
              method: POST