$productId, 'name' => 'Product '.$productId, 'region' => $region, 'price' => ('EU' === $region ? '€' : '$').(hexdec(substr(md5($productId), 0, 4)) / 100), ]; } #[McpResourceTemplate(uriTemplate: 'file://{path}/{filename}.{extension}')] public function getFileContent(string $path, string $filename, string $extension): string { return "Content of {$path}/{$filename}.{$extension}"; } }