naftiko: 1.0.0-alpha2 info: label: Flickr API — Commons description: 'Photos — Commons. 1 operations. Lead operation: List Flickr Commons Institutions. Self-contained Naftiko capability covering one Flickr business surface.' tags: - Flickr - Photos - Commons created: '2026-05-30' modified: '2026-05-30' binds: - namespace: env keys: FLICKR_API_KEY: FLICKR_API_KEY capability: consumes: - type: http namespace: flickr-commons baseUri: https://api.flickr.com/services description: Flickr API — Commons business capability. Self-contained, no shared references. authentication: type: apikey key: api_key value: '{{env.FLICKR_API_KEY}}' placement: query resources: - name: rest-flickr-commons-getinstitutions path: /rest/flickr.commons.getInstitutions operations: - name: commonsGetInstitutions method: GET description: List Flickr Commons Institutions inputParameters: - name: api_key in: query type: string required: true description: Application API key. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: flickr-commons-rest port: 8080 description: REST adapter for Flickr API — Commons. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/commons/get-institutions name: rest-flickr-commons-getinstitutions description: REST surface for List Flickr Commons Institutions. operations: - method: GET name: commonsGetInstitutions description: List Flickr Commons Institutions call: flickr-commons.commonsGetInstitutions with: api_key: rest.api_key outputParameters: - type: object mapping: $. - type: mcp namespace: flickr-commons-mcp port: 9090 transport: http description: MCP adapter for Flickr API — Commons. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-flickr-commons-institutions description: List Flickr Commons Institutions hints: readOnly: true destructive: false idempotent: true call: flickr-commons.commonsGetInstitutions with: api_key: tools.api_key outputParameters: - type: object mapping: $.