StackOne · Capability

Marketing — Locations

Marketing — Locations. 4 operations. Lead operation: List locations. Self-contained Naftiko capability covering one Stackone business surface.

Run with Naftiko StackoneLocations

What You Can Do

GET
Atslistlocations — List locations
/v1/unified/ats/locations
GET
Atsgetlocation — Get Location
/v1/unified/ats/locations/{id}
GET
Hrislistlocations — List locations
/v1/unified/hris/locations
GET
Hrisgetlocation — Get Location
/v1/unified/hris/locations/{id}

MCP Tools

list-locations

List locations

read-only idempotent
get-location

Get Location

read-only idempotent
list-locations-2

List locations

read-only idempotent
get-location-2

Get Location

read-only idempotent

Capability Spec

stackone-locations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Marketing — Locations
  description: 'Marketing — Locations. 4 operations. Lead operation: List locations. Self-contained Naftiko capability covering
    one Stackone business surface.'
  tags:
  - Stackone
  - Locations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    STACKONE_API_KEY: STACKONE_API_KEY
capability:
  consumes:
  - type: http
    namespace: stackone-locations
    baseUri: https://api.stackone.com
    description: Marketing — Locations business capability. Self-contained, no shared references.
    resources:
    - name: unified-ats-locations
      path: /unified/ats/locations
      operations:
      - name: atslistlocations
        method: GET
        description: List locations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: string
          description: The page number of the results to fetch
        - name: page_size
          in: query
          type: string
          description: The number of results per page
        - name: raw
          in: query
          type: boolean
          description: Indicates that the raw request result is returned
        - name: fields
          in: query
          type: string
          description: The comma separated list of fields to return in the response (if empty, all fields are returned)
        - name: sync_token
          in: query
          type: string
          description: The sync token to select the only updated results
        - name: updated_after
          in: query
          type: string
          description: Use a string with a date to only select results updated after that given date
        - name: proxy
          in: query
          type: object
          description: Query parameters that can be used to pass through parameters to the underlying provider request by
            surrounding them with "proxy" key
        - name: x-account-id
          in: header
          type: string
          description: The account identifier
          required: true
    - name: unified-ats-locations-id
      path: /unified/ats/locations/{id}
      operations:
      - name: atsgetlocation
        method: GET
        description: Get Location
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: page
          in: query
          type: string
          description: The page number of the results to fetch
        - name: page_size
          in: query
          type: string
          description: The number of results per page
        - name: raw
          in: query
          type: boolean
          description: Indicates that the raw request result is returned
        - name: fields
          in: query
          type: string
          description: The comma separated list of fields to return in the response (if empty, all fields are returned)
        - name: sync_token
          in: query
          type: string
          description: The sync token to select the only updated results
        - name: updated_after
          in: query
          type: string
          description: Use a string with a date to only select results updated after that given date
        - name: proxy
          in: query
          type: object
          description: Query parameters that can be used to pass through parameters to the underlying provider request by
            surrounding them with "proxy" key
        - name: x-account-id
          in: header
          type: string
          description: The account identifier
          required: true
    - name: unified-hris-locations
      path: /unified/hris/locations
      operations:
      - name: hrislistlocations
        method: GET
        description: List locations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: page
          in: query
          type: string
          description: The page number of the results to fetch
        - name: page_size
          in: query
          type: string
          description: The number of results per page
        - name: raw
          in: query
          type: boolean
          description: Indicates that the raw request result is returned
        - name: fields
          in: query
          type: string
          description: The comma separated list of fields to return in the response (if empty, all fields are returned)
        - name: sync_token
          in: query
          type: string
          description: The sync token to select the only updated results
        - name: updated_after
          in: query
          type: string
          description: Use a string with a date to only select results updated after that given date
        - name: proxy
          in: query
          type: object
          description: Query parameters that can be used to pass through parameters to the underlying provider request by
            surrounding them with "proxy" key
        - name: x-account-id
          in: header
          type: string
          description: The account identifier
          required: true
    - name: unified-hris-locations-id
      path: /unified/hris/locations/{id}
      operations:
      - name: hrisgetlocation
        method: GET
        description: Get Location
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: page
          in: query
          type: string
          description: The page number of the results to fetch
        - name: page_size
          in: query
          type: string
          description: The number of results per page
        - name: raw
          in: query
          type: boolean
          description: Indicates that the raw request result is returned
        - name: fields
          in: query
          type: string
          description: The comma separated list of fields to return in the response (if empty, all fields are returned)
        - name: sync_token
          in: query
          type: string
          description: The sync token to select the only updated results
        - name: updated_after
          in: query
          type: string
          description: Use a string with a date to only select results updated after that given date
        - name: proxy
          in: query
          type: object
          description: Query parameters that can be used to pass through parameters to the underlying provider request by
            surrounding them with "proxy" key
        - name: x-account-id
          in: header
          type: string
          description: The account identifier
          required: true
    authentication:
      type: basic
      username: '{{env.STACKONE_USER}}'
      password: '{{env.STACKONE_PASS}}'
  exposes:
  - type: rest
    namespace: stackone-locations-rest
    port: 8080
    description: REST adapter for Marketing — Locations. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/unified/ats/locations
      name: unified-ats-locations
      description: REST surface for unified-ats-locations.
      operations:
      - method: GET
        name: atslistlocations
        description: List locations
        call: stackone-locations.atslistlocations
        with:
          page: rest.page
          page_size: rest.page_size
          raw: rest.raw
          fields: rest.fields
          sync_token: rest.sync_token
          updated_after: rest.updated_after
          proxy: rest.proxy
          x-account-id: rest.x-account-id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/unified/ats/locations/{id}
      name: unified-ats-locations-id
      description: REST surface for unified-ats-locations-id.
      operations:
      - method: GET
        name: atsgetlocation
        description: Get Location
        call: stackone-locations.atsgetlocation
        with:
          id: rest.id
          page: rest.page
          page_size: rest.page_size
          raw: rest.raw
          fields: rest.fields
          sync_token: rest.sync_token
          updated_after: rest.updated_after
          proxy: rest.proxy
          x-account-id: rest.x-account-id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/unified/hris/locations
      name: unified-hris-locations
      description: REST surface for unified-hris-locations.
      operations:
      - method: GET
        name: hrislistlocations
        description: List locations
        call: stackone-locations.hrislistlocations
        with:
          page: rest.page
          page_size: rest.page_size
          raw: rest.raw
          fields: rest.fields
          sync_token: rest.sync_token
          updated_after: rest.updated_after
          proxy: rest.proxy
          x-account-id: rest.x-account-id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/unified/hris/locations/{id}
      name: unified-hris-locations-id
      description: REST surface for unified-hris-locations-id.
      operations:
      - method: GET
        name: hrisgetlocation
        description: Get Location
        call: stackone-locations.hrisgetlocation
        with:
          id: rest.id
          page: rest.page
          page_size: rest.page_size
          raw: rest.raw
          fields: rest.fields
          sync_token: rest.sync_token
          updated_after: rest.updated_after
          proxy: rest.proxy
          x-account-id: rest.x-account-id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: stackone-locations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Marketing — Locations. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: list-locations
      description: List locations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stackone-locations.atslistlocations
      with:
        page: tools.page
        page_size: tools.page_size
        raw: tools.raw
        fields: tools.fields
        sync_token: tools.sync_token
        updated_after: tools.updated_after
        proxy: tools.proxy
        x-account-id: tools.x-account-id
      outputParameters:
      - type: object
        mapping: $.
    - name: get-location
      description: Get Location
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stackone-locations.atsgetlocation
      with:
        id: tools.id
        page: tools.page
        page_size: tools.page_size
        raw: tools.raw
        fields: tools.fields
        sync_token: tools.sync_token
        updated_after: tools.updated_after
        proxy: tools.proxy
        x-account-id: tools.x-account-id
      outputParameters:
      - type: object
        mapping: $.
    - name: list-locations-2
      description: List locations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stackone-locations.hrislistlocations
      with:
        page: tools.page
        page_size: tools.page_size
        raw: tools.raw
        fields: tools.fields
        sync_token: tools.sync_token
        updated_after: tools.updated_after
        proxy: tools.proxy
        x-account-id: tools.x-account-id
      outputParameters:
      - type: object
        mapping: $.
    - name: get-location-2
      description: Get Location
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: stackone-locations.hrisgetlocation
      with:
        id: tools.id
        page: tools.page
        page_size: tools.page_size
        raw: tools.raw
        fields: tools.fields
        sync_token: tools.sync_token
        updated_after: tools.updated_after
        proxy: tools.proxy
        x-account-id: tools.x-account-id
      outputParameters:
      - type: object
        mapping: $.