Towers Watson · Capability

WTW HR Portal — Benefits

WTW HR Portal — Benefits. 1 operations. Lead operation: Get Employee Benefits. Self-contained Naftiko capability covering one Towers Watson business surface.

Run with Naftiko Towers WatsonBenefits

What You Can Do

GET
Getemployeebenefits — Get Employee Benefits
/v1/employees/{employeeid}/benefits

MCP Tools

get-employee-benefits

Get Employee Benefits

read-only idempotent

Capability Spec

wtw-hr-portal-benefits.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WTW HR Portal — Benefits
  description: 'WTW HR Portal — Benefits. 1 operations. Lead operation: Get Employee Benefits. Self-contained Naftiko capability
    covering one Towers Watson business surface.'
  tags:
  - Towers Watson
  - Benefits
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TOWERS_WATSON_API_KEY: TOWERS_WATSON_API_KEY
capability:
  consumes:
  - type: http
    namespace: wtw-hr-portal-benefits
    baseUri: https://api.wtwco.com/hrportal/v1
    description: WTW HR Portal — Benefits business capability. Self-contained, no shared references.
    resources:
    - name: employees-employeeId-benefits
      path: /employees/{employeeId}/benefits
      operations:
      - name: getemployeebenefits
        method: GET
        description: Get Employee Benefits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: employeeId
          in: path
          type: string
          required: true
        - name: planYear
          in: query
          type: integer
          description: Benefits plan year
    authentication:
      type: bearer
      token: '{{env.TOWERS_WATSON_API_KEY}}'
  exposes:
  - type: rest
    namespace: wtw-hr-portal-benefits-rest
    port: 8080
    description: REST adapter for WTW HR Portal — Benefits. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/employees/{employeeid}/benefits
      name: employees-employeeid-benefits
      description: REST surface for employees-employeeId-benefits.
      operations:
      - method: GET
        name: getemployeebenefits
        description: Get Employee Benefits
        call: wtw-hr-portal-benefits.getemployeebenefits
        with:
          employeeId: rest.employeeId
          planYear: rest.planYear
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: wtw-hr-portal-benefits-mcp
    port: 9090
    transport: http
    description: MCP adapter for WTW HR Portal — Benefits. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-employee-benefits
      description: Get Employee Benefits
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: wtw-hr-portal-benefits.getemployeebenefits
      with:
        employeeId: tools.employeeId
        planYear: tools.planYear
      outputParameters:
      - type: object
        mapping: $.