Flickr · Capability

Flickr API — Interestingness

Photos — Interestingness. 1 operations. Lead operation: List Interesting Photos. Self-contained Naftiko capability covering one Flickr business surface.

Run with Naftiko FlickrPhotosInterestingness

What You Can Do

GET
Interestingnessgetlist — List Interesting Photos
/v1/interestingness/get-list

MCP Tools

list-interesting-photos

List Interesting Photos

read-only idempotent

Capability Spec

flickr-interestingness.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flickr API — Interestingness
  description: 'Photos — Interestingness. 1 operations. Lead operation: List Interesting Photos. Self-contained Naftiko capability covering one Flickr business surface.'
  tags:
    - Flickr
    - Photos
    - Interestingness
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
  - namespace: env
    keys:
      FLICKR_API_KEY: FLICKR_API_KEY
capability:
  consumes:
    - type: http
      namespace: flickr-interestingness
      baseUri: https://api.flickr.com/services
      description: Flickr API — Interestingness business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: api_key
        value: '{{env.FLICKR_API_KEY}}'
        placement: query
      resources:
        - name: rest-flickr-interestingness-getlist
          path: /rest/flickr.interestingness.getList
          operations:
            - name: interestingnessGetList
              method: GET
              description: List Interesting Photos
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: date
                  in: query
                  type: string
                  required: false
                  description: YYYY-MM-DD date.
                - name: page
                  in: query
                  type: integer
                  required: false
                  description: page
                - name: per_page
                  in: query
                  type: integer
                  required: false
                  description: per_page
                - name: extras
                  in: query
                  type: string
                  required: false
                  description: Comma-delimited list of extra fields (e.g. owner_name, url_o, geo).
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flickr-interestingness-rest
      port: 8080
      description: REST adapter for Flickr API — Interestingness. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/interestingness/get-list
          name: rest-flickr-interestingness-getlist
          description: REST surface for List Interesting Photos.
          operations:
            - method: GET
              name: interestingnessGetList
              description: List Interesting Photos
              call: flickr-interestingness.interestingnessGetList
              with:
                api_key: rest.api_key
                date: rest.date
                page: rest.page
                per_page: rest.per_page
                extras: rest.extras
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flickr-interestingness-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flickr API — Interestingness. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: list-interesting-photos
          description: List Interesting Photos
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-interestingness.interestingnessGetList
          with:
            api_key: tools.api_key
            date: tools.date
            page: tools.page
            per_page: tools.per_page
            extras: tools.extras
          outputParameters:
            - type: object
              mapping: $.