naftiko: 1.0.0-alpha2 info: label: TiVo Video Metadata API — Lookup description: 'TiVo Video Metadata API — Lookup. 2 operations. Lead operation: Lookup Content By ID. Self-contained Naftiko capability covering one Tivo business surface.' tags: - Tivo - Lookup created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TIVO_API_KEY: TIVO_API_KEY capability: consumes: - type: http namespace: video-metadata-lookup baseUri: https://data.tivo.com description: TiVo Video Metadata API — Lookup business capability. Self-contained, no shared references. resources: - name: v3-content-contentId path: /v3/content/{contentId} operations: - name: lookupcontentbyid method: GET description: Lookup Content By ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contentId in: path type: string description: Content identifier (Rovi, TMDB, or EIDR format) required: true - name: idType in: query type: string description: Type of the provided identifier - name: include in: query type: string description: Comma-separated list of additional fields to include - name: language in: query type: string description: Language code for localized metadata (ISO 639-1) - name: v3-people-personId path: /v3/people/{personId} operations: - name: lookupperson method: GET description: Lookup Person outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: personId in: path type: string required: true - name: include in: query type: string description: Additional fields to include (credits, images, biography) - name: language in: query type: string authentication: type: bearer token: '{{env.TIVO_API_KEY}}' exposes: - type: rest namespace: video-metadata-lookup-rest port: 8080 description: REST adapter for TiVo Video Metadata API — Lookup. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/content/{contentid} name: v3-content-contentid description: REST surface for v3-content-contentId. operations: - method: GET name: lookupcontentbyid description: Lookup Content By ID call: video-metadata-lookup.lookupcontentbyid with: contentId: rest.contentId idType: rest.idType include: rest.include language: rest.language outputParameters: - type: object mapping: $. - path: /v1/v3/people/{personid} name: v3-people-personid description: REST surface for v3-people-personId. operations: - method: GET name: lookupperson description: Lookup Person call: video-metadata-lookup.lookupperson with: personId: rest.personId include: rest.include language: rest.language outputParameters: - type: object mapping: $. - type: mcp namespace: video-metadata-lookup-mcp port: 9090 transport: http description: MCP adapter for TiVo Video Metadata API — Lookup. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: lookup-content-id description: Lookup Content By ID hints: readOnly: true destructive: false idempotent: true call: video-metadata-lookup.lookupcontentbyid with: contentId: tools.contentId idType: tools.idType include: tools.include language: tools.language outputParameters: - type: object mapping: $. - name: lookup-person description: Lookup Person hints: readOnly: true destructive: false idempotent: true call: video-metadata-lookup.lookupperson with: personId: tools.personId include: tools.include language: tools.language outputParameters: - type: object mapping: $.