Flickr · Capability

Flickr API — Machine Tags

Photos — Machine Tags. 1 operations. Lead operation: List Machine Tag Namespaces. Self-contained Naftiko capability covering one Flickr business surface.

Run with Naftiko FlickrPhotosMachine Tags

What You Can Do

GET
Machinetagsgetnamespaces — List Machine Tag Namespaces
/v1/machinetags/get-namespaces

MCP Tools

list-machine-tag-namespaces

List Machine Tag Namespaces

read-only idempotent

Capability Spec

flickr-machine-tags.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Flickr API — Machine Tags
  description: 'Photos — Machine Tags. 1 operations. Lead operation: List Machine Tag Namespaces. Self-contained Naftiko capability covering one Flickr business surface.'
  tags:
    - Flickr
    - Photos
    - Machine 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-machine-tags
      baseUri: https://api.flickr.com/services
      description: Flickr API — Machine 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-machinetags-getnamespaces
          path: /rest/flickr.machinetags.getNamespaces
          operations:
            - name: machinetagsGetNamespaces
              method: GET
              description: List Machine Tag Namespaces
              inputParameters:
                - name: api_key
                  in: query
                  type: string
                  required: true
                  description: Application API key.
                - name: page
                  in: query
                  type: integer
                  required: false
                  description: page
                - name: per_page
                  in: query
                  type: integer
                  required: false
                  description: per_page
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
  exposes:
    - type: rest
      namespace: flickr-machine-tags-rest
      port: 8080
      description: REST adapter for Flickr API — Machine Tags. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/machinetags/get-namespaces
          name: rest-flickr-machinetags-getnamespaces
          description: REST surface for List Machine Tag Namespaces.
          operations:
            - method: GET
              name: machinetagsGetNamespaces
              description: List Machine Tag Namespaces
              call: flickr-machine-tags.machinetagsGetNamespaces
              with:
                api_key: rest.api_key
                page: rest.page
                per_page: rest.per_page
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: flickr-machine-tags-mcp
      port: 9090
      transport: http
      description: MCP adapter for Flickr API — Machine Tags. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: list-machine-tag-namespaces
          description: List Machine Tag Namespaces
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: flickr-machine-tags.machinetagsGetNamespaces
          with:
            api_key: tools.api_key
            page: tools.page
            per_page: tools.per_page
          outputParameters:
            - type: object
              mapping: $.