Flickr · Capability

Flickr API — Tags

Photos — Tags. 2 operations. Lead operation: List Currently Hot Tags. Self-contained Naftiko capability covering one Flickr business surface.

Run with Naftiko FlickrPhotosTags

What You Can Do

GET
Tagsgethotlist — List Currently Hot Tags
/v1/tags/get-hot-list
GET
Tagsgetclusters — Get Tag Clusters
/v1/tags/get-clusters

MCP Tools

list-currently-hot-tags

List Currently Hot Tags

read-only idempotent
get-tag-clusters

Get Tag Clusters

read-only idempotent

Capability Spec

flickr-tags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flickr API — Tags
  description: 'Photos — Tags. 2 operations. Lead operation: List Currently Hot Tags. Self-contained Naftiko capability covering one Flickr business surface.'
  tags:
    - Flickr
    - Photos
    - Tags
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
  - namespace: env
    keys:
      FLICKR_API_KEY: FLICKR_API_KEY
capability:
  consumes:
    - type: http
      namespace: flickr-tags
      baseUri: https://api.flickr.com/services
      description: Flickr API — Tags business capability. Self-contained, no shared references.
      authentication:
        type: apikey
        key: api_key
        value: '{{env.FLICKR_API_KEY}}'
        placement: query
      resources:
        - name: rest-flickr-tags-gethotlist
          path: /rest/flickr.tags.getHotList
          operations:
            - name: tagsGetHotList
              method: GET
              description: List Currently Hot Tags
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: period
                  in: query
                  type: string
                  required: false
                  description: period
                - name: count
                  in: query
                  type: integer
                  required: false
                  description: count
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
        - name: rest-flickr-tags-getclusters
          path: /rest/flickr.tags.getClusters
          operations:
            - name: tagsGetClusters
              method: GET
              description: Get Tag Clusters
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: tag
                  in: query
                  type: string
                  required: true
                  description: tag
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flickr-tags-rest
      port: 8080
      description: REST adapter for Flickr API — Tags. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/tags/get-hot-list
          name: rest-flickr-tags-gethotlist
          description: REST surface for List Currently Hot Tags.
          operations:
            - method: GET
              name: tagsGetHotList
              description: List Currently Hot Tags
              call: flickr-tags.tagsGetHotList
              with:
                api_key: rest.api_key
                period: rest.period
                count: rest.count
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/tags/get-clusters
          name: rest-flickr-tags-getclusters
          description: REST surface for Get Tag Clusters.
          operations:
            - method: GET
              name: tagsGetClusters
              description: Get Tag Clusters
              call: flickr-tags.tagsGetClusters
              with:
                api_key: rest.api_key
                tag: rest.tag
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flickr-tags-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flickr API — Tags. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: list-currently-hot-tags
          description: List Currently Hot Tags
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-tags.tagsGetHotList
          with:
            api_key: tools.api_key
            period: tools.period
            count: tools.count
          outputParameters:
            - type: object
              mapping: $.
        - name: get-tag-clusters
          description: Get Tag Clusters
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-tags.tagsGetClusters
          with:
            api_key: tools.api_key
            tag: tools.tag
          outputParameters:
            - type: object
              mapping: $.