VA Facilities API — Services

VA Facilities API — Services. 1 operations. Lead operation: List services offered by a facility. Self-contained Naftiko capability covering one Department Of Veterans Affairs business surface.

Run with Naftiko Department Of Veterans AffairsServices

What You Can Do

GET
Getfacilityservices — List services offered by a facility
/v1/facilities/{id}/services

MCP Tools

list-services-offered-facility

List services offered by a facility

read-only idempotent

Capability Spec

va-facilities-services.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: VA Facilities API — Services
  description: 'VA Facilities API — Services. 1 operations. Lead operation: List services offered by a facility. Self-contained
    Naftiko capability covering one Department Of Veterans Affairs business surface.'
  tags:
  - Department Of Veterans Affairs
  - Services
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEPARTMENT_OF_VETERANS_AFFAIRS_API_KEY: DEPARTMENT_OF_VETERANS_AFFAIRS_API_KEY
capability:
  consumes:
  - type: http
    namespace: va-facilities-services
    baseUri: https://sandbox-api.va.gov/services/va_facilities/v1
    description: VA Facilities API — Services business capability. Self-contained, no shared references.
    resources:
    - name: facilities-id-services
      path: /facilities/{id}/services
      operations:
      - name: getfacilityservices
        method: GET
        description: List services offered by a facility
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: apikey
      value: '{{env.DEPARTMENT_OF_VETERANS_AFFAIRS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: va-facilities-services-rest
    port: 8080
    description: REST adapter for VA Facilities API — Services. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/facilities/{id}/services
      name: facilities-id-services
      description: REST surface for facilities-id-services.
      operations:
      - method: GET
        name: getfacilityservices
        description: List services offered by a facility
        call: va-facilities-services.getfacilityservices
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: va-facilities-services-mcp
    port: 9090
    transport: http
    description: MCP adapter for VA Facilities API — Services. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-services-offered-facility
      description: List services offered by a facility
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: va-facilities-services.getfacilityservices
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.